[求助问答]opencv调用镜头失败

2024-3-18 14:00:38 [显示全部楼层]
1155浏览
查看: 1155|回复: 2

[求助问答] opencv调用镜头失败

[复制链接]
如图,每次打开镜头都是失败,之前还正确的。。。错误如下,求解答



Fatal Python error: init_import_size: Failed to import the site module
Python runtime state: initialized
Traceback (most recent call last):
  File "C:\Users\admin\Documents\mindplus-py\environment\Python3.8.5-64\lib\site.py", line 580, in <module>      
    main()
  File "C:\Users\admin\Documents\mindplus-py\environment\Python3.8.5-64\lib\site.py", line 567, in main
    known_paths = addsitepackages(known_paths)
  File "C:\Users\admin\Documents\mindplus-py\environment\Python3.8.5-64\lib\site.py", line 350, in addsitepackages
    addsitedir(sitedir, known_paths)
  File "C:\Users\admin\Documents\mindplus-py\environment\Python3.8.5-64\lib\site.py", line 208, in addsitedir     
    addpackage(sitedir, name, known_paths)
  File "C:\Users\admin\Documents\mindplus-py\environment\Python3.8.5-64\lib\site.py", line 164, in addpackage     
    for n, line in enumerate(f):
UnicodeDecodeError: 'gbk' codec can't decode byte 0x9d in position 235: illegal multibyte sequence





MonMarch-202403187610..png

DFEDU  高级技师

发表于 2024-3-18 16:04:36

回复

使用道具 举报

卖兜  学徒
 楼主|

发表于 2024-3-19 13:29:17

DFEDU 发表于 2024-3-18 16:04
https://mc.dfrobot.com.cn/thread-316617-1-1.html

感谢感谢!

字数补丁字数补丁
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

为本项目制作心愿单
购买心愿单
心愿单 编辑
[[wsData.name]]

硬件清单

  • [[d.name]]
btnicon
我也要做!
点击进入购买页面
关于楼主

楼主的其它帖子

上海智位机器人股份有限公司 沪ICP备09038501号-4

© 2013-2024 Comsenz Inc. Powered by Discuz! X3.4 Licensed

mail