赞
踩
WARNING: The repository located at pypi.mirrors.ustc.edu.cn is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we recommend you use HTTPS instead, otherwise you may silence this warning and allow it anyway with '--trusted-host pypi.mirrors.ustc.edu.cn'.
ERROR: Could not find a version that satisfies the requirement setuptools_scm (from versions: none)
ERROR: No matching distribution found for setuptools_scm
E:\guidongxu\Anaconda3\envs\paddle_nlp\lib\site-packages\setuptools\__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
如图所示,安装环境为:
windows10
python=3.7
paddlepaddle=2.4.0
某次安装就会莫名其妙出现这种问题,推测是由于安装包的版本等不兼容导致的,给出的提示是由于安装包出现问题,并不是pip的问题。根据提示,解决方法为:
pip install paddlenlp --use-pep517
在pip安装后加入--use-pep517即可。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。