![](https://img-blog.csdnimg.cn/20190927151101105.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
TroubleShooting
记录
woleto
这个作者很懒,什么都没留下…
展开
-
Could not build wheels for opencv-python-headless which use PEP 517 and cannot be installed directly
1. case重现笔者是python环境下安装albumentations出现的,该库经常用于图像增强,在cv领域有很大的知名度。在使用下边的命令进行安装后pip install albumentations就报了ERROR:Could not build wheels for opencv-python-headless which use PEP 517 and cannot be installed directly。2. 原因及解决方案albumentations库依赖opencv,在直原创 2022-03-15 19:56:14 · 9963 阅读 · 3 评论 -
Error: Numpy + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp-a34b3233.so.
出现问题Error: Numpy + Intel® MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp-a34b3233.so.1 library.Try to import numpy first or set the threading layer accordingly. Set NPY_MKL_FORCE_INTEL to force it.解决方法 export NPY_MKL_FORCE_INTEL=1...原创 2021-09-15 14:52:05 · 578 阅读 · 0 评论 -
docker ubuntu16.04 opencv-python 报错 ImportError: libGL.so.1和 libgthread-2.0.so.0
报错信息ImportError: libGL.so.1: cannot open shared object file: No such file or directoryImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory解决方法libGL.so.1 apt-get update apt-get install -y libgl1-mesa-devli原创 2021-09-15 14:10:31 · 207 阅读 · 0 评论 -
记一次外部无法访问docker内部端口case
1. case重现训练模型后用flask简单封一下,构造成rest服务,以前没使用docker,现在是在此基础上加上docker,并在外部访问。1.1 没有暴露docker内部端口这是遇到的第一个问题,需要在docker内部指定暴露的端口,这里选择了默认的5000,暴露方式有很多,我选择了在Dockerfile中进行指定:ENV LISTEN_PORT 5000EXPOSE 50001.2 flask代码没有指定host这个是个大坑,把一切准备好之后,docker内部可以访问,外部死活就是访原创 2021-07-16 17:19:30 · 561 阅读 · 0 评论