Questions tagged [python-egg-cache]
11 questions
76
votes
9 answers
What is the Python egg cache (PYTHON_EGG_CACHE)?
I've just upgraded from Python 2.6.1 to 2.6.4 on my development machine and upon starting a python script was presented with the following message:
Can't extract file(s) to egg cache
The following error occurred while
trying to extract file(s) to…

Phillip B Oldham
- 18,807
- 20
- 94
- 134
4
votes
1 answer
pkg_resources.resource_filename is not extracting files
I want to package a project that contains (and uses) template html files and distribuite it as an egg. Since I’m using tornadoweb, which requires file paths to point to html files, I can’t access the resources via stream and I really need the html…

Emiliano
- 22,232
- 11
- 45
- 59
3
votes
1 answer
apache user can not write to .python-eggs
I have read that I need to set the PYTHON_EGG_CACHE environment variable, or install the python library as an uncompressed .egg
Which do you suggest?

monk.e.boy
- 337
- 3
- 11
2
votes
2 answers
"Can't extract file(s) to egg cache" error in GAE
I have Windows 7 and Python 2.7 with setuptools installed.
After i download pitz module (easy_install pitz), Google App Engine stop working:
bad runtime process port ['']
Traceback (most recent call last):
File "G:\Program Files…

kostr22
- 576
- 7
- 27
2
votes
1 answer
Django: PYTHON_EGG_CACHE, access denied error
I am deploying my django application on a server, and on last stages I am getting this error:
ExtractionError at /admin/
Can't extract file(s) to egg cache
The following error occurred while trying to extract file(s) to the Python…

Oleg Tarasenko
- 9,324
- 18
- 73
- 102
1
vote
1 answer
Installing HTTP module in Python 3.8.8
Not able to install HTTP module in Python 3.8.8.
WARNING: Discarding…

aman patel_AK-47
- 9
- 2
1
vote
1 answer
Run Python package from files and not egg
I downloaded a Python package from Github. To use it I had to install an python egg on my computer. I'd like to make some modifications to the package. To do so, I have to recompile the egg each time to test it.
My question is, how do I run the…

Alexis
- 23,545
- 19
- 104
- 143
1
vote
2 answers
Specify a custom PYTHON_EGG_CACHE dir with zc.buildout?
We're having problems when trying to deploy a number of projects which use zc.buildout - specifically we're finding that they want to put their PYTHON_EGG_CACHE directories all over the show. We'd like to somehow set this directory to one at the…

Phillip B Oldham
- 18,807
- 20
- 94
- 134
1
vote
5 answers
How do you fix a Trac installation that begins giving errors relating to PYTHON_EGG_CACHE?
We've been using Trac for task/defect tracking and things were going well enough, but this morning it started serving up a 500 error. Looking in the Apache error_log, I get a stack trace that culminates in:
PythonHandler…

Larry OBrien
- 8,484
- 1
- 41
- 75
0
votes
1 answer
problem with python imports (MySQLdb) and apache python_egg_cache
I have trouble with php calling a python script, or its calling the script but stops somewhere on the way when trying to import MySQLdb
now after adding, to my user .bash_profile, following this guide How do you fix a Trac installation that begins…

David S
- 1
- 1
- 4
0
votes
1 answer
How to customize TRAC plugin template python file
I am currently modifying our TRAC instance to Bootstrap 3.1. However, some templating needs to be done on the .py files. I only know how to customize .html files... just add classes, customize DOM structure a little bit then put it in templates…

Woppi
- 5,303
- 11
- 57
- 81