python - ImportError:使用 Python 库时找不到图像--pymrmr
问题描述
- pymrmr 版本 - 0.1.8
- Python版本-3.6
- 操作系统 - Mac OS 10.14.5
我想使用 Python 库 --- pymrmr。安装后,导入时出现 ImportError:
import pymrmr
ImportError:dlopen(/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pymrmr.cpython-36m-darwin.so,2):库未加载:/usr/local/opt /libiomp/lib/libiomp5.dylib
引用自:/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pymrmr.cpython-36m-darwin.so 原因:找不到图像
我尝试了一些解决方案:
brew install libomp
和
brew install llvm
但没有一个适合我。
我发现类别----/usr/local/opt/libiomp/
不存在
只有这个目录存在-----/usr/local/opt/libomp/lib/libomp.dylib
这里有什么问题吗?</p>
希望大家可以给我意见。
提前致谢!
解决方案
推荐阅读
- sql - 如何将丢失的元数据合并到 SQL 语句中?
- amazon-web-services - 为什么 AWS 控制台中有两个“无限制更改 T2”选项?
- python - (effeciently) Iterating recursively over multiple dataframes in pandas
- xml - 如何在 Taleo Connect 客户端中使用常量字符串作为投影?
- javascript - React/Redux:TypeError:无法读取未定义的属性“目标”
- node.js - 如何在节点反应网络应用程序上使用heroku
- node.js - 如何使用 passport-jwt 获取用户 ID?
- python - Pandas 使用 DataFrame.query 根据字符串长度过滤字符串数据
- javascript - formCollection 不会从视图中捕获列表框组件
- spring - 如何在 Spring Test 中注册 ApplicationEnvironmentPreparedEvent