question

Keter avatar image
0 Likes"
Keter asked CSN commented

Connecting to python- Windows error code 2

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

FlexSim 23.2.0
agvpythonortools
python-code.png (143.8 KiB)
preference.png (30.8 KiB)
agvvrp.py (13.9 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

CSN avatar image
0 Likes"
CSN answered CSN commented

The .py file path must be in English.

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

CSN avatar image CSN commented ·

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

0 Likes 0 ·