We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
跑 Shioaji docker image 最新版本,無法 import shioaji,會出現以下錯誤訊息
ImportError: cannot import name ‘Self‘ from ‘typing_extensions‘
查詢了資料,原因是 Shioaji docker image 最新版本中的 Python 版本較舊所導致 (Python 3.8) 需要更新 typing-extensions 套件,才能夠正常 import shioaji
以 pip 更新 typing-extensions 套件
pip install typing-extensions --upgrade
之後就能正常執行 import shioaji
建議在 Docker image 要加上上述 typing-extensions 套件的升級,或是將 Python 版本更新為 3.11
The text was updated successfully, but these errors were encountered:
No branches or pull requests
跑 Shioaji docker image 最新版本,無法 import shioaji,會出現以下錯誤訊息
ImportError: cannot import name ‘Self‘ from ‘typing_extensions‘
查詢了資料,原因是 Shioaji docker image 最新版本中的 Python 版本較舊所導致 (Python 3.8)
需要更新 typing-extensions 套件,才能夠正常 import shioaji
以 pip 更新 typing-extensions 套件
pip install typing-extensions --upgrade
之後就能正常執行 import shioaji
建議在 Docker image 要加上上述 typing-extensions 套件的升級,或是將 Python 版本更新為 3.11
The text was updated successfully, but these errors were encountered: