擅长:python、mysql、java
<p>这与不兼容无关。正如@Peter提到的,你根本没有NumPy,应该通过水蟒来安装。以下是pandas中的代码,该代码会导致错误:</p>
<pre><code># Let users know if they're missing any of our hard dependencies
hard_dependencies = ("numpy", "pytz", "dateutil")
missing_dependencies = []
for dependency in hard_dependencies:
try:
__import__(dependency)
except ImportError as e:
missing_dependencies.append(dependency)
if missing_dependencies:
raise ImportError("Missing required dependencies {0}".format(missing_dependencies))
del hard_dependencies, dependency, missing_dependencies
</code></pre>
<p>注意这里没有关于版本的内容。</p>