我无法启动spyder(我已经安装了Anaconda 64位版python 3.5)。当我在cmd中运行spyder或spyder.exe时,我看到spyder的绿色标识,但事后没有任何反应,除了我收到错误消息:
(C:\Program Files\Anaconda3) C:\WINDOWS\system32>spyder
Traceback (most recent call last):
File "C:\Program Files\Anaconda3\Scripts\spyder-script.py", line 5, in <module>
sys.exit(spyder.app.start.main())
File "C:\Program Files\Anaconda3\lib\site-packages\spyder\app\start.py", line 103, in main
from spyder.app import mainwindow
File "C:\Program Files\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 154, in <module>
from spyder.utils.environ import WinUserEnvDialog
File "C:\Program Files\Anaconda3\lib\site-packages\spyder\utils\environ.py", line 20, in <module>
from spyder.widgets.variableexplorer.collectionseditor import CollectionsEditor
File "C:\Program Files\Anaconda3\lib\site-packages\spyder\widgets\variableexplorer\collectionseditor.py", line 45, in <module>
from spyder.widgets.variableexplorer.importwizard import ImportWizard
File "C:\Program Files\Anaconda3\lib\site-packages\spyder\widgets\variableexplorer\importwizard.py", line 26, in <module>
import pandas as pd
File "C:\Program Files\Anaconda3\lib\site-packages\pandas\__init__.py", line 37, in <module>
import pandas.core.config_init
File "C:\Program Files\Anaconda3\lib\site-packages\pandas\core\config_init.py", line 14, in <module>
import pandas.core.config as cf
AttributeError: module 'pandas' has no attribute 'core'
我正在运行Win 10 Pro 64位
答案 0 :(得分:-1)
如果您想直接安装Spyder,您需要按照以下步骤操作:
安装基本要求:
Python2.7 +或3.4+
PyQt5(推荐)或PyQt4
运行此命令安装Spyder及其依赖项:
pip install spyder
如需更多信息,请阅读:https://docs.continuum.io/anaconda/ide_integration