Intellij Python不从.pydevproject导入 [英] Intellij Python does not import from .pydevproject
本文介绍了Intellij Python不从.pydevproject导入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
PyDev eclipse插件创建两个文件 .project
文件和 .pydevproject
文件。 .pydevproject
文件包含所有库引用。基本上我将所有依赖项列为
PyDev eclipse plugin creates two files a .project
file and a .pydevproject
file. The .pydevproject
file contains all library references. Basically I list all my dependencies as
....
<path>\\basedir\nose\1.1.2-py27\lib</path>
<path>\\basedir\jenkinsapi\0.1.9\lib\jenkinsapi-0.1.9-py2.7.egg</path>
....
不幸的是,Intellij不会从.pydevproject导入这些库。
Unfortunately Intellij won't import these libraries from .pydevproject.
问题:
- 我该怎么强迫这个?
- 我有基于字符串的依赖项,我可以为IntelliJ输入它们,但我需要编辑哪个文件以及在哪里放这个?
- 另外怎么做我在蚀食中改变了PYTHONPATH?在eclipse中,我可以将pythonpath设置为UNC路径列表。不幸的是我不能*使用IntelliJ UI来选择Python Intepreter并依靠Intellij默认机制来改变路径(这是因为我的python在网络共享上并依赖于一些原生的Windows文件系统魔法来训练bin文件是我宁愿给IntelliJ一个组成python解释器的路径列表。)
推荐答案
其他模块的 PYTHONPATH
可以在 Python SDK设置 Classpath
标签或直接在%CONFIG% \options \ jdk. table.xml
file。
PYTHONPATH
for the additional modules can be configured in the Python SDK settings Classpath
tab or directly in %CONFIG%\options\jdk.table.xml
file.
这篇关于Intellij Python不从.pydevproject导入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文