gpt4 book ai didi

python - dyld:库未加载:/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/Python

转载 作者:行者123 更新时间:2023-12-03 17:01:47 25 4
gpt4 key购买 nike

尝试通过 pycharm 运行简单的 python3 代码时,出现以下错误

/Users/slimerski/PycharmProjects/studia/venv/bin/python /Users/slimerski/PycharmProjects/studia/zadania_14.py dyld: Library not loaded: /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/Python Referenced from: /Users/slimerski/PycharmProjects/studia/venv/bin/python Reason: image not found

Process finished with exit code 134 (interrupted by signal 6: SIGABRT)



一切正常,直到最近我安装了 zsh 并通过 brew 更新了 xcode。
我试过用 otool -L exefile 修复它但相反我收到另一个错误

/Library/Developer/CommandLineTools/usr/bin/objdump: error: 'exefile': No such file or directory.



反正有办法解决吗?

最佳答案

也许你卸载那个版本的python,在这种情况下是3.7...你必须重新下载并执行

关于python - dyld:库未加载:/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/Python,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59800501/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com