본문 바로가기

컴퓨터 이야기/Python이야기

egg오류 해결방법

/usr/lib/python2.6/site-packages/setuptools-0.8-py2.6.egg/pkg_resources.py:1054:
UserWarning: /home/sgpromot/.python-eggs is writable by group/others and vulnerable 
to attack when used with get_resource_filename. Consider a more secure location 
(set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
  warnings.warn(msg, UserWarning)

장고를 재설치하고 기존 소스코드를 덮어쓰기 하고 장고를 실행하였더니 실행은 되지만 위와같은 문구가 출력이 되었다. 나한테 난건 이미 지워져서 없고 스택에 있는 자료 붙여넣기했다.

해결 방법으로는 

chmod g-wx,o-wx /home/사용자계정/.python-eggs

이렇게 해주면 해결!

반응형