Python: disabling $HOME/.python-eggs?
Posted
by Mark Harrison
on Stack Overflow
See other posts from Stack Overflow
or by Mark Harrison
Published on 2010-06-17T18:19:46Z
Indexed on
2010/06/17
18:23 UTC
Read the original article
Hit count: 406
Is there an easy way to disable Python egg caching? We have the situation where a system account needs to run a python program which imports a module.
Since this is a non-login robot account, it does not have a home directory, and dies trying to create the directory /.python-eggs
.
What's the best way to fix this? Can I convert my eggs in site-files to something which will not be cached in .python-eggs
?
© Stack Overflow or respective owner