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 python3版本。我已经安装了所有指定的依赖项,但是,在make过程中,该过程失败并出现以下错误。
因此我不能再继续下去了。请在这方面提供帮助。提前谢谢。
发布于 2019-01-22 17:21:34
我把它安装在Ubuntu18.4LTS上,但我的解决方案是关注this网站。
这也可能会有所帮助:
sudo apt-get -y install python-dev
sudo apt-get -y install libboost-all-dev
sudo apt-get -y install libfreetype6-dev libpng-dev你可能想看看this的帖子。
https://stackoverflow.com/questions/53019374
复制相似问题