Bonjour
J'ai l'erreur suivante dans la compilation de ssl concernant le pip
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
The directory '/home/xavier/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/xavier/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
ainsi que cette erreur
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Exception:
Traceback (most recent call last):
  File "/home/xavier/.local/share/letsencrypt/local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
    logger.critical(str(exc))
  File "/home/xavier/.local/share/letsencrypt/local/lib/python2.7/site-packages/pip/commands/install.py", line 350, in run
    requirement_set.cleanup_files()
  File "/home/xavier/.local/share/letsencrypt/local/lib/python2.7/site-packages/pip/commands/install.py", line 436, in get_lib_location_guesses
  File "/home/xavier/.local/share/letsencrypt/local/lib/python2.7/site-packages/pip/locations.py", line 140, in distutils_scheme
    d = Distribution(dist_args)
  File "/home/xavier/.local/share/letsencrypt/local/lib/python2.7/site-packages/setuptools/dist.py", line 365, in __init__
    if key not in keep:
  File "/home/xavier/.local/share/letsencrypt/local/lib/python2.7/site-packages/setuptools/dist.py", line 372, in _finalize_requires
    install_dir = self.get_egg_cache_dir()
AttributeError: Distribution instance has no attribute 'install_requires'
Une idée pour résoudre mon problème qui touche aussi bien python 2.7 et ubuntu server 16.04
Merci de vos idées, de vos solutions