我正试图按照官方指南在erdpy上安装macOS,我成功地下载了erdpy-up,当我运行它时,我收到以下错误:
File "/opt/homebrew/Cellar/python@3.8/3.8.12/Frameworks/Python.framework/Versions/3.8/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "setup.py", line 161, in run
raise Exception("ERROR: The 'make' utility is missing from PATH")
Exception: ERROR: The 'make' utility is missing from PATH
----------------------------------------
ERROR: Failed building wheel for pynacl
Failed to build pynacl
ERROR: Could not build wheels for pynacl which use PEP 517 and cannot be installed directly
CRITICAL:installer:Could not install erdpy.在此之前,我看到:
Using legacy 'setup.py install' for cffi, since package 'wheel' is not installed.
Using legacy 'setup.py install' for pycryptodomex, since package 'wheel' is not installed.
Building wheels for collected packages: pynacl
Building wheel for pynacl (PEP 517) ... error尝试使用brew安装libsodium,但erdpy安装仍然失败。
还有其他方法来安装/构建它吗?
发布于 2021-10-04 15:12:15
我的系统上安装了make。日志消息不太清楚,但最后我想出了如何在我的Mac上安装erdpy。我首先安装了libsodium
brew install libsodium然后我使用pip3安装了pip3
pip3 install --user --upgrade --no-cache-dir erdpy然后erdpy -v返回
erdpy 1.0.18发布于 2021-10-13 21:47:04
您还可以使用source ~/elrondsdk/erdpy-activate激活virtualenv,然后使用pip3 install --upgrade --no-cache-dir erdpy。
发布于 2022-03-01 02:31:01
如果你有M1处理器,它不会安装在Mac上。您必须远程连接到linux系统。VS代码能够做到这一点,或者您可以使用parallels并在本地运行linux。
https://stackoverflow.com/questions/69386409
复制相似问题