新手在mac上無法使用shioaji

有任何提問的都來這
回覆文章
sacc97
文章: 1
註冊時間: 2023-10-11, 00:54

新手在mac上無法使用shioaji

文章 sacc97 »

我在mac 上使用docker安裝 shioaji,顯示下面錯誤訊息.該怎麼安裝.


“”“
* 正在執行的工作: docker build --pull --rm -f "Shioaji/Dockerfile" -t scr:latest "Shioaji"

[+] Building 4.1s (5/5) FINISHED docker:desktop-linux
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 139B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/python:3.7-slim 2.5s
=> CACHED [1/2] FROM docker.io/library/python:3.7-slim@sha256:b53f496ca43e5af6994f8e316cf03af31050bf7944e0e4a308ad86c0 0.0s
=> ERROR [2/2] RUN pip install shioaji==1.1.12 1.5s
------
> [2/2] RUN pip install shioaji==1.1.12:
1.211 ERROR: Could not find a version that satisfies the requirement shioaji==1.1.12 (from versions: none)
1.211 ERROR: No matching distribution found for shioaji==1.1.12
1.479
1.479 [notice] A new release of pip is available: 23.0.1 -> 23.2.1
1.479 [notice] To update, run: pip install --upgrade pip
------
Dockerfile:3
--------------------
1 | FROM python:3.7-slim
2 |
3 | >>> RUN pip install shioaji==1.1.12
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install shioaji==1.1.12" did not complete successfully: exit code: 1
”“”
回覆文章