如何安装pyconcrete ?无法安装并出现异常



下面的命令在执行

时会给出一些异常
pip install pyconcrete==0.15.1

错误:

Collecting pyconcrete
Using cached pyconcrete-0.15.1.tar.gz (49 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Installing collected packages: pyconcrete
DEPRECATION: pyconcrete is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for pyconcrete: started
Running setup.py install for pyconcrete: finished with status 'error'
error: subprocess-exited-with-error
Running setup.py install for pyconcrete did not run successfully.
exit code: 1

最新的pip(22.x)不赞成在pyconcrete中安装旧版本。您可以克隆源代码并独立安装它

获取pyconcrete源代码

$ git clone https://github.com/Falldog/pyconcrete.git

安装pyconcrete

$ python setup.py install

最新更新