Growberry / growberry_pi

This is a local program that will run on a raspberry pi for reading/recording inputs, and controlling outputs.
http://www.reddit.com/r/growberry_pi
2 stars 0 forks source link

Adafruit DHT22 repository requires access to .python-eggs #13

Open austinmeier opened 5 years ago

austinmeier commented 5 years ago

From @austinmeier on December 15, 2016 6:8

ExtractionError: Can't extract file(s) to egg cache

The following error occurred while trying to extract file(s) to the Python egg cache:

[Errno 13] Permission denied: '/root/.python-eggs'

The Python egg cache directory is currently set to:

/root/.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.

only happens on non-pi users (nimrod from growberry-webserver)

_Copied from original issue: austinmeier/old_growberrypi#9

austinmeier commented 5 years ago

Can be resolved by modifying environmental variable: PYTHON_EGG_CACHE

add: export PYTHON_EGG_CACHE=/home/nimrod337/.python-eggs

to the bottom of .bashrc

leaving open for now to remind me to fix with a more permanent solution.

austinmeier commented 5 years ago

After running for 2 hours, sampling every 10 minutes, the above solution failed again.