首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Charmcrypto安装: make过程中的ImportError

Charmcrypto安装: make过程中的ImportError
EN

Stack Overflow用户
提问于 2018-10-27 14:37:48
回答 1查看 402关注 0票数 2
代码语言:javascript
复制
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过程中,该过程失败并出现以下错误。

因此我不能再继续下去了。请在这方面提供帮助。提前谢谢。

EN

回答 1

Stack Overflow用户

发布于 2019-01-22 17:21:34

我把它安装在Ubuntu18.4LTS上,但我的解决方案是关注this网站。

这也可能会有所帮助:

代码语言:javascript
复制
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的帖子。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/53019374

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档