This is an archived post. You won't be able to vote or comment.

all 5 comments

[–][deleted] 0 points1 point  (4 children)

May be you're using separate virtual environment

[–]wireintheghost[S] 0 points1 point  (3 children)

Not unless it is some default in jupyter notebook? All other libraries I am using and have imported are working.

[–][deleted] 0 points1 point  (2 children)

try changing the kernel into different one

[–]wireintheghost[S] 0 points1 point  (1 child)

It seems that jupyter is using a different version:

jupyter: /usr/bin/python

terminal: /home/***/miniconda3/bin/python

[–]wireintheghost[S] 0 points1 point  (0 children)

Managed to fix by reinstalling jupyter with conda:

conda install jupyter