Pycharm to replace the python interpreter

  • 2021-01-18 06:33:19
  • OfStack

With pycharm installed, there is a new python interpreter, which replaces python on the previous system

In that case, some libraries originally installed using pip will not be able to use import.

Either add an environment variable or change the running interpreter:

Mac

PyCharm > Preferences... > Project Interpreter > Python Interpreters

Windows

File- > Default Settings...- > Project Interpreter


Related articles: