We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows10 + mingw-w64 重新编译DLL
Python3.6下运行example.py,报错
model.py文件的第40行 char_p = c_char_p("0"*25) 改为 char_p = c_char_p(str("0"*25).encode('utf-8'))
char_p = c_char_p("0"*25)
char_p = c_char_p(str("0"*25).encode('utf-8'))
第92行 self.fmodel = path 改为 self.fmodel = path.encode('utf-8')
self.fmodel = path
self.fmodel = path.encode('utf-8')
运行成功
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Windows10 + mingw-w64 重新编译DLL
Python3.6下运行example.py,报错

model.py文件的第40行
char_p = c_char_p("0"*25)
改为
char_p = c_char_p(str("0"*25).encode('utf-8'))
第92行
self.fmodel = path
改为
self.fmodel = path.encode('utf-8')
运行成功
The text was updated successfully, but these errors were encountered: