Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Python Version with RoboDK

#4
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:
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


Messages In This Thread
Python Version with RoboDK - bymnurpeiissov- 01-14-2019, 05:51 PM
RE: Python Version with RoboDK - byJeremy- 01-15-2019, 05:21 PM
RE: Python Version with RoboDK - bymnurpeiissov- 01-15-2019, 05:48 PM
RE: Python Version with RoboDK - bymFarzanehkaloorazi- 07-04-2019, 06:11 PM
RE: Python Version with RoboDK - byAlbert- 07-10-2019, 12:32 PM



Users browsing this thread:
1 Guest(s)