0

I'm using windows 10 with python 2.7.10 with activepython in GAE

im getting this error after trying to run a script with a library that i just installed called pycrypto:

"Please set the PYTHON_EGG_CACHE enviroment variable"

RuntimeError: Please set the PYTHON_EGG_CACHE enviroment variable

how can i find this python-eggs folder in windows to set the proper environment variable?

Thanks

Abdul Hamid
  • 168
  • 1
  • 7
  • 25
  • That error, including `enviroment` typo is from an older version of setuptools. Try to upgrade setuptools and reinstall pycrypto and see if that helps. – Josh J Mar 17 '16 at 14:00
  • thanks for your answer, i just did an upgrade but i still get the same errors – Abdul Hamid Mar 17 '16 at 15:14
  • Are you using a virtualenv? – Josh J Mar 17 '16 at 17:19
  • Have you solved this? I have exactly the same issue with the same library in the same conditions – Mijamo May 31 '16 at 13:32
  • hello, i couldnt solve it, what i did was that i removed everything and installed python 2.7 again, also checkout for your app.yaml file because if you are using a package that is not supported by your version of python 2.7.* but it is written in your app.yaml it may cause more probems – Abdul Hamid May 31 '16 at 14:53

1 Answers1

0

All

I've the same error for installed package MySQL-python version 1.2.5, if downgrade the package to version 1.2.3, it's work fine.

I hope that it will be helpful for you: link to distribution package http://www.codegood.com/archives/129

===== also the error will appear when some dependent packages wasn't installed successfully.

SergeySD
  • 83
  • 1
  • 2
  • 7