یلدا ادامه داره... ❤️ ۴۰ درصد تخفیف همه دورهها
استفاده از تخفیفهادرود. من سعی کردم کتابخانه python-telegram-bot رو از طریق
`pip install python-telegram-bot'
نصب کنم که با ارور
Requirement already satisfied: pip in c:\users\dp\appdata\local\programs\python\python312\lib\site-packages (24.0)
مواجه شدم.
از طریق pycharm هم خواستم اقدام کنم یه اروری داد که تهش گفت ورژن pip شما 21 هست و 24 رو بگیرید
پس
py -m ensurepip --upgrade
رو اجرا کردم که اینو داد
Requirement already satisfied: pip in c:\users\dp\appdata\local\programs\python\python312\lib\site-packages (24.0)
تو forum های خارجی که جستجو کردم میگفتن که باید از این کامند
pip install --default-timeout=100 [future]
استفاده کنی .زدم و این اومد
Collecting future
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=100.0)")': /packages/da/71/ae30dadffc90b9006d77af76b393cb9dfbfc9629f339fc1574a1c52e6806/future-1.0.0-py3-none-any.whl.metadata
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=100.0)")': /packages/da/71/ae30dadffc90b9006d77af76b393cb9dfbfc9629f339fc1574a1c52e6806/future-1.0.0-py3-none-any.whl.metadata
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=100.0)")': /packages/da/71/ae30dadffc90b9006d77af76b393cb9dfbfc9629f339fc1574a1c52e6806/future-1.0.0-py3-none-any.whl.metadata
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=100.0)")': /packages/da/71/ae30dadffc90b9006d77af76b393cb9dfbfc9629f339fc1574a1c52e6806/future-1.0.0-py3-none-any.whl.metadata
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=100.0)")': /packages/da/71/ae30dadffc90b9006d77af76b393cb9dfbfc9629f339fc1574a1c52e6806/future-1.0.0-py3-none-any.whl.metadata
ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/da/71/ae30dadffc90b9006d77af76b393cb9dfbfc9629f339fc1574a1c52e6806/future-1.0.0-py3-none-any.whl.metadata (Caused by ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=100.0)"))
کسی راه حلی نداره؟ورژن پایتونم 3.10 هست
Collecting python-telegram-bot
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /packages/cf/28/14f0aa9810efddae98d24fc6c2efe736df5a8c3aadbcddc6e72fb181d9d4/python_telegram_bot-21.1.1-py3-none-any.whl
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /packages/cf/28/14f0aa9810efddae98d24fc6c2efe736df5a8c3aadbcddc6e72fb181d9d4/python_telegram_bot-21.1.1-py3-none-any.whl
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /packages/cf/28/14f0aa9810efddae98d24fc6c2efe736df5a8c3aadbcddc6e72fb181d9d4/python_telegram_bot-21.1.1-py3-none-any.whl
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /packages/cf/28/14f0aa9810efddae98d24fc6c2efe736df5a8c3aadbcddc6e72fb181d9d4/python_telegram_bot-21.1.1-py3-none-any.whl
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /packages/cf/28/14f0aa9810efddae98d24fc6c2efe736df5a8c3aadbcddc6e72fb181d9d4/python_telegram_bot-21.1.1-py3-none-any.whl
ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/cf/28/14f0aa9810efddae98d24fc6c2efe736df5a8c3aadbcddc6e72fb181d9d4/python_telegram_bot-21.1.1-py3-none-any.whl (Caused by ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)"))
تو قسمت packages هم چیزی اضافه نشده
آیا مایل به ارسال نوتیفیکیشن و اخبار از طرف راکت هستید ؟