离线安装第三方库报错 ERROR: No matching distribution found for setuptools>=40.8.0

最近在写一个小软件,在自己的笔记本编译运行都没问题,离线下载依赖库在局域网安装时,报以下错误,请各位大侠帮忙。谢谢!

(venv) D:\CODE\fyparrot-master>pip install --no-index --find-links D:\\fyparrot_lib6 -r d:\requirements.txt
Looking in links: d:\\fyparrot_lib6
Collecting alembic==1.4.2 (from -r d:\requirements.txt (line 1))
  Installing build dependencies ... error
  ERROR: Command errored out with exit status 1:
   command: 'c:\program files\python\python38\python.exe' 'c:\program files\python\python38\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\Administrator\AppData\Local\Temp\2\pip-build-env-qm9q3xmm\overla
y' --no-warn-script-location --no-binary :none: --only-binary :none: --no-index --find-links 'D:\\fyparrot_lib6' -- 'setuptools>=40.8.0' wheel
       cwd: None
  Complete output (4 lines):
  Looking in links: d:\\fyparrot_lib6
  Collecting setuptools>=40.8.0
    ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
  ERROR: No matching distribution found for setuptools>=40.8.0
  ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\program files\python\python38\python.exe' 'c:\program files\python\python38\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\Administrator\AppData\Local\T
emp\2\pip-build-env-qm9q3xmm\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: --no-index --find-links 'D:\\fyparrot_lib6' -- 'setuptools>=40.8.0' wheel Check the logs for full command output.

把 alembic版本改为1.4.1 就可以了。搞不明白哦

估计是因为 Alembic 1.4.2 依赖 setuptools>=40.8.0,但是你下载的依赖包 setuptools 版本低于 40.8.0。