easy install

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Sat Oct 10 03:17:50 CEST 2009


En Fri, 09 Oct 2009 21:49:46 -0300, Ethan Furman <ethan at stoneleaf.us>  
escribió:

> Besides missing the source lines, I was also wondering why the path in  
> the traceback is showing incorrectly; I have the egg in  
> c:\python25\Lib\site-packages, not where the trackback says I have it.
>
> In an effort to get it looking right, as well as to get the missing  
> source lines, I broke the egg and copied the xlwt folder out of it and  
> directly into site-packages -- everything (except the trackbacks, grrr)  
> still worked, leaving me as mystified as ever.

Delete all the .pyc files and let Python regenerate them (or use the  
compileall module). Code objects (stored in the .pyc files) carry their  
source file name with them.

-- 
Gabriel Genellina




More information about the Python-list mailing list