小编eve*_*unt的帖子

在虚拟环境中安装brew后,诗歌返回“dyld:库未加载...未找到图像”

brew install postgresql在诗歌环境中跑步。从此以后,我就无法与诗互动了。

\n
\xce\xbb ~/ poetry\ndyld: Library not loaded: /usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/Python\n  Referenced from: /Users/<my username>/Library/Application Support/pypoetry/venv/bin/python\n  Reason: image not found\n[1]    5634 abort      poetry\n
Run Code Online (Sandbox Code Playgroud)\n

当我尝试时,我得到相同的输出poetry <any other command>。我尝试删除我的虚拟环境,\xce\xbb ~/Library/Caches/pypoetry/virtualenvs/希望能够从.toml项目中的文件重新安装它们,但无法运行poetry install,因为我收到相同的错误。

\n

我正在运行 MacOS 10.15.7、Homebrew 3.3.12、poetry 1.1.12 和 pyenv 2.2.4。

\n
ECHO $PATH\n/Users/<my username>/.poetry/bin:~/.local/bin:/Users/<my username>/Library/Python/3.9/bin:/shims:/Users/<my username>/.datacoral/cli/bin:/Users/<my username>/.nvm/versions/node/v12.13.0/bin:/Users/<my username>/bin:/usr/local/bin:/Users/<my username>/.pyenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/<my username>/.local/bin:/Users/<my username>/.local/bin\n
Run Code Online (Sandbox Code Playgroud)\n

homebrew python-3.x pyenv virtual-environment python-poetry

31
推荐指数
5
解决办法
1万
查看次数