AOPython Question

Diez B. Roggisch deets at nospam.web.de
Fri May 29 04:02:43 EDT 2009


Roastie schrieb:
> I installed the AOPython module:
> 
>    % easy_install aopython
> 
> That left an aopython-1.0.3-py2.6.egg at
> C:\mystuff\python\python_2.6.2\Lib\site-packages.
> 
> I entered the interpreter:
> 
>>>> import aopython
>>>>
> 
> All is well.
> 
> But I was uncomfortable, since I was used to seeing directories
> of Python code for modules in site-packages, so I decided
> to read about eggs:
> http://mrtopf.de/blog/python_zope/a-small-introduction-to-python-eggs/
> 
> The article told me to run:
>     % easy_install aopython-1.0.3-py2.6.egg

Did you run that in the site-packages-directory? If yes, that was a 
mistake. The above command is supposed to work on downloaded eggs that 
lie around somewhere.

> The result was a long list of error messages and removal
> of my egg, and Python could no longer use the AOPython module.
> 
> So, I'm looking for a better reference for telling me about eggs and
> modules in site-packages.

You did everything alright the first time.

Diez



More information about the Python-list mailing list