我正在使用Python 2.7在macOS Sierra上运行Anaconda。我希望能够运行spykeviewer https://anaconda.org/pypi/spykeviewer
然而我一直收到这个错误:
*Traceback (most recent call last):
File "/Users/becky/anaconda/envs/spykeviewer-en/bin/spykeviewer", line 11, in <module>
sys.exit(main())
File "/Users/becky/anaconda/envs/spykeviewer-en/lib/python2.7/site-packages/spykeviewer/start.py", line 42, in main
from ui.main_window_neo import MainWindowNeo
File "/Users/becky/anaconda/envs/spykeviewer-en/lib/python2.7/site-packages/spykeviewer/ui/main_window_neo.py", line 16, in <module>
from spyderlib.widgets.variableexplorer.collectionseditor import \
ImportError: No module named spyderlib.widgets.variableexplorer.collectionseditor*
我已经下载了所有依赖包,并且我重新安装了spyder,因为错误似乎指向了这个模块,但我仍然遇到相同的导入错误。
以下是我安装不同软件包的方法:
conda install pyqt=4
conda install scipy
conda install gdata
conda install matplotlib
conda install pytables
conda install spyder
tables already installed in the environment
from terminal -> into guidata folder -> python setup.py install
from terminal -> into quiqwt -> python setup.py install
both are then in root —> open terminal in spykeviewer-en —> pip install guidata
condo install cython
pip install guiqwt
pip install neo
pip install spykeutils
pip install spykeviewerenter