Connecting to python- Windows error code 2

Connecting to python- Windows error code 2

oceanbluesky1993
Contributor Contributor
238 Views
2 Replies
Message 1 of 3

Connecting to python- Windows error code 2

oceanbluesky1993
Contributor
Contributor

[ FlexSim 23.2.0 ]

Hello,

I followed the instruction to connect python to flexsim. The code can be executed in vs code. However, when I want to call py code in flexsim, the error was showed as Windows error code 2.

Hope I can get some help, thanks!

preference.PNG

AGVVehicleRoutingProblem.fsmAGVVRP.pyWindows error code 2.PNGpython code.PNG

0 Likes
Accepted solutions (1)
239 Views
2 Replies
Replies (2)
Message 2 of 3

supportPHJ4A
Advocate
Advocate
Accepted solution

The .py file path must be in English.

0 Likes
Message 3 of 3

supportPHJ4A
Advocate
Advocate

Put py files and fsm files in the same non-Chinese path.

0 Likes