0
点赞
收藏
分享

微信扫一扫

bug记录

妖妖妈 2022-03-26 阅读 87

报错ValueError: check_hostname requires server_hostname通常是因为版本冲突等原因, 查遍网上众多大佬总结的经验后,最终发现是由网络代理导致的问题,即我们通常说的vpn问题。

关掉VPN后问题解决 ,scikit-image库成功安装!
————————————————
原文:https://blog.csdn.net/u010037715/article/details/118277228

出现了 ImportError: cannot import name ‘imread’ from ‘scipy.misc’ 这样的错误, 那么问题代码通常是导入 scipy库的版本出现了问题。

解决方法:
pip install scipy==1.2.0
1.#将scipy库的版本还原至1.2.0版本

from imageio import imread

2.#使用imageio库同样能够完成此功能
————————————————

问题报错:OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.
king of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK =TRUE to allow the program to continue to execute, but that may cause crashes or silently produce
解决办法:

import os
os.environ['KMP_DUPLICATE_LIB_OK'] = 'TRUE'

————————————————

举报

相关推荐

bug场景记录

记录springboot bug

恐怖的Bug记录

记录bug1

前端小bug记录

课堂考勤管理系统——BUG记录

element-ui的bug记录

0 条评论