Форум сайта python.su
Всем привет,
Помогите разобраться пожалуйста.
Пытаюсь генерировать SSL-сертификат Let's Encrypt на Ubuntu 17.04
При попытке:
root@v29236:~# certbot register –email postmaster@xxxxxxxxxxxxxxxxxxx.ru
почему-то вылетает ошибка Питона
= = = = = = = = = = = = = = = = = =
Traceback (most recent call last):
File “/usr/bin/certbot”, line 6, in <module>
from pkg_resources import load_entry_point
File “/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py”, line 3036, in <module>
@_call_aside
File “/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py”, line 3020, in _call_aside
f(*args, **kwargs)
File “/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py”, line 3049, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File “/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py”, line 654, in _build_master
ws.require(__requires__)
File “/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py”, line 968, in require
needed = self.resolve(parse_requirements(requirements))
File “/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py”, line 854, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The ‘certbot==0.14.1’ distribution was not found and is required by the application
= = = = = = = = = = = = = = = = = =
Что это может быть?
Криво сконфигурирован Питон?
Питону чего-то не хватает?
= = = = = = = = = = = = = = = = = =
Мои параметры:
= = = = = = = = = = = = = = = = = =
root@v29236:~# which python
/usr/bin/python
root@v29236:~# ls -alF /usr/bin/pyt*
lrwxrwxrwx 1 root root 7 May 20 19:39 /usr/bin/python -> python3*
lrwxrwxrwx 1 root root 9 Jan 20 13:03 /usr/bin/python3 -> python3.5*
PYTHONPATH=/usr/lib/python3.5
root@v29236:~# python
Python 3.5.3 (default, Jan 19 2017, 14:11:04)
on linux
Type “help”, “copyright”, “credits” or “license” for more information.
>>> import sys
>>> sys.path
>>>
Офлайн
pkg_resources.DistributionNotFound: The ‘certbot==0.14.1’ distribution was not found and is required by the application
Офлайн
4kpt_V
pkg_resources.DistributionNotFound: The ‘certbot==0.14.1’ distribution was not found and is required by the application
Офлайн
pip install certbot -U
Офлайн
Rodegast
pip install certbot -U
Офлайн
Поставь -dev пакеты для питона, и для libssl тоже
apt install python3-dev libssl-dev
Отредактировано PooH (Май 23, 2017 05:20:33)
Офлайн
PooH
Поставь -dev пакеты для питона, и для libssl тоже
Офлайн