我已经使用了很长一段时间的熊猫,并希望使用此功能。意识到我在之前的版本中,我在命令行中键入了<md-nav-item md-nav-href="#/holzbau" name="page1">Holzbau</md-nav-item>
<md-nav-item md-nav-href="#/dach" name="page2">Dach</md-nav-item>
<md-nav-item md-nav-href="#/fassade" name="page3">Fassade</md-nav-item>
<md-nav-item md-nav-href="#/erhaltUndEnergie" name="page4">Erhalt und Energie</md-nav-item>
。
现在,当我进入python并尝试导入pandas时,我看到以下内容:
conda update pandas
如果我只是尝试导入numpy,我会看到:
C:\Users\%USER%>python
Python 2.7.10 |Continuum Analytics, Inc.| (default, May 28 2015, 17:02:00) [MSC
v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://binstar.org
>>> import pandas as pd
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\%USER%\Miniconda\lib\site-packages\pandas\__init__.py", l
ine 18, in <module>
raise ImportError("Missing required dependencies {0}".format(missing_depende
ncies))
ImportError: Missing required dependencies ['numpy']
>>>
直到这个conda更新,这才能完美运行。有没有人经历过这个?
答案 0 :(得分:0)
谢天谢地,conda了解修订。
C:\>conda list --revisions
将为您提供修订清单。找到最近爆发之前的那个。
对我来说这是修订版6,所以我输入了:
C:\>conda install --revision 6
我又回来了!