python找不到解释器_PyDev Eclipse Python解释器错误:找不到stdlib

我一直试图使用Eclipse 3.6作为Python编辑器。

我安装最新版本的PyDev,然后尝试设置解释器 – Python字段的首选项,在我的mac。

我的python版本是2.6,路径是“/ usr / bin / python”。当我进入这个,我选择要添加到系统PYTHONPATH的项目,我得到以下错误信息:

Error: Python stdlib not found

It seems that the Python /Lib folder (which contains the standard

library) was not found /selected during the instal process.

This folder (which contains files such as threading.py and

traceback.py) is required for PyDev to function properly (and it must

contain the actual source files, not only .pyc files) …

所以我不能告诉eclipse的解释器路径!

任何帮助将是伟大的!

(我试着重新安装PyDev已经没有运气)

谢谢!

按照Praveen的答案,我的python库在/library/python/2.6/site-packages。当我将/ usr / bin / python输入到解释器字段时,eclipse会询问我要添加到我的系统PYTHONPATH中的路径。其中一个复选框项就是该路径。所以我检查它,连同其他框。单击确定,我得到相同的错误。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值