我正在尝试学习机器学习,但我无法解决以下错误.
[我的环境]
[命令]
$ python3 -c "import jupyter, matplotlib, numpy, pandas, scipy, sklearn"
Run Code Online (Sandbox Code Playgroud)
[错误]
RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb
Traceback (most recent call last):
File "/Users/uekyo/ml/env/lib/python3.4/site-packages/pandas/__init__.py", line 26, in <module>
from pandas._libs import (hashtable as _hashtable,
File "/Users/uekyo/ml/env/lib/python3.4/site-packages/pandas/_libs/__init__.py", line 4, in <module>
from .tslib import iNaT, NaT, Timestamp, Timedelta, OutOfBoundsDatetime
File "pandas/_libs/tslib.pyx", line 1, in init pandas._libs.tslib
ImportError: numpy.core.multiarray failed to import
During handling of …Run Code Online (Sandbox Code Playgroud)