ubuntu下使用pycharm显示no python interpreter selected,

pycharm中显示no python interpreter selected,ubuntu自带了python,但是需要自己在pycharm中引入进来。

解决方法是:

1.选择File->setting->点击project三角->Project interpreter

2.点击project interpreter右侧的设置键标->add local->选择System interpreter->base interpreter中选择python2.7或者3.5

之后就可以在project interpreter框中选择需要的版本,新建project时也能用选择的python版本新建。

猜你喜欢

转载自blog.csdn.net/maqunfi/article/details/79724437
今日推荐