I am getting an error after this line.
sammy@localhost:~$ pip3 install frappe-bench
Traceback (most recent call last):
File β/usr/bin/pip3β, line 11, in
load_entry_point(βpip==20.0.2β, βconsole_scriptsβ, βpip3β)()
File β/usr/local/lib/python3.8/dist-packages/pkg_resources/init.pyβ, line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File β/usr/local/lib/python3.8/dist-packages/pkg_resources/init.pyβ, line 2867, in load_entry_point
return ep.load()
File β/usr/local/lib/python3.8/dist-packages/pkg_resources/init.pyβ, line 2471, in load
return self.resolve()
File β/usr/local/lib/python3.8/dist-packages/pkg_resources/init.pyβ, line 2477, in resolve
module = import(self.module_name, fromlist=[βnameβ], level=0)
File β/usr/lib/python3/dist-packages/pip/_internal/cli/main.pyβ, line 10, in
from pip._internal.cli.autocompletion import autocomplete
File β/usr/lib/python3/dist-packages/pip/_internal/cli/autocompletion.pyβ, line 9, in
from pip._internal.cli.main_parser import create_main_parser
File β/usr/lib/python3/dist-packages/pip/_internal/cli/main_parser.pyβ, line 7, in
from pip._internal.cli import cmdoptions
File β/usr/lib/python3/dist-packages/pip/_internal/cli/cmdoptions.pyβ, line 24, in
from pip._internal.exceptions import CommandError
File β/usr/lib/python3/dist-packages/pip/_internal/exceptions.pyβ, line 10, in
from pip._vendor.six import iteritems
File β/usr/lib/python3/dist-packages/pip/_vendor/init.pyβ, line 65, in
vendored(βcachecontrolβ)
File β/usr/lib/python3/dist-packages/pip/_vendor/init.pyβ, line 36, in vendored
import(modulename, globals(), locals(), level=0)
File ββ, line 991, in _find_and_load
File ββ, line 975, in _find_and_load_unlocked
File ββ, line 655, in _load_unlocked
File ββ, line 618, in _load_backward_compatible
File ββ, line 259, in load_module
File β/usr/share/python-wheels/CacheControl-0.12.6-py2.py3-none-any.whl/cachecontrol/init.pyβ, line 9, in
File ββ, line 991, in _find_and_load
File ββ, line 975, in _find_and_load_unlocked
File ββ, line 655, in _load_unlocked
File ββ, line 618, in _load_backward_compatible
File ββ, line 259, in load_module
File β/usr/share/python-wheels/CacheControl-0.12.6-py2.py3-none-any.whl/cachecontrol/wrapper.pyβ, line 1, in
File ββ, line 991, in _find_and_load
File ββ, line 975, in _find_and_load_unlocked
File ββ, line 655, in _load_unlocked
File ββ, line 618, in _load_backward_compatible
File ββ, line 259, in load_module
File β/usr/share/python-wheels/CacheControl-0.12.6-py2.py3-none-any.whl/cachecontrol/adapter.pyβ, line 5, in
File ββ, line 991, in _find_and_load
File ββ, line 975, in _find_and_load_unlocked
File ββ, line 655, in _load_unlocked
File ββ, line 618, in _load_backward_compatible
File ββ, line 259, in load_module
File β/usr/share/python-wheels/requests-2.22.0-py2.py3-none-any.whl/requests/init.pyβ, line 95, in
File ββ, line 991, in _find_and_load
File ββ, line 975, in _find_and_load_unlocked
File ββ, line 655, in _load_unlocked
File ββ, line 618, in _load_backward_compatible
File ββ, line 259, in load_module
File β/usr/share/python-wheels/urllib3-1.25.8-py2.py3-none-any.whl/urllib3/contrib/pyopenssl.pyβ, line 46, in
File β/usr/lib/python3/dist-packages/OpenSSL/init.pyβ, line 8, in
from OpenSSL import crypto, SSL
File β/usr/lib/python3/dist-packages/OpenSSL/crypto.pyβ, line 1553, in
class X509StoreFlags(object):
File β/usr/lib/python3/dist-packages/OpenSSL/crypto.pyβ, line 1573, in X509StoreFlags
CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
AttributeError: module βlibβ has no attribute βX509_V_FLAG_CB_ISSUER_CHECKβ
Error in sys.excepthook:
Traceback (most recent call last):
File β/usr/lib/python3/dist-packages/apport_python_hook.pyβ, line 72, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File β/usr/lib/python3/dist-packages/apport/init.pyβ, line 5, in
from apport.report import Report
File β/usr/lib/python3/dist-packages/apport/report.pyβ, line 32, in
import apport.fileutils
File β/usr/lib/python3/dist-packages/apport/fileutils.pyβ, line 12, in
import os, glob, subprocess, os.path, time, pwd, sys, requests_unixsocket
File β/usr/lib/python3/dist-packages/requests_unixsocket/init.pyβ, line 1, in
import requests
File ββ, line 991, in _find_and_load
File ββ, line 975, in _find_and_load_unlocked
File ββ, line 655, in _load_unlocked
File ββ, line 618, in _load_backward_compatible
File ββ, line 259, in load_module
File β/usr/share/python-wheels/requests-2.22.0-py2.py3-none-any.whl/requests/init.pyβ, line 95, in
File ββ, line 991, in _find_and_load
File ββ, line 975, in _find_and_load_unlocked
File ββ, line 655, in _load_unlocked
File ββ, line 618, in _load_backward_compatible
File ββ, line 259, in load_module
File β/usr/share/python-wheels/urllib3-1.25.8-py2.py3-none-any.whl/urllib3/contrib/pyopenssl.pyβ, line 46, in
File β/usr/lib/python3/dist-packages/OpenSSL/init.pyβ, line 8, in
from OpenSSL import crypto, SSL
File β/usr/lib/python3/dist-packages/OpenSSL/crypto.pyβ, line 1553, in
class X509StoreFlags(object):
File β/usr/lib/python3/dist-packages/OpenSSL/crypto.pyβ, line 1573, in X509StoreFlags
CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
AttributeError: module βlibβ has no attribute βX509_V_FLAG_CB_ISSUER_CHECKβ
Original exception was:
Traceback (most recent call last):
File β/usr/bin/pip3β, line 11, in
load_entry_point(βpip==20.0.2β, βconsole_scriptsβ, βpip3β)()
File β/usr/local/lib/python3.8/dist-packages/pkg_resources/init.pyβ, line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File β/usr/local/lib/python3.8/dist-packages/pkg_resources/init.pyβ, line 2867, in load_entry_point
return ep.load()
File β/usr/local/lib/python3.8/dist-packages/pkg_resources/init.pyβ, line 2471, in load
return self.resolve()
File β/usr/local/lib/python3.8/dist-packages/pkg_resources/init.pyβ, line 2477, in resolve
module = import(self.module_name, fromlist=[βnameβ], level=0)
File β/usr/lib/python3/dist-packages/pip/_internal/cli/main.pyβ, line 10, in
from pip._internal.cli.autocompletion import autocomplete
File β/usr/lib/python3/dist-packages/pip/_internal/cli/autocompletion.pyβ, line 9, in
from pip._internal.cli.main_parser import create_main_parser
File β/usr/lib/python3/dist-packages/pip/_internal/cli/main_parser.pyβ, line 7, in
from pip._internal.cli import cmdoptions
File β/usr/lib/python3/dist-packages/pip/_internal/cli/cmdoptions.pyβ, line 24, in
from pip._internal.exceptions import CommandError
File β/usr/lib/python3/dist-packages/pip/_internal/exceptions.pyβ, line 10, in
from pip._vendor.six import iteritems
File β/usr/lib/python3/dist-packages/pip/_vendor/init.pyβ, line 65, in
vendored(βcachecontrolβ)
File β/usr/lib/python3/dist-packages/pip/_vendor/init.pyβ, line 36, in vendored
import(modulename, globals(), locals(), level=0)
File ββ, line 991, in _find_and_load
File ββ, line 975, in _find_and_load_unlocked
File ββ, line 655, in _load_unlocked
File ββ, line 618, in _load_backward_compatible
File ββ, line 259, in load_module
File β/usr/share/python-wheels/CacheControl-0.12.6-py2.py3-none-any.whl/cachecontrol/init.pyβ, line 9, in
File ββ, line 991, in _find_and_load
File ββ, line 975, in _find_and_load_unlocked
File ββ, line 655, in _load_unlocked
File ββ, line 618, in _load_backward_compatible
File ββ, line 259, in load_module
File β/usr/share/python-wheels/CacheControl-0.12.6-py2.py3-none-any.whl/cachecontrol/wrapper.pyβ, line 1, in
File ββ, line 991, in _find_and_load
File ββ, line 975, in _find_and_load_unlocked
File ββ, line 655, in _load_unlocked
File ββ, line 618, in _load_backward_compatible
File ββ, line 259, in load_module
File β/usr/share/python-wheels/CacheControl-0.12.6-py2.py3-none-any.whl/cachecontrol/adapter.pyβ, line 5, in
File ββ, line 991, in _find_and_load
File ββ, line 975, in _find_and_load_unlocked
File ββ, line 655, in _load_unlocked
File ββ, line 618, in _load_backward_compatible
File ββ, line 259, in load_module
File β/usr/share/python-wheels/requests-2.22.0-py2.py3-none-any.whl/requests/init.pyβ, line 95, in
File ββ, line 991, in _find_and_load
File ββ, line 975, in _find_and_load_unlocked
File ββ, line 655, in _load_unlocked
File ββ, line 618, in _load_backward_compatible
File ββ, line 259, in load_module
File β/usr/share/python-wheels/urllib3-1.25.8-py2.py3-none-any.whl/urllib3/contrib/pyopenssl.pyβ, line 46, in
File β/usr/lib/python3/dist-packages/OpenSSL/init.pyβ, line 8, in
from OpenSSL import crypto, SSL
File β/usr/lib/python3/dist-packages/OpenSSL/crypto.pyβ, line 1553, in
class X509StoreFlags(object):
File β/usr/lib/python3/dist-packages/OpenSSL/crypto.pyβ, line 1573, in X509StoreFlags
CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
AttributeError: module βlibβ has no attribute βX509_V_FLAG_CB_ISSUER_CHECKβ