import scipy小问题

那么多问题的答案,只有一个适合自己

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)
 in ()
----> 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

你可能感兴趣的:(import scipy小问题)