python3.8.3好用吗_python使用3.8.3版本,存在报错
因為官網(wǎng)沒有3.6版本的下載,所以嘗試的3.8版本
執(zhí)行完
pip install -r requirements.txt
后
報錯如下
`python telegram-asf.py
使用默認(rèn)路徑載入配置文件
C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\telegram\vendor\ptb_urllib3\urllib3\contrib\socks.py:32:
DependencyWarning: SOCKS support in urllib3 requires the installation of
optional dependencies: specifically, PySocks. For more information, see
https://urllib3.readthedocs.io/en/latest/contrib.html#socks-proxies
warnings.warn((
Traceback (most recent call last):
File
"C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\telegram\utils\request.py",
line 151, in *init*
from telegram.vendor.ptb_urllib3.urllib3.contrib.socks import
SOCKSProxyManager
File
"C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\telegram\vendor\ptb_urllib3\urllib3\contrib\socks.py",
line 27, in
import socks
ModuleNotFoundError: No module named 'socks'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "telegram-asf.py", line 40, in
updater = Updater(token, request_kwargs={'proxy_url': proxy})
File
"C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\telegram\ext\updater.py",
line 159, in *init*
self._request = Request(**request_kwargs)
File
"C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\telegram\utils\request.py",
line 153, in *init*
raise RuntimeError('PySocks is missing')
RuntimeError: PySocks is missing`
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
, or unsubscribe
.
總結(jié)
以上是生活随笔為你收集整理的python3.8.3好用吗_python使用3.8.3版本,存在报错的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 单元测试(Unit Test)学习
- 下一篇: android翻页实现原理