Certbot fails at "Creating virtual environment" with OSError


#1

Hey,

I just cloned the certbot repo an tried to run certbot-auto.

But it fails at “Creating virtual environment”:

j68949:/opt/certbot # ./certbot-auto 
Bootstrapping dependencies for openSUSE-based OSes...
Loading repository data...
Reading installed packages...
'python' is already installed.
No update candidate for 'python-2.7.3-10.28.1.x86_64'. The highest available version is already installed.
'gcc' is already installed.
No update candidate for 'gcc-4.7-7.1.1.x86_64'. The highest available version is already installed.
'libopenssl-devel' is already installed.
No update candidate for 'libopenssl-devel-1.0.1j-1.71.1.x86_64'. The highest available version is already installed.
'ca-certificates' is already installed.
No update candidate for 'ca-certificates-1-21.1.1.noarch'. The highest available version is already installed.
'python-devel' is already installed.
No update candidate for 'python-devel-2.7.3-10.28.1.x86_64'. The highest available version is already installed.
'augeas-lenses' is already installed.
No update candidate for 'augeas-lenses-0.10.0-7.5.1.x86_64'. The highest available version is already installed.
'libffi-devel' not found in package names. Trying capabilities.
'libffi47-devel' providing 'libffi-devel' is already installed.
'python-virtualenv' is already installed.
No update candidate for 'python-virtualenv-1.8.4-2.1.1.noarch'. The highest available version is already installed.
Resolving package dependencies...

Nothing to do.
Creating virtual environment...
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/virtualenv.py", line 2559, in <module>
    main()
  File "/usr/lib/python2.7/site-packages/virtualenv.py", line 963, in main
    never_download=options.never_download)
  File "/usr/lib/python2.7/site-packages/virtualenv.py", line 1073, in create_environment
    search_dirs=search_dirs, never_download=never_download)
  File "/usr/lib/python2.7/site-packages/virtualenv.py", line 610, in install_setuptools
    search_dirs=search_dirs, never_download=never_download)
  File "/usr/lib/python2.7/site-packages/virtualenv.py", line 582, in _install_req
    cwd=cwd)
  File "/usr/lib/python2.7/site-packages/virtualenv.py", line 1041, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /root/.local/share/letsencrypt/bin/python2.7 -c "#!python
\"\"\"Bootstra...sys.argv[1:])






" --always-copy -U setuptools failed with error code 1

I hope you can help me. :slight_smile:

Kind regards,

wehmoen


#2

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.