Python之——Eclipse +PyDev开发python,import其他模块时eclipse会报错,运行却没有问题
2017-10-07 00:49
232 查看
转载请注明出处:http://blog.csdn.net/l1028386804/article/details/78167886
用eclipse +PyDev开发python时,需要import其他文件时eclipse会报错,但是在python的命令行中运行却没有问题。
解决方法:
1.右键工程——properties
2.选择Pydev-Interface/Grammar,点击链接Click here to configure aninterpreter not listed
3.在python Interperter中选择New Folder,添加文件的父目录即可。
用eclipse +PyDev开发python时,需要import其他文件时eclipse会报错,但是在python的命令行中运行却没有问题。
解决方法:
1.右键工程——properties
2.选择Pydev-Interface/Grammar,点击链接Click here to configure aninterpreter not listed
3.在python Interperter中选择New Folder,添加文件的父目录即可。
相关文章推荐
- eclipse +PyDev开发python,import其他模块时eclipse会报错,运行却没有问题
- Eclipse + Pydev开发Python时import报错解决方法
- Eclipse + Pydev开发Python时import报错解决方法
- Windows下Eclipse和PyDev搭建Python开发环境
- Mac配置Python开发环境(Eclipse +Pydev+Python)
- Mac配置Python开发环境(Eclipse +Pydev+Python)
- Eclipse + Pydev 配置Python开发环境
- 使用Eclipse与Pydev开发Python的一些设置
- [zz]Ubuntu下使用Eclipse和PyDev搭建完美Python开发环境
- 使用Eclipse与Pydev开发Python
- Python+PyDev+Jdk+Eclipse开发环境部署
- [zz]linux 下python开发环境之二——安装Eclipse+PyDev
- Eclipse和PyDev搭建完美Python开发环境(Windows篇)
- Python在Eclipse下的的开发插件PyDev使用教程
- Ubuntu下使用Eclipse和PyDev搭建完美Python开发环境
- 如何在windows下的Python开发工具IDLE里安装其他模块
- [转]使用Eclipse与Pydev开发Python
- Eclipse和PyDev构建Python开发环境
- Eclipse和PyDev搭建完美Python开发环境(Windows篇)
- 使用Eclipse与Pydev搭建python开发环境