Директория с проектом лежит на сетевом диске, а диск переложили на другой сервер, в связи с чем при запуске проекта выдается ошибка, в которой предлагается назначить дефолтную переменную PYTHON_EGG_CACHE (cм. ниже) по указанному в ошибке адресу, но я не могу добраться до pkg_resources.py в setuptools-0.6c11-py2.5.egg, pspad этото файл не находит, например.
Путь к новым python eggs мне известен:
“//Rz-ts-appdata/tsappdata$/hildi/Anwendungsdaten/Python-Eggs”.
Как это можно исправить?
H:\>python identity-tutorial/start-identity_tutorial.py
Traceback (most recent call last):
File "identity-tutorial/start-identity_tutorial.py", line 11, in <module>
from identity_tutorial.commands import start, ConfigurationError
File "H:\identity-tutorial\identity_tutorial\commands.py", line 13, in <module>
import turbogears
File "c:\Python25\lib\site-packages\turbogears-1.0.7-py2.5.egg\turbogears\__init__.py", line 6, in <module>
from turbogears.controllers import expose, flash, validate, redirect, \
File "c:\Python25\lib\site-packages\turbogears-1.0.7-py2.5.egg\turbogears\controllers.py", line 9, in <module>
from dispatch import generic, strategy, functions
File "c:\Python25\lib\site-packages\PIL\__init__.py", line 19, in <module>
File "build\bdist.win32\egg\dispatch\interfaces.py", line 1, in <module>
File "c:\Python25\lib\site-packages\PIL\__init__.py", line 3, in <module>
# $Id: __init__.py 2134 2004-10-06 08:55:20Z fredrik $
File "build\bdist.win32\egg\protocols\api.py", line 15, in <module>
File "build\bdist.win32\egg\protocols\adapters.py", line 32, in <module>
File "build\bdist.win32\egg\protocols\_speedups.py", line 7, in <module>
File "build\bdist.win32\egg\protocols\_speedups.py", line 4, in __bootstrap__
File "c:\Python25\lib\site-packages\setuptools-0.6c11-py2.5.egg\pkg_resources.py", line 882, in resource_filename
File "c:\Python25\lib\site-packages\setuptools-0.6c11-py2.5.egg\pkg_resources.py", line 1351, in get_resource_filename
File "c:\Python25\lib\site-packages\setuptools-0.6c11-py2.5.egg\pkg_resources.py", line 1373, in _extract_resource
File "c:\Python25\lib\site-packages\setuptools-0.6c11-py2.5.egg\pkg_resources.py", line 962, in get_cache_path
File "c:\Python25\lib\site-packages\setuptools-0.6c11-py2.5.egg\pkg_resources.py", line 928, in extraction_error
pkg_resources.ExtractionError: Can't extract file(s) to egg cache
The following error occurred while trying to extract file(s) to the Python egg
cache:
[Error 123] Die Syntax f³r den Dateinamen, Verzeichnisnamen oder die Datentrõgerbezeichnung ist falsch: '\\\\'
The Python egg cache directory is currently set to:
\\qrz1100\ctxanwendungsdaten$\hildi\Python-Eggs
Perhaps your account does not have write access to this directory? You can
change the cache directory by setting the PYTHON_EGG_CACHE environment
variable to point to an accessible directory.