简体   繁体   中英

How to install python packages for use in a jupyter notebook kernel?

I installed Python 3 kernel using the following commands

conda create -n py35 python=3.5 ipykernel
source activate py35
python -m ipykernel install –user –name py35 –display-name “Python 3”

When I import numpy in a python 3 notebook, I get ImportError: No module named numpy . How can I fix this problem?

conda create -n py35 python=3.5 ipykernel
source activate py35
pip install numpy

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM