Pycharm更换python解释器的方法

时间:2022-11-11 09:25:02

安装了pycharm之后有一个新装的python解释器,顶替了之前系统的python

那样的话,原来利用pip安装的一些库会无法import.

要么加入环境变量,要么更换运行的解释器:

Mac

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

Windows

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

以上这篇Pycharm更换python解释器的方法就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持服务器之家。

原文链接:https://blog.csdn.net/qq_33826977/article/details/79938710