PyCharm 5.0.1 不解析内置模块/方法 [英] PyCharm 5.0.1 doesn't resolve builtin modules / methods

查看:25
本文介绍了PyCharm 5.0.1 不解析内置模块/方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 PyCharm 5.0.1 安装无法解析对任何内置模块或方法的引用:

My PyCharm 5.0.1 installation does not resolve references to any builtin modules or methods:

如您所见,我已经在 cygwin 上安装了 python.

As you can see, I have installed python over cygwin.

我已经试过了:

  • 重新安装/更新 python 安装(从 2.7.9 到 2.7.10)
  • 重新安装pycharm
  • 向pycharm安装目录中的python-skeletons添加解释器路径(IDE在保存设置时立即将其删除,暗示它已经嵌入)
  • 删除解释器(这会删除警告,但也会删除代码完成,并且 import asdflkjasd 也是有效的)
  • 将/lib/python2.7/site-packages/等各种路径添加到解释器包选项

这些都没有改善情况.如何在不安装 cygwin 之外的情况下解决此问题?

None of these improved the situation. How can I fix this without installation outside of cygwin alltogether?

推荐答案

我使用 Windows 10 x64、Python 3.5.1 和 PyCharm Community Edition 2016.1.4

我遇到了同样的问题,并通过在管理员模式下运行 PyCharm 解决了它(只需要一次).

I have the same problem and sovled it by runnig PyCharm in admin mode (it is required only once).

这篇关于PyCharm 5.0.1 不解析内置模块/方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆