What is the Python egg cache (PYTHON_EGG_CACHE)?

后端 未结 8 634
我寻月下人不归
我寻月下人不归 2020-12-04 16:23

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:

C

8条回答
  •  既然无缘
    2020-12-04 16:38

    I got this error in Django when running the below command the first time.

    python manage.py sql myproject
    

    I got it to work like this:

    1. In Explorer, view the folder that the error says egg cache directory is set to
    2. Delete (or rename) the file mysql_python-1.2.5-py2.7-win32.egg-tmp
    3. That's it. The command now works and creates a new file in there. (Haven't tested if I need to do this every time.)
    

提交回复
热议问题