testerSunshine / 12306

12306智能刷票,订票
MIT License
33.76k stars 9.79k forks source link

清华源可能不提供ntplib 0.3.3了请及时更新到0.3.4 #811

Open Thiasap opened 3 years ago

Thiasap commented 3 years ago

描述问题

docker 安装失败,找不到ntplib 0.3.3

重现步骤

docker正常安装

截图&日志

Step 11/13 : RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --no-cache-dir -r requirements-docker37.txt
 ---> Running in 747345d63cad
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting bs4==0.0.1
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/10/ed/7e8b97591f6f456174139ec089c769f89a94a1a4025fe967691de971f314/bs4-0.0.1.tar.gz
Collecting requests==2.18.4
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/49/df/50aa1999ab9bde74656c2919d9c0c085fd2b3775fd3eca826012bef76d8c/requests-2.18.4-py2.py3-none-any.whl (88kB)
Collecting Pillow
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/33/34/542152297dcc6c47a9dcb0685eac6d652d878ed3cea83bf2b23cb988e857/Pillow-8.2.0-cp37-cp37m-manylinux1_x86_64.whl (3.0MB)
Collecting wrapcache==1.0.8
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/39/5f/fee52c29d0887a0457f256d7503d2bea1ad3fe9d02d269b1374db400a757/wrapcache-1.0.8.zip
ERROR: Could not find a version that satisfies the requirement ntplib==0.3.3 (from -r requirements-docker37.txt (line 5)) (from versions: 0.3.4)
**ERROR: No matching distribution found for ntplib==0.3.3 (from -r requirements-docker37.txt (line 5))
WARNING: You are using pip version 19.3.1; however, version 21.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
ERROR: Service 'ticket' failed to build: The command '/bin/sh -c pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --no-cache-dir -r requirements-docker37.txt' returned a non-zero code: 1**

环境信息 ubuntu docker安装,截至Commits on Jan 4, 2021

额外的备注

XoEvn commented 3 years ago

same issues

Thiasap commented 3 years ago

same issues

Edit requirements-docker37.txt and change ntplib==0.3.3 to ntplib==0.3.4

gzldc commented 2 years ago

可以提交pr