2
Setup build/staging directories
set -x
set +x
Building the Charm Framework
/usr/bin/python3 setup.py build  
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.42.tar.gz
Traceback (most recent call last):
  File "/home/dslab/Downloads/Charm-Crypto-0.43/distribute_setup.py", line 143, in use_setuptools
    raise ImportError
ImportError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "setup.py", line 2, in <module>
    use_setuptools() #bootstrap installs Distribute if not installed
  File "/home/dslab/Downloads/Charm-Crypto-0.43/distribute_setup.py", line 145, in use_setuptools
    return _do_download(version, download_base, to_dir, download_delay)
  File "/home/dslab/Downloads/Charm-Crypto-0.43/distribute_setup.py", line 124, in _do_download
    to_dir, download_delay)
  File "/home/dslab/Downloads/Charm-Crypto-0.43/distribute_setup.py", line 193, in download_setuptools
    src = urlopen(url)
  File "/usr/lib/python3.5/urllib/request.py", line 163, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.5/urllib/request.py", line 472, in open
    response = meth(req, response)
  File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.5/urllib/request.py", line 510, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 590, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: SSL is required
Makefile:27: recipe for target 'all' failed
make: *** [all] Error 1

我试图在 Ubuntu 16.04 上安装 Charm-crypto python 3 版本。我已经安装了所有指定的依赖项,但是,该过程在 make 过程中失败并出现以下错误。

因此,我无法继续进行。请在这方面提供帮助。提前致谢。

4

1 回答 1

0

我在 Ubuntu 18.4 LTS 上安装它,但我的解决方案是关注这个网站。

这也可能有帮助:

sudo apt-get -y install python-dev
sudo apt-get -y install libboost-all-dev
sudo apt-get -y install libfreetype6-dev libpng-dev

你可能想看看这篇文章。

于 2019-01-22T09:21:34.053 回答