06-18-2025, 11:16 PM
Using the default Python executable I have pip-installed the modbus-scale-client package, which now resides in the C:\RoboDK\Python-Embedded\Lib\site-packages directory. If I locate my Python program in the Python-Embedded directory and run it from the command line, it works as expected.
However, if I add the same Python program to the RoboDK station tree, when I right-click on the program and attempt to run it, RoboDK complains that it cannot find the modbus_scale_client package because it is looking for it in my ..\AppData\Local\Temp\ directory.
Why is this, and how do I stop this annoying behaviour?
However, if I add the same Python program to the RoboDK station tree, when I right-click on the program and attempt to run it, RoboDK complains that it cannot find the modbus_scale_client package because it is looking for it in my ..\AppData\Local\Temp\ directory.
Why is this, and how do I stop this annoying behaviour?