Unexpe"> Connection To Leica : python errorImport Error: No module named 'clr' - 英格兰vs伊朗谁会赢?

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

Connection To Leica : python errorImport Error: No module named 'clr'

#1
Hi,

When I try to connect to leica I have the following message in log:

Unexpected error: Traceback (most recent call last):
Unexpected error: File "C:/RoboDK/api/Leica/LeicaTrackerPilot.py", line 694, in
Unexpected error: import clr
Unexpected error: ImportError: No module named 'clr'
Stopped

I tried to uninstall robodk and Python and reinstalled it. This seems a problem with python.net installation?
Thanks for the help
#2
Problem solved :

It seems that when 'Install-Pythonnet.bat' was called by roboDK installer the path to python.exe was wrong. In the command prompt (cmd.exe) I ran 'python.exe -m pip install pythonnet从目录RoboDK\Python37.
#3
Perfect! Thank you for reporting this issue.

We'll update RoboDK to provide a better error message to point in the right direction.




Users browsing this thread:
1 Guest(s)