我最近按照本指南安装了pyo:Downloading和Compiling。然后我在python上尝试了import pyo
但是这个出现了
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import pyo
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyo.py", line 21, in <module>
import pyolib.analysis as analysis
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyolib/analysis.py", line 30, in <module>
from _core import *
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyolib/_core.py", line 32, in <module>
from _pyo import *
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/_pyo.so, 2): Symbol not found: _Pm_Close
Referenced from: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/_pyo.so
Expected in: dynamic lookup
我该怎么办?我是初学者,如果你需要其他信息,请告诉我。
答案 0 :(得分:0)
找到解决方案:使用安装程序,没有别的。不过,我不知道为什么它不起作用。