Home >Backend Development >Python Tutorial >pydev使用wxpython找不到路径的解决方法

pydev使用wxpython找不到路径的解决方法

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-16 08:46:461130browse

问题:
pydev使用wx库开发的过程中,import时碰到wx可以识别,但是其它很多函数和变量上面全部是红叉,即无法识别。

解决方法:

1、window->preferences->PyDev->Interpreter--Python>Libraries;
2、加入"C:\Python27\Lib\site-packages\wx-2.8-msw-unicode"和"C:\Python27\Lib\site-packages\wx-2.8-msw-unicode\wx";
3、重启eclipse

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn