[Python-de] workingenv and easy_install

robert rottermann robert at redcor.ch
Do Sep 13 04:53:21 UTC 2007


Ian Bicking schrieb:
> It's a little tricky, because if you remove site.py then scripts won't
> be self-activating (you have to explicitly activate the workingenv) and
> you'll always get site-packages.  Resolving this problem of site.py has
> been very difficult for me, though.
> 
thanks for your answer.
would it be enough to temporarily remove site.py and move it back after
the installation?
or does the position/content of site.py influence easy_installs
behaviour (I have only a cursory idea about site.py's function)?

robert

> robert rottermann wrote:
>> Hi Ian,
>>
>> after creating a python environment with workingenv I get the following
>> error when easy_install is used:
>>
>> (twisted)chrissy:~/twisted # easy_install twisted
>> error: /root/twisted/lib/python2.4/site.py is not a setuptools-generated
>> site.py; please remove it.
>>
>> after removing site.py things work nicely.
>>
>> thanks a lot for a great product.
>> robert
> 
> 

-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : robert.vcf
Dateityp    : text/x-vcard
Dateigröße  : 211 bytes
Beschreibung: nicht verfügbar
URL         : http://python.net/pipermail/python-de/attachments/20070913/7f39ae6e/attachment.vcf