[Distutils] `pkg_resources.require()`doesn’t see wxPython

Tarek Ziadé ziade.tarek at gmail.com
Sat Nov 14 19:21:29 CET 2009

On Sat, Nov 14, 2009 at 7:10 PM, cool-RR <cool-rr at cool-rr.com> wrote:
> I did it on 2.6, but then I tried also on 2.5 and 2.4, and it happened the
> same. I looked in site-packages and didn't find a egg, but I don't know much
> about eggs so I don't know.

we are looking for a file or a folder named "wxPython*.egg-info" or
something like that,
that is added alongside a "wxpython" package I guess.

If you are not sure where to look at, do this in your prompt
(supposing the package is called "wxpython")

>>> import wxpython; wxpython

You will get the path of the package, and the egg-info is supposely
located alongside this package.

> The way I installed wxPython is from the standard Windows installer that I
> downloaded from wxpython.org. You can give it a try yourself, install using
> their installer (Assuming you have access to a Windows box) and do the
> require thing. If it works for you then there will be reason to think
> something is fucked up in my system, and I'll investigate.

I'll try in my VM when I get a chance.

>> Sure, that's helpfull. I am adding this in Distribute, for the 0.6.9
>> upcoming release.
> Great :)
> Ram.
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig

Tarek Ziadé | http://ziade.org | オープンソースはすごい! | 开源传万世,因有你参与

More information about the Distutils-SIG mailing list