【nuitka】 Fatal Python error: Py_Initialize: unable to load the file system codec

不念不忘少年蓝@ 2023-01-07 10:30 156阅读 0赞

【nuitka】 Fatal Python error: Py_Initialize: unable to load the file system codec

  • 1.背景
  • 2.分析原因
  • 3.解决办法
  • 4.运行
  • 5.资源

1.背景

参考博客:
【nuitka】 打包cv.dnn.readNet(xml,bin)推理代码,及打包python应用程序(3)
https://blog.csdn.net/jn10010537/article/details/112656086

文章提到:nuitka打包后在别的计算机上运行可能会报错,即在台式机打包后,在笔记本上运行报错,如下图1,2:
运行nuitka-mingw64编译的face_detection.exe报错如下图1:
在这里插入图片描述

运行nuitka-MSVC

发表评论

表情:
评论列表 (有 0 条评论,156人围观)

还没有评论,来说两句吧...

相关阅读