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

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

WBOY
Release: 2016-06-16 08:46:46
Original
1125 people have browsed it

问题:
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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template