BuJay
BuJay

Reputation: 127

unable to import installed package in jupyter

I have installed the package "vincent" as illustrated below.

enter image description here

However, I can't import it in Jupyter (and I don't understand the explanations elsewhere in Stackoverflow, so I figured I'd ask again.

enter image description here

Upvotes: 1

Views: 228

Answers (2)

siddharth ranjan
siddharth ranjan

Reputation: 113

You could install packages on Jupyter using following commands:

import sys
!{sys.executable} -m pip install vincent

Or you could install using following code

%%sh
http_proxy=http://10.245.5.340:8080  //change to your proxy localhost address
export http_proxy
https_proxy=https://10.245.5.340:8080 //change to your proxy localhost address
export https_proxy
pip install vincent

Upvotes: 1

Red
Red

Reputation: 27577

It could mean that you installed vincent into a python editor that is not jupyter. Check to see if you have another python editor that has vincent installed in it.


UPDATE:

Here are the steps:

  1. Launched Anaconda Prompt

  2. Executed this statement: conda install -c conda-forge vincent


Be careful when using the base environment for anything. From the documentation:

Do not install, update, remove, or change dependencies.
This WILL lead to broken environments and inconsistent behavior.
Use at your own risk.

Upvotes: 0

Related Questions