Я использую Debian Testing и пытаюсь установить пару модулей, один из которых - клиент Discog. Однако я продолжаю нажимать на эту сертификационную вещь, о которой у меня нет никаких идей.
Согласно моей установке на python, модуль сертификации находится в системе. Смотрите строки ниже.
python
Python 2.7.15 (default, May 1 2018, 05:55:50)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import certifi
>>> certifi.where()
'/etc/ssl/certs/ca-certificates.crt'
Вот ошибка.
pip install discogs-client
File "/usr/local/bin/pip", line 7, in <module>
from pip._internal import main
File "/usr/local/lib/python2.7/dist-packages/pip/_internal/__init__.py", line 42, in <module>
from pip._internal import cmdoptions
File "/usr/local/lib/python2.7/dist-packages/pip/_internal/cmdoptions.py", line 16, in <module>
from pip._internal.index import (
File "/usr/local/lib/python2.7/dist-packages/pip/_internal/index.py", line 15, in <module>
from pip._vendor import html5lib, requests, six
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/__init__.py", line 99, in <module>
from . import utils
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/utils.py", line 24, in <module>
from . import certs
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/certs.py", line 15, in <module>
from pip._vendor.certifi import where
ImportError: No module named certifi
Вот пункт установки сертификата
pip install certifi
Traceback (most recent call last):
File "/usr/local/bin/pip", line 7, in <module>
from pip._internal import main
File "/usr/local/lib/python2.7/dist-packages/pip/_internal/__init__.py", line 42, in <module>
from pip._internal import cmdoptions
File "/usr/local/lib/python2.7/dist-packages/pip/_internal/cmdoptions.py", line 16, in <module>
from pip._internal.index import (
File "/usr/local/lib/python2.7/dist-packages/pip/_internal/index.py", line 15, in <module>
from pip._vendor import html5lib, requests, six
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/__init__.py", line 99, in <module>
from . import utils
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/utils.py", line 24, in <module>
from . import certs
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/certs.py", line 15, in <module>
from pip._vendor.certifi import where
ImportError: No module named certifi