07-04-2019, 06:11 PM
(This post was last modified: 07-04-2019, 06:16 PM bymFarzanehkaloorazi.)
Hi all,
I am running a python code including RDK = Robolink() from command line. When I use Python 3.4 (RoboDK's default) everything works fine. But as soon as I try the same code with python 3.7, it opens RoboDK and then freezes.
I am using the latest release and this is my RoboDK python path:
This is the message after keyboard interruption:
I am running a python code including RDK = Robolink() from command line. When I use Python 3.4 (RoboDK's default) everything works fine. But as soon as I try the same code with python 3.7, it opens RoboDK and then freezes.
I am using the latest release and this is my RoboDK python path:
This is the message after keyboard interruption:
Quote:Traceback (most recent call last):
File "C:\Users\MFarzanehkaloorazi\AppData\Local\Programs\Python\Python37-32\lib\site-packages\robolink\robolink.py", line 777, in Connect
start_robodk(command)
File "C:\Users\MFarzanehkaloorazi\AppData\Local\Programs\Python\Python37-32\lib\site-packages\robolink\robolink.py", line 734, in start_robodk
line = str(p.stdout.readline().decode("utf-8")).strip()
KeyboardInterrupt
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "Start_host.py", line 8, in
RL = Robolink(args='/NOSPLASH')
File "C:\Users\MFarzanehkaloorazi\AppData\Local\Programs\Python\Python37-32\lib\site-packages\robolink\robolink.py", line 654, in __init__
self.Connect()
File "C:\Users\MFarzanehkaloorazi\AppData\Local\Programs\Python\Python37-32\lib\site-packages\robolink\robolink.py", line 781, in Connect
提高过量ption('Application path is not correct or could not start: ' + self.APPLICATION_DIR)
Exception: Application path is not correct or could not start: C:/RoboDK/bin/RoboDK.exe