akynazh / tg-search-bot

A telegram bot for searching and auto-saving.
GNU General Public License v3.0
185 stars 28 forks source link

docker pip error #14

Closed lancer-wang closed 1 year ago

lancer-wang commented 1 year ago

image

 > [4/4] RUN pip3 install -U -r requirements.txt:                                                                                                                                                                                                                                                                              
#0 2.546 Collecting Jvav==1.4.1                                                                                                                                                                                                                                                                                                
#0 2.921   Downloading Jvav-1.4.1-py3-none-any.whl (29 kB)                                                                                                                                                                                                                                                                     
#0 2.954 Collecting langdetect==1.0.9                                                                                                                                                                                                                                                                                          
#0 2.964   Downloading langdetect-1.0.9.tar.gz (981 kB)                                                                                                                                                                                                                                                                        
#0 3.022      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 981.5/981.5 kB 18.1 MB/s eta 0:00:00
#0 3.070   Preparing metadata (setup.py): started
#0 3.649   Preparing metadata (setup.py): finished with status 'done'
#0 3.994 Collecting Pyrogram==2.0.92
#0 4.239   Downloading Pyrogram-2.0.92-py3-none-any.whl (3.4 MB)
#0 6.589      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 1.5 MB/s eta 0:00:00
#0 6.881 Collecting pyTelegramBotAPI==4.13.0
#0 6.891   Downloading pyTelegramBotAPI-4.13.0.tar.gz (232 kB)
#0 6.901      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 232.8/232.8 kB 34.1 MB/s eta 0:00:00
#0 6.926   Preparing metadata (setup.py): started
#0 7.206   Preparing metadata (setup.py): finished with status 'done'
#0 7.219 ERROR: Cannot install pyTelegramBotAPI==4.13.0 and pyTelegramBotAPI==4.14.0 because these package versions have conflicting dependencies.
#0 7.220 
#0 7.220 The conflict is caused by:
#0 7.220     The user requested pyTelegramBotAPI==4.13.0
#0 7.220     The user requested pyTelegramBotAPI==4.14.0
lancer-wang commented 1 year ago

image 你们这个requirements.txt 怎么是这样的。。。

lancer-wang commented 1 year ago

这里好像也有问题

akynazh commented 1 year ago

image 你们这个requirements.txt 怎么是这样的。。。

这个之前有一次构建依赖时出错忘记更新代码了,感谢提醒