染个代码 2021-08-20 17:18 采纳率: 75%
浏览 297
已结题

mac下pip安装jupyter出现如下错误如何解决


Building wheel for argon2-cffi (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/houhaochen/miniforge3/envs/test/bin/python3.9 /Users/houhaochen/miniforge3/envs/test/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /var/folders/kj/k8h4t2n97rsfvn5xqt8yv_4m0000gn/T/tmpvq3su3ul
       cwd: /private/var/folders/kj/k8h4t2n97rsfvn5xqt8yv_4m0000gn/T/pip-install-6ncqizmp/argon2-cffi_8543c9cb91b04a1985f75d7f6c461ccf
  Complete output (29 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-11.0-arm64-3.9
  creating build/lib.macosx-11.0-arm64-3.9/argon2
  copying src/argon2/__init__.py -> build/lib.macosx-11.0-arm64-3.9/argon2
  copying src/argon2/low_level.py -> build/lib.macosx-11.0-arm64-3.9/argon2
  copying src/argon2/_ffi_build.py -> build/lib.macosx-11.0-arm64-3.9/argon2
  copying src/argon2/_password_hasher.py -> build/lib.macosx-11.0-arm64-3.9/argon2
  copying src/argon2/exceptions.py -> build/lib.macosx-11.0-arm64-3.9/argon2
  copying src/argon2/_legacy.py -> build/lib.macosx-11.0-arm64-3.9/argon2
  copying src/argon2/__main__.py -> build/lib.macosx-11.0-arm64-3.9/argon2
  copying src/argon2/_utils.py -> build/lib.macosx-11.0-arm64-3.9/argon2
  running build_clib
  building 'argon2' library
  creating build/temp.macosx-11.0-arm64-3.9
  creating build/temp.macosx-11.0-arm64-3.9/extras
  creating build/temp.macosx-11.0-arm64-3.9/extras/libargon2
  creating build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src
  creating build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/blake2
  clang -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/houhaochen/miniforge3/envs/test/include -arch arm64 -fPIC -O2 -isystem /Users/houhaochen/miniforge3/envs/test/include -arch arm64 -Iextras/libargon2/src/../include -Iextras/libargon2/src/blake2 -c extras/libargon2/src/argon2.c -o build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/argon2.o
  clang -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/houhaochen/miniforge3/envs/test/include -arch arm64 -fPIC -O2 -isystem /Users/houhaochen/miniforge3/envs/test/include -arch arm64 -Iextras/libargon2/src/../include -Iextras/libargon2/src/blake2 -c extras/libargon2/src/blake2/blake2b.c -o build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/blake2/blake2b.o
  clang -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/houhaochen/miniforge3/envs/test/include -arch arm64 -fPIC -O2 -isystem /Users/houhaochen/miniforge3/envs/test/include -arch arm64 -Iextras/libargon2/src/../include -Iextras/libargon2/src/blake2 -c extras/libargon2/src/core.c -o build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/core.o
  clang -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/houhaochen/miniforge3/envs/test/include -arch arm64 -fPIC -O2 -isystem /Users/houhaochen/miniforge3/envs/test/include -arch arm64 -Iextras/libargon2/src/../include -Iextras/libargon2/src/blake2 -c extras/libargon2/src/encoding.c -o build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/encoding.o
  clang -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/houhaochen/miniforge3/envs/test/include -arch arm64 -fPIC -O2 -isystem /Users/houhaochen/miniforge3/envs/test/include -arch arm64 -Iextras/libargon2/src/../include -Iextras/libargon2/src/blake2 -c extras/libargon2/src/ref.c -o build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/ref.o
  clang -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/houhaochen/miniforge3/envs/test/include -arch arm64 -fPIC -O2 -isystem /Users/houhaochen/miniforge3/envs/test/include -arch arm64 -Iextras/libargon2/src/../include -Iextras/libargon2/src/blake2 -c extras/libargon2/src/thread.c -o build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/thread.o
  /Users/runner/miniforge3/conda-bld/python-split_1606376618783/_build_env/bin/llvm-ar rcs build/temp.macosx-11.0-arm64-3.9/libargon2.a build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/argon2.o build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/blake2/blake2b.o build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/core.o build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/encoding.o build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/ref.o build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/thread.o
  error: command '/Users/runner/miniforge3/conda-bld/python-split_1606376618783/_build_env/bin/llvm-ar' failed: No such file or directory
  ----------------------------------------
  ERROR: Failed building wheel for argon2-cffi
  Building wheel for pandocfilters (setup.py) ... done
  Created wheel for pandocfilters: filename=pandocfilters-1.4.3-py3-none-any.whl size=8006 sha256=fdb62fa8e215897c3d714d667b4f1ac2e3837f34474ed33770848a3bfcd7c25f
  Stored in directory: /Users/houhaochen/Library/Caches/pip/wheels/fa/fe/43/b15d89339fe4f7d764fc98f2c2bce2c7c3f54ce0fe8f7d92fa
Successfully built tornado pyrsistent pandocfilters
Failed to build argon2-cffi
ERROR: Could not build wheels for argon2-cffi which use PEP 517 and cannot be installed directly
  • 写回答

2条回答 默认 最新

查看更多回答(1条)

报告相同问题?

问题事件

  • 系统已结题 12月22日
  • 已采纳回答 12月14日
  • 创建了问题 8月20日

悬赏问题

  • ¥15 VB.NET操作免驱摄像头
  • ¥15 笔记本上移动热点开关状态查询
  • ¥85 类鸟群Boids——仿真鸟群避障的相关问题
  • ¥15 CFEDEM自带算例错误,如何解决?
  • ¥15 有没有会使用flac3d软件的家人
  • ¥20 360摄像头无法解绑使用,请教解绑当前账号绑定问题,
  • ¥15 docker实践项目
  • ¥15 利用pthon计算薄膜结构的光导纳
  • ¥15 海康hlss视频流怎么播放
  • ¥15 Paddleocr:out of memory error on GPU