JHUISI/charm

error in using the make command on ubuntu 20.04

chaima99 opened this issue · 1 comments

'm trying to install Charm library in python 3.8, but when I use the make command this error occurs, does anyone know how to solve this problem?



ubuntu@ubuntu-VirtualBox:~/Charm-Crypto-0.43$ make
Setup build/staging directories
set -x
set +x
Building the Charm Framework
/usr/bin/python distribute_setup.py
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.42.tar.gz
Traceback (most recent call last):
  File "distribute_setup.py", line 497, in <module>
    main(sys.argv[1:])
  File "distribute_setup.py", line 492, in main
    tarball = download_setuptools()
  File "distribute_setup.py", line 193, in download_setuptools
    src = urlopen(url)
  File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: SSL is required
make: *** [Makefile:28: all] Error 1

Hi @chaima99, this is due to the following URL

DEFAULT_URL = "http://pypi.python.org/packages/source/d/distribute/"

that uses http rather than https protocol.