need help with an egg

Diez B. Roggisch deets at nospam.web.de
Fri Aug 7 06:12:23 EDT 2009


jo schrieb:
> Hi,
> 
> I am very new to python....
> 
> I created an egg on a machine.  The Python version on that  is 2.5.
> Copied that egg to a machine which has Python 2.6.
> 
> unzip -t Myproj-0.1-py2.5.egg
> The above command shows all the files I need
> 
> When I run the easy_install, I get the foll. error.  Is it because of
> the version?  Or am I doing something wrong?  Or the way I understand
> the egg works is wrong.  Can anyone please help?
> If it's the version issue, does that mean I cannot use that egg on my
> machine with 2.6 version?
> 
> Installed /usr/local/lib/python2.6/dist-packages/Myproj-0.1-py2.5.egg
> Processing dependencies for Myproj==0.1
> Searching for Myproj==0.1
> Reading http://pypi.python.org/simple/Myproj/
> Couldn't find index page for 'Myproj' (maybe misspelled?)
> Scanning index of all packages (this may take a while)
> Reading http://pypi.python.org/simple/
> No local packages or download links found for Myproj==0.1
> error: Could not find suitable distribution for Requirement.parse
> ('Myproj==0.1')

Yes, eggs are (at least) python version specific. They can even be 
OS-specific.


Diez



More information about the Python-list mailing list