LINUX.ORG.RU

Как установить PyTyle?

 ,


0

1

Не могу установить PyTyle в Xubuntu 16.04.2

https://github.com/BurntSushi/pytyle1

https://sourceforge.net/projects/pytyle/

Терминал:

akb@Home:~/pytyle1-master$ /home/akb/pytyle1-master/setup.py
from: can't read /var/mail/distutils
from: can't read /var/mail/distutils.core
/home/akb/pytyle1-master/setup.py: строка 24: try:: команда не найдена
from: can't read /var/mail/Xlib.display
from: can't read /var/mail/Xlib
from: can't read /var/mail/Xlib.ext
/home/akb/pytyle1-master/setup.py: строка 28: except:: команда не найдена
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/%{ <-- HERE (.*?)}/ at /usr/bin/print line 528.
Error: no such file ""
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/%{ <-- HERE (.*?)}/ at /usr/bin/print line 528.
Error: no such file "PyTyle requires the Python X Library"
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/%{ <-- HERE (.*?)}/ at /usr/bin/print line 528.
Error: no such file "//python-xlib.sourceforge.net/' (No such file or directory)::See: http://python-xlib.sourceforge.net/"
/home/akb/pytyle1-master/setup.py: строка 32: ошибка синтаксиса около неожиданной лексемы `0'
/home/akb/pytyle1-master/setup.py: строка 32: ` sys.exit(0)'

Ответ на: комментарий от deadNightTiger

тебе надо запустить

Вот:

akb@Home:~/pytyle1-master$ python setup.py install
running install
running build
running build_py
running build_scripts
running install_lib
creating /usr/local/lib/python2.7/dist-packages/PyTyle
error: could not create '/usr/local/lib/python2.7/dist-packages/PyTyle': Permission denied

>>> а ты что запускаешь?

Вот как запускаю:

pip install setup.py

Novichok2014 ★★★ ()
Ответ на: комментарий от deadNightTiger

От рута надо:

Аааа, все, всё установилось и работает!!!

Спасибо огромнейшее!!!

Novichok2014 ★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.