'Do I have to install libraries again on Jupyter if I already have it on python?

I have been using python traditionally(in text editors) and now I am moving on to Jupyter. When I try to import libraries, I get errors. For importing numpy, I do

Import numpy

but I get error

No module named 'numpy'

but I have this library on my system So do I have to install numpy on Jupyter again?



Solution 1:[1]

Please check have you installed the library in same python repo which your Jupiter is referring. Also please try to create virtual environments it is quite better to maintain for each project.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Shah Muhammad Talha Tahir