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
https://mc.dfrobot.com.cn/thread-316617-1-1.html DFEDU 发表于 2024-3-18 16:04
https://mc.dfrobot.com.cn/thread-316617-1-1.html
感谢感谢!
字数补丁字数补丁
页:
[1]