Найти - Пользователи
Полная версия: проблема с pip и annoying
Начало » Django » проблема с pip и annoying
1 2
ciklone
как добавить модуль annoying без pip (последний глючит при установке)?
JOHN_16
ciklone
скачать архив с исходником, с того же pipy.python.org и установить используя
python setup.py install
ciklone
JOHN_16
cikloneскачать архив с исходником, с того же pipy.python.org и установить используя
терминал выдал такую хрень:

father@father-System-Product-Name:~/temp/django-annoying-0.8.4$ python setup.py install
running install
error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

Permission denied: ‘/usr/local/lib/python2.7/dist-packages/test-easy-install-9806.write-test’

The installation directory you specified (via –install-dir, –prefix, or
the distutils default setting) was:

/usr/local/lib/python2.7/dist-packages/

Perhaps your account does not have write access to this directory? If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or “root” account. If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.

For information on other options, you may wish to consult the
documentation at:

https://pythonhosted.org/setuptools/easy_install.html

Please make the appropriate changes for your system and try again.

?????????????????
J.R.
.
ciklone
J.R.
ciklone
прикол в том, что только один пользователь на компе домашнем и он root! прикиньте! )))
Shaman
Что на счет selinux-ов с apparmor-ами и правами на /usr/local/lib/python2.7/dist-packages/?
ciklone
Shaman
Что на счет selinux-ов с apparmor-ами и правами на /usr/local/lib/python2.7/dist-packages/?
можно более доходчиво для чайника?
Shaman
Для чайника лучше начать с изучения sudo и su.
J.R.
.
ciklone
J.R.
father@father-System-Product-Name:~/develop/sites/myfirstsite$ ls -l /usr/local/lib/python2.7/dist-packages/
итого 8
drwxr-sr-x 4 root staff 4096 Июн 5 09:59 Django-1.8.2-py2.7.egg
-rw-r–r– 1 root staff 210 Июн 5 09:59 easy-install.pth
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB