You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install python telegram bot
Requirement already satisfied: python-telegram-bot in /usr/local/lib/python3.10/dist-packages (21.6)
Collecting httpx~=0.27
Using cached httpx-0.27.2-py3-none-any.whl (76 kB)
Requirement already satisfied: sniffio in /usr/local/lib/python3.10/dist-packages (from httpx~=0.27->python-telegram-bot) (1.3.1)
Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from httpx~=0.27->python-telegram-bot) (2020.6.20)
Requirement already satisfied: anyio in /usr/local/lib/python3.10/dist-packages (from httpx~=0.27->python-telegram-bot) (3.7.1)
Requirement already satisfied: idna in /usr/lib/python3/dist-packages (from httpx~=0.27->python-telegram-bot) (3.3)
Collecting httpcore==1.*
Using cached httpcore-1.0.6-py3-none-any.whl (78 kB)
Requirement already satisfied: h11<0.15,>=0.13 in /usr/local/lib/python3.10/dist-packages (from httpcore==1.*->httpx~=0.27->python-telegram-bot) (0.14.0)
Requirement already satisfied: exceptiongroup in /usr/local/lib/python3.10/dist-packages (from anyio->httpx~=0.27->python-telegram-bot) (1.2.2)
Installing collected packages: httpcore, httpx
Attempting uninstall: httpcore
Found existing installation: httpcore 0.17.3
Uninstalling httpcore-0.17.3:
Successfully uninstalled httpcore-0.17.3
Attempting uninstall: httpx
Found existing installation: httpx 0.24.1
Uninstalling httpx-0.24.1:
Successfully uninstalled httpx-0.24.1
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
signalstickers-client 3.3.0 requires httpx<=0.24.1,>=0.16.1, but you have httpx 0.27.2 which is incompatible.
Successfully installed httpcore-1.0.6 httpx-0.27.2
Install SignalStickers Client
Requirement already satisfied: signalstickers-client in /usr/local/lib/python3.10/dist-packages (3.3.0)
Requirement already satisfied: anyio<4.0.0,>=3.0.0 in /usr/local/lib/python3.10/dist-packages (from signalstickers-client) (3.7.1)
Requirement already satisfied: cryptography<4.0.0,>=3.1.1 in /usr/lib/python3/dist-packages (from signalstickers-client) (3.4.8)
Requirement already satisfied: protobuf<4.0.0,>=3.13.0 in /usr/local/lib/python3.10/dist-packages (from signalstickers-client) (3.20.3)
Collecting httpx<=0.24.1,>=0.16.1
Using cached httpx-0.24.1-py3-none-any.whl (75 kB)
Requirement already satisfied: sniffio>=1.1 in /usr/local/lib/python3.10/dist-packages (from anyio<4.0.0,>=3.0.0->signalstickers-client) (1.3.1)
Requirement already satisfied: idna>=2.8 in /usr/lib/python3/dist-packages (from anyio<4.0.0,>=3.0.0->signalstickers-client) (3.3)
Requirement already satisfied: exceptiongroup in /usr/local/lib/python3.10/dist-packages (from anyio<4.0.0,>=3.0.0->signalstickers-client) (1.2.2)
Collecting httpcore<0.18.0,>=0.15.0
Using cached httpcore-0.17.3-py3-none-any.whl (74 kB)
Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from httpx<=0.24.1,>=0.16.1->signalstickers-client) (2020.6.20)
Requirement already satisfied: h11<0.15,>=0.13 in /usr/local/lib/python3.10/dist-packages (from httpcore<0.18.0,>=0.15.0->httpx<=0.24.1,>=0.16.1->signalstickers-client) (0.14.0)
Installing collected packages: httpcore, httpx
Attempting uninstall: httpcore
Found existing installation: httpcore 1.0.6
Uninstalling httpcore-1.0.6:
Successfully uninstalled httpcore-1.0.6
Attempting uninstall: httpx
Found existing installation: httpx 0.27.2
Uninstalling httpx-0.27.2:
Successfully uninstalled httpx-0.27.2
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
python-telegram-bot 21.6 requires httpx~=0.27, but you have httpx 0.24.1 which is incompatible.
Successfully installed httpcore-0.17.3 httpx-0.24.1
this seems to break the entire script and I cannot download anything, Using the script it only says:
Token found continuing
Please input link to pack to be converted eg https://t.me/addstickers/HalloUtya
https://t.me/addstickers/softnqtcollection
Can't download pack https://t.me/addstickers/softnqtcollection
and using the script directly with python3 download.py pack with pack being a file with the URL to the pack, it gives me a traceback, probably related to httpx being the wrong version:
$ python3 download.py pack
Traceback (most recent call last):
File "/home/cyberdust/signalApngSticker-main/scripts_linux/script_v4/download.py", line 6, in <module>
bot= Bot(token)
File "/usr/local/lib/python3.10/dist-packages/telegram/_bot.py", line 267, in __init__
HTTPXRequest() if get_updates_request is None else get_updates_request,
File "/usr/local/lib/python3.10/dist-packages/telegram/request/_httpxrequest.py", line 205, in __init__
self._client = self._build_client()
File "/usr/local/lib/python3.10/dist-packages/telegram/request/_httpxrequest.py", line 240, in _build_client
return httpx.AsyncClient(**self._client_kwargs)
TypeError: AsyncClient.__init__() got an unexpected keyword argument 'proxy'
Platform is Ubuntu 22.04.5 LTS under WSL.
The text was updated successfully, but these errors were encountered:
When running the script these two things happen:
this seems to break the entire script and I cannot download anything, Using the script it only says:
and using the script directly with
python3 download.py pack
withpack
being a file with the URL to the pack, it gives me a traceback, probably related to httpx being the wrong version:Platform is Ubuntu 22.04.5 LTS under WSL.
The text was updated successfully, but these errors were encountered: