[英]pymqi on macos Library not loaded: @rpath/libmqic_r.dylib pymqe
I am running on macOs Mojave and developing a Python project with Intellij.我在 macOs Mojave 上运行并使用 Intellij 开发一个 Python 项目。
Running it produces this error:运行它会产生这个错误:
ImportError: dlopen(/Users/guilhermemarcondes/IdeaProjects/ODOO_ENV2/lib/python3.6/site-packages/pymqi/pymqe.cpython-36m-darwin.so, 2): Library not loaded: @rpath/libmqic_r.dylib
Referenced from: /Users/guilhermemarcondes/IdeaProjects/ODOO_ENV2/lib/python3.6/site-packages/pymqi/pymqe.cpython-36m-darwin.so
Reason: image not found
But got the same error.但得到了同样的错误。
Please help.请帮忙。
Thank you so much for the tip... I did that and it worked as expected when I run via terminal into the virtual environment .非常感谢您的提示...我这样做了,当我通过终端运行到虚拟环境时,它按预期工作。 However when I run the same simple code via IDE pointing to the same virtual env I got the error, so pretty sure is something related to the IDE.. I am using INTELLIJ so not sure what may be the issue
然而,当我通过指向同一个虚拟环境的 IDE 运行相同的简单代码时,我得到了错误,所以很确定与 IDE 相关。我正在使用 INTELLIJ,所以不确定可能是什么问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.