安装了pycharm之后有一个新装的python解释器,顶替了之前系统的python
那样的话,原来利用pip安装的一些库会无法import.
要么加入环境变量,要么更换运行的解释器:
Mac
PyCharm > Preferences... > Project Interpreter > Python Interpreters
Windows
File->Default Settings...->Project Interpreter
安装了pycharm之后有一个新装的python解释器,顶替了之前系统的python
那样的话,原来利用pip安装的一些库会无法import.
要么加入环境变量,要么更换运行的解释器:
Mac
PyCharm > Preferences... > Project Interpreter > Python Interpreters
Windows
File->Default Settings...->Project Interpreter