简体   繁体   English

macos 库上的 pymqi 未加载:@rpath/libmqic_r.dylib pymqe

[英]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
  1. Installed XCODE已安装的 XCODE
  2. Created a ENV from scratch从头开始创建一个 ENV
  3. Download and unzipped the toolkit from mac to OPT/MQM将工具包从 mac 下载并解压到 OPT/MQM
  4. Performed the Export for MQ installation and DYL .为 MQ 安装和 DYL 执行导出。
  5. Install the pymqi安装pymqi

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.

相关问题 macos 库上的 pymqi 未加载:@rpath/libmqic_r.dylib - pymqi on macos Library not loaded: @rpath/libmqic_r.dylib 库未加载:@ rpath / libopenblasp-r0.2.19.dylib - Library not loaded: @rpath/libopenblasp-r0.2.19.dylib 库未加载:@ rpath / libboost_thread.dylib - Library not loaded: @rpath/libboost_thread.dylib 未加载库:@ rpath / libpng16.16.dylib - Library not loaded: @rpath/libpng16.16.dylib 使用 Conda 和 matplotlib 的英特尔 MKL 错误:macOS 上的“库未加载:@rpath/libiomp5.dylib” - Intel MKL error using Conda and matplotlib: "Library not loaded: @rpath/libiomp5.dylib" on macOS 库未加载:@rpath/libmysqlclient.21.dylib 原因:找不到图像 Django 使用 mysqlclient DB 驱动程序迁移错误和 MySQL 8 with macOS - Library not loaded: @rpath/libmysqlclient.21.dylib Reason: image not found Django migrate error using mysqlclient DB driver and MySQL 8 with macOS “未加载库:@ rpath / libcudart.7.5.dylib”Mac上的TensorFlow错误 - 'Library not loaded: @rpath/libcudart.7.5.dylib' TensorFlow Error on Mac fiona ImportError:...库未加载:@rpath/libpoppler.91.dylib - fiona ImportError: ... Library not loaded: @rpath/libpoppler.91.dylib samtools - dyld:库未加载:@rpath/libcrypto.1.0.0.dylib - samtools - dyld: Library not loaded: @rpath/libcrypto.1.0.0.dylib 库未加载:@ rpath / libopenblasp-r0.2.19.dylib multiarray.cpython-36m-darwin.so原因:找不到图像 - Library not loaded: @rpath/libopenblasp-r0.2.19.dylib multiarray.cpython-36m-darwin.so Reason: image not found
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM