PyCharm 5.0.1 doesn#39;t resolve builtin modules / methods(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 不解析内置模块/方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:PyCharm 5.0.1 不解析内置模块/方法


基础教程推荐
- 修改列表中的数据帧不起作用 2022-01-01
- 包装空间模型 2022-01-01
- 使用大型矩阵时禁止 Pycharm 输出中的自动换行符 2022-01-01
- 求两个直方图的卷积 2022-01-01
- Plotly:如何设置绘图图形的样式,使其不显示缺失日期的间隙? 2022-01-01
- 无法导入 Pytorch [WinError 126] 找不到指定的模块 2022-01-01
- PermissionError: pip 从 8.1.1 升级到 8.1.2 2022-01-01
- PANDA VALUE_COUNTS包含GROUP BY之前的所有值 2022-01-01
- 在Python中从Azure BLOB存储中读取文件 2022-01-01
- 在同一图形上绘制Bokeh的烛台和音量条 2022-01-01