安装python开发环境(eclipse+pydev):

下载JDK--->配置JDK环境变量--->安装eclipse--->安装python--->配置path环境变量--->配置开发环境

新建Python工程时,提示如下错误:Project interpreter not specified,如下图:

Python开发环境安装及Project interpreter not specified问题解决

Python开发环境安装及Project interpreter not specified问题解决

             此问题是没有导入Python的开发环境导致的。

解决方法:

首先已经安装了Python,因为Eclipse仅仅是提供一个IDE而已,并不提供各种语言的解释器、编译器等。

然后执行下面操作:

1、从Eclipse的菜单 Window --> Preferences 打开首选项配置;

Python开发环境安装及Project interpreter not specified问题解决

Python开发环境安装及Project interpreter not specified问题解决

2、首选项配置页面,找到左边的PyDev项展开,点击Interpreters - PythonInterpreter项(Interpreter是解释器的意思);

Python开发环境安装及Project interpreter not specified问题解决

Python开发环境安装及Project interpreter not specified问题解决

3、然后点击右侧的 New... 按钮,Interpreter Name 不填写,为空也问题,选择python.exe的安装位置,然后等待导入完成,问题解决;

Python开发环境安装及Project interpreter not specified问题解决

相关文章:

  • 2022-01-22
  • 2022-12-23
  • 2021-12-21
  • 2021-08-27
  • 2021-09-17
  • 2021-08-06
  • 2023-02-13
  • 2021-07-15
猜你喜欢
  • 2022-01-05
  • 2021-08-30
  • 2022-12-23
  • 2021-08-03
相关资源
相似解决方案