问题
I have python project within a virtualenv. I opened it in pycharm.
Later i have installed some packages using pip from inside the virtualenv but not from pycharm rather from the commandline directly.
But in pycharm > settings > python interpreter : it does not show the package which i just installed from outside pycharm.
I tried to select another interpreter and come back, still its not showing the package installed from outside pycharm.
I have restarted pycharm still no luck.
Any idea how to refresh python packages inside pycharm
回答1:
Try Settings | Project ... | Project Interpreter | Gear button | Show all | Show paths for the selected interpreter | Reload list of paths:
来源:https://stackoverflow.com/questions/51870036/force-refresh-of-external-libraries-not-working