- If you go to pycharm project interpreter -> clicked on one of the installed package then hover -> you will see where pycharm is installing the packages. This is where you are supposed to have your package installed.
If you go to
pycharm
project interpreter -> clicked on one of the installed packages then hover -> you will see wherepycharm
is installing the packages. This is where you are supposed to have your package installed. Now if you did
sudo -H pip3 install <package>
pip3 installs it to different directory which is/usr/local/lib/site-packages
2.now if you did sudo -H pip3 install pip3 installs it to different directory which is /usr/local/lib/site-packages
since it is different directory from what pycharmpycharm
knows hence your package is not showing in pycharmpycharm
.
Solution: just install the package using pycharmpycharm
by going to File->Settings->Project->Project Interpreter -> click on (+) and search the package you want to install and just click ok.
-> you will be prompted package successfully installed and you will see it pycharmpycharm
.