2017-03-24 7 views
0

のアップロード中に、私は生きて私のDjangoのプロジェクトをアップロードしようとしていると私は継続的にこのエラーを取得しています:エラーPYTHON_EGG_CACHEジャンゴ

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: 

[Errno 13] Permission denied: '/opt/bitnami/.tmp/simplejson-2.0.9-py2.7-linux-x86_64.egg-tmp/simplejson/tmpuYcIYB.$extract' 

The Python egg cache directory is currently set to: 

/opt/bitnami/.tmp 

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. 

答えて

0

それはパーミッション/所有権の問題です。 /opt/bitnami/apps/django/django_projects/YOURPROJECT

:あなたはまた、次のパスにプロジェクトを展開する必要があり

sudo su bitnami sudo find /opt/bitnami/apps/django/ -type d -exec chmod 755 {} \; sudo find /opt/bitnami/apps/django/ -type f -exec chmod 644 {} \; sudo chown -R bitnami:daemon /opt/bitnami/apps/django/

:あなたはこれらのコマンドを使用してそれを解決することができます

関連する問題