UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbf in position 42: invalid start byte
ユーザーの入力を待っています。I Meet the error :
"Traceback (most recent call last):
File "E:/gurobi952/win64/examples/python/mip1.py", line 19, in <module>
m = gp.Model("mip1")
File "src\gurobipy\model.pxi", line 68, in gurobipy.Model.__init__
File "src\gurobipy\gurobi.pxi", line 32, in gurobipy.gurobi._getdefaultenv
File "src\gurobipy\env.pxi", line 62, in gurobipy.Env.__init__
File "src\gurobipy\exception.pxi", line 20, in gurobipy.GurobiError.__init__
File "src\gurobipy\extern.pxi", line 19, in gurobipy.__bytestostring
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbf in position 42: invalid start byte"
even when I RUN the example code "mip1.py"
please, how to solve it?
0
-
正式なコメント
This post is more than two years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support. -
This problem happens in my new PC and my old PC runs correctly. Besides, I log the same account in these two PCs. I AM not sure wether I can use the same account for two PCs? Thanks.
0 -
Hi Kaizhe,
I found a similar post
https://support.gurobi.com/hc/en-us/community/posts/360075553792-UnicodeDecodeError-when-i-debug-the-programm-with-Gurobi
Is it possible that the solution is the same?- Riley
0 -
Thanks Riley. I check the path and no chinese in it. I think I need to apply for a new license for my new PC. Maybe it will work.
0 -
Yes, I think you're right. Let's try that and see if it resolves the issue. - Riley
0
投稿コメントは受け付けていません。
コメント
5件のコメント