-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
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 安裝問題 #154
Comments
我剛使用自己電腦用pip install安裝也有一樣的訊息,但發現是M1晶片的問題,這套件只能用舊版intel晶片。 |
Thanks, it works for me! |
m1 都出來多久了,居然還沒相容 arm 架構 ... |
不好意思 底層的一些原件原廠還沒釋出對應的平台,未來會提供,如果需要ARM先找同業吧~~(如果有的話) |
@htaiwan 可以確認一下你的 python 是不是 x86 的 我是 M1 Pro,我這樣做可以成功,給你參考
安裝 x86 python 可以參考這篇: https://tocandraw.com/coding/python/1703/ |
我也是 Mac M1 正準備開始測試 API。 目前看起來在 docker run -it --rm --platform=linux/amd64 sinotrade/shioaji
Python 3.7.17 (default, Sep 20 2023, 11:59:52)
[GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 參考:https://stackoverflow.com/questions/67458621/how-to-run-amd64-docker-image-on-arm64-host-platform 看起來應該是要有 rosetta 運作中 (沒有測試) 檢查方式: pgrep -q oahd && echo "rosetta installed"
# rosetta installed 我是用 OrbStack 目前能 Noteworkflow 說不定可以考慮更新 multi-platfrom build: ...
name: Build and push
uses: docker/build-push-action@v2
with:
platforms: linux/amd64,linux/arm64
push: true
tags: user/app:latest
不過我不確定目前會不會因為這樣反而 build 失敗。 |
MacOS: 13.5.2 apple silicon
Python: 3.10.6
conda: 23.3.1
使用 poetry 安裝
使用 pip 安裝
The text was updated successfully, but these errors were encountered: