我在我的桌面(Windows)上可以正常工作,但它拒绝安装在我的 MacBook 上。我对 Python 开发和安装新库比较陌生,所以也许我遗漏了一些东西。我的机器上有 Python 3.6 和 3.7(这是一个可能的问题吗?)。Lief 似乎支持 Python 3.6,但我似乎无法使用“pip installlief”或“pip3 installlief”安装它。我已经更新了 setuptools 但这似乎也没有任何区别。
终端:
[Bens-MacBook-Pro-2:Downloads bluchterhand$ pip3 install lief
Collecting lief
Using cached https://files.pythonhosted.org/packages/cd/0e/0d6f3357975dd1530aeb4b4a84a99d493775391758378fb5109f47b613f9/lief-0.9.0.zip
Building wheels for collected packages: lief
Building wheel for lief (setup.py) ... error
Complete output from command /Library/Frameworks/Python.framework/Versions/3.6/bin/python3 -u -c "import setuptools, tokenize;__file__='/private/var/folders/hp/ggfhzr7n133cr3csm59kdvs80000gn/T/pip-install-g3m0_dgi/lief/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /private/var/folders/hp/ggfhzr7n133cr3csm59kdvs80000gn/T/pip-wheel-mme5acjc --python-tag cp36:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.6-intel-3.6
creating build/lib.macosx-10.6-intel-3.6/lief
copying lief/__init__.py -> build/lib.macosx-10.6-intel-3.6/lief
running build_ext
Url: https://github.com/lief-project/LIEF/releases/download/0.9.0/lief-0.9.0-py3.6-osx.egg
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:748)>
最为显着地; 它无法构建轮子。我已经多次安装轮子,认为安装可能已损坏,但我认为不再是这种情况。有人有想法么?
冉冉说
相关分类