那么多问题的答案,只有一个适合自己
Jupyter notebook (2017.9)
终端安装了scipy包,notebook无法导入
[Anaconda3] C:\Users\me>python
Python 3.5.1 |Anaconda 4.0.0 (64-bit)| (default, Feb 16 2016, 09:49:46) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import scipy
>>>
报错
ImportError Traceback (most recent call last)
<ipython-input-3-4dc45f4c0083> in <module>()
----> 1 import scipy
ImportError: No module named 'scipy'
解决方法:终端(手动)输入
$ /Users/abc/anaconda/bin/python -m pip install ipykernel
$ /Users/abc/anaconda/bin/python -m ipykernel install
网友评论