最近尝试跑诗,虽然突然报:
dyld[56055]: Library not loaded: /opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/Python
Referenced from: <9C874048-0CB3-3B32-B8FC-8C6772F75464> /Users/me/Library/Application Support/pypoetry/venv/bin/python
Reason: tried: '/opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/Python' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/Python' (no such file), '/opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/Python' (no such file)
[1] 56055 abort poetry
不知道我之前做了什么导致了这个。我过去可能安装/卸载了一些无意中导致这种情况的东西。寻找其他帖子,但这些都无法解决问题。重新安装没有帮助。
与错误状态一样,
/3.11.5/
中的文件夹/opt/homebrew/Cellar/[email protected]/
不存在(已检查),因此/opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/Python
丢失。
如果我的假设是正确的,我需要在自制程序中安装 v3.11.5 – 如果是这样,如何安装? (已安装其他版本,如3.11.6)
感谢您的帮助!
总体回答我自己的问题,尽管这绝对不是我的具体问题的答案:
我重新安装了诗歌,删除了它的文件夹,重新启动,一切都很好(再次)。