我用pip install pyenv 执行命令,结果出现下面的错误
Collecting pyenv
Downloading pyenv-0.0.1.tar.gz (1.4 kB)
Preparing metadata (setup.py) … done
Building wheels for collected packages: pyenv
Building wheel for pyenv (setup.py) … error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [25 lines of output]
running bdist_wheel
running build
D:\Anaconda3\Lib\site-packages\setuptools_distutils\cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
installing to build\bdist.win-amd64\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
Running setup.py clean for pyenv
Failed to build pyenv
ERROR: Could not build wheels for pyenv, which is required to install pyproject.toml-based projects