简体   繁体   中英

Installing python 3 package on Jupyter Notebook

在此处输入图片说明

I try to install seaborn using !pip install seaborn and !conda install seaborn but both install the python 2.7 version and I need the python 3.5 version. I use !pip3 install seaborn , it says that:

'pip3' is not recognized as an internal or external command

What should I do to install that?

I guess this will work

sudo apt-get install python3-pip

and after that you can use pip3 to install seaborn

!pip3 install --user seaborn

这将起作用。

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