Pycharm更换python解释器的方法
时间:2021-01-30 10:22:26|栏目:Python代码|点击: 次
安装了pycharm之后有一个新装的python解释器,顶替了之前系统的python
那样的话,原来利用pip安装的一些库会无法import.
要么加入环境变量,要么更换运行的解释器:
Mac
PyCharm > Preferences... > Project Interpreter > Python Interpreters
Windows
File->Default Settings...->Project Interpreter






