按照您回复的信息,下载了最新版本的WHL文件2.0.3版本,并按社区模型量化部分中教程进行安装(使用的是清华的源):$ python3 -m pip install xquant-2.0.3-py3-none-any.whl --extra-index-url Simple Index
提示仍然是连接不成功:
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.org/simple, Simple Index
Processing ./xquant-2.0.3-py3-none-any.whl
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘NewConnectionError(’<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fcec531ed40>: Failed to establish a new connection: [Errno 101] Network is unreachable’)': /simple/onnxconverter-common/
随后用电脑和手机都测试了清华源的网址,发现能连接,但是随后就不响应了,请问还能有什么方法解决,或者,还有什么方式能进行模型量化?
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [40 lines of output]
/usr/lib/python3/dist-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
。。。
ERROR: Could not find a version that satisfies the requirement appdirs<1.5,>=1.4 (from versions: none)
ERROR: No matching distribution found for appdirs<1.5,>=1.4
发现在下载依赖nvidia-pyindex时就报错,不知是什么原因?