Tag: macOS
All the articles with the tag "macOS".
解决 Docker 错误:'OSError: cannot open shared object file: No such file or directory'
Published: at 01:52 PM在 macOS M1 芯片上运行 Docker 时,遇到错误'OSError: /root/.cache/pypoetry/virtualenvs/chatbot-twitter-9TtSrW0h-py3.11/lib/python3.11/site-packages/tls_client/dependencies/tls-client-amd64.so: cannot open shared object file: No such file or directory'。该错误是因为使用了错误的架构。解决方法是在 Dockerfile 中指定 `--platform=amd64` 来使用 amd64 镜像。