请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

macos m1 环境安装 pyenv 报错

➜  bin pip3 install pyenv
Collecting pyenv
  Using cached pyenv-0.0.1.tar.gz (1.4 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: pyenv
  Building wheel for pyenv (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for pyenv (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [12 lines of output]
      running bdist_wheel
      running build
      installing to build/bdist.macosx-10.9-universal2/wheel
      running install
      ############################ NOTE ############################
      We are sorry, but this package is not installable with pip.

      Please read the installation instructions at:

      https://github.com/pyenv/pyenv#installation
      ##############################################################

      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pyenv
Failed to build pyenv
ERROR: Could not build wheels for pyenv, which is required to install pyproject.toml-based projects

怎么才能安装成功啊

正在回答 回答被采纳积分+3

2回答

tomiezhang 2024-04-18 03:48:54

http://149.28.145.211:8008/notebooks/README.ipynb
我线上部署了一套环境固化的教学代码,直接线上运行学习吧。

你这个应该是环境变量没有搞好

2 回复 有任何疑惑可以回复我~
木阿瓜 2024-04-16 22:37:15

可以用 brew来安装 pyenv:     brew install pyenv

1 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信