Atlas 200 DK 安装jupyter notebook 或者jupyter Lab 报错ERROR: Failed building wheel for psutil
收藏回复举报
Atlas 200 DK 安装jupyter notebook 或者jupyter Lab 报错ERROR: Failed building wheel for psutil
新人帖
发表于2022-11-06 10:16:08
0 查看
Building wheels for collected packages: psutil 

  Building wheel for psutil (pyproject.toml) ... error 

  error: subprocess-exited-with-error 

 
  × Building wheel for psutil (pyproject.toml) did not run successfully. 

  │ exit code: 1 

  ╰─> [45 lines of output] 

      running bdist_wheel 

      running build 

      running build_py 

      creating build 

      creating build/lib.linux-aarch64-cpython-39 

      creating build/lib.linux-aarch64-cpython-39/psutil 

      copying psutil/_psosx.py -> build/lib.linux-aarch64-cpython-39/psutil 

      copying psutil/_psposix.py -> build/lib.linux-aarch64-cpython-39/psutil 

      copying psutil/_pssunos.py -> build/lib.linux-aarch64-cpython-39/psutil 

      copying psutil/_psaix.py -> build/lib.linux-aarch64-cpython-39/psutil 

      copying psutil/_pswindows.py -> build/lib.linux-aarch64-cpython-39/psutil 

      copying psutil/_pslinux.py -> build/lib.linux-aarch64-cpython-39/psutil 

      copying psutil/_common.py -> build/lib.linux-aarch64-cpython-39/psutil 

      copying psutil/__init__.py -> build/lib.linux-aarch64-cpython-39/psutil 

      copying psutil/_psbsd.py -> build/lib.linux-aarch64-cpython-39/psutil 

      copying psutil/_compat.py -> build/lib.linux-aarch64-cpython-39/psutil 

      creating build/lib.linux-aarch64-cpython-39/psutil/tests 

      copying psutil/tests/test_aix.py -> build/lib.linux-aarch64-cpython-39/psutil/tests 

      copying psutil/tests/test_unicode.py -> build/lib.linux-aarch64-cpython-39/psutil/tests 

      copying psutil/tests/test_bsd.py -> build/lib.linux-aarch64-cpython-39/psutil/tests 

      copying psutil/tests/test_testutils.py -> build/lib.linux-aarch64-cpython-39/psutil/tests 

      copying psutil/tests/test_posix.py -> build/lib.linux-aarch64-cpython-39/psutil/tests 

      copying psutil/tests/test_contracts.py -> build/lib.linux-aarch64-cpython-39/psutil/tests 

      copying psutil/tests/test_memleaks.py -> build/lib.linux-aarch64-cpython-39/psutil/tests 

      copying psutil/tests/test_linux.py -> build/lib.linux-aarch64-cpython-39/psutil/tests 

      copying psutil/tests/__main__.py -> build/lib.linux-aarch64-cpython-39/psutil/tests 

      copying psutil/tests/test_osx.py -> build/lib.linux-aarch64-cpython-39/psutil/tests 

      copying psutil/tests/test_process.py -> build/lib.linux-aarch64-cpython-39/psutil/tests 

      copying psutil/tests/test_system.py -> build/lib.linux-aarch64-cpython-39/psutil/tests 

      copying psutil/tests/test_windows.py -> build/lib.linux-aarch64-cpython-39/psutil/tests 

      copying psutil/tests/__init__.py -> build/lib.linux-aarch64-cpython-39/psutil/tests 

      copying psutil/tests/test_misc.py -> build/lib.linux-aarch64-cpython-39/psutil/tests 

      copying psutil/tests/test_connections.py -> build/lib.linux-aarch64-cpython-39/psutil/tests 

      copying psutil/tests/runner.py -> build/lib.linux-aarch64-cpython-39/psutil/tests 

      copying psutil/tests/test_sunos.py -> build/lib.linux-aarch64-cpython-39/psutil/tests 

      running build_ext 

      building 'psutil._psutil_linux' extension 

      creating build/temp.linux-aarch64-cpython-39 

      creating build/temp.linux-aarch64-cpython-39/psutil 

      gcc -pthread -B /usr/local/miniconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -n1 .2-a+fp16+rcpc+dotprod+crypto -isystem /usr/local/miniconda3/include -I/usr/local/miniconda3/include -fPIC -O2 -n1 .2-a+fp16+rcpc+dotprod+crypto -isystem /usr/local/miniconda3/include -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=593 -DPSUTIL_LINUX=1 -I/usr/local/miniconda3/include/python3.9 -c psutil/_psutil_common.c -o build/temp.linux-aarch64-cpython-39/psutil/_psutil_common.o 

      gcc: error: .2-a+fp16+rcpc+dotprod+crypto: No such file or directory 

      gcc: error: .2-a+fp16+rcpc+dotprod+crypto: No such file or directory 

      gcc: error: unrecognized command line option ‘-n1’; did you mean ‘-n’? 

      gcc: error: unrecognized command line option ‘-n1’; did you mean ‘-n’? 

      error: command '/usr/bin/gcc' failed with exit code 1 

      [end of output] 

 
  note: This error originates from a subprocess, and is likely not a problem with pip. 

  ERROR: Failed building wheel for psutil 

Failed to build psutil 

ERROR: Could not build wheels for psutil, which is required to install pyproject.toml-based projects

本帖最后由 匿名用户 于 2024/06/27 16:37:34 编辑

我要发帖子