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

Mecademic driver on MacOS not working

#3
(04-07-2023 08:19点)Albert Wrote:You can try updating to the latest version of the mecademicpy library by unzipping the attached folder here:
/Users/brandon/RoboDK/RoboDK.app/Contents/Python/apimecademicpy/

Then, force stop the driver by double clicking on Disconnect and try connecting again.

I took this from the latest official version of mecademicpy:
https://github.com/Mecademic/mecademicpy

Hi Albert,

I tried as directed and no change. I'm not sure why the last part of the path you suggested was apimecademicpy and not mecademicpy. I assume a typo because the former doesn't affect the module __path__ when I directly import mecademicpy.robot, but the latter does. I confirmed with mecademic.robot.__version__ that I'm getting 1.3.0, which is the latest according to their GitHub. Looking through mecademic.robot code, I don't see any reference to _Message.

Given the error message AttributeError: module 'mecademicpy.robot' has no attribute '_Message', it seems like this is apimecademicpy calling something incorrectly, specifically mecademicpy.robot._Message. Does the compiled pyc call mecademicpy.robot._Message?


Messages In This Thread
Mecademic driver on MacOS not working - bybc2297- 04-06-2023, 11:09 PM
RE: Mecademic driver on MacOS not working - bybc2297- 04-07-2023, 06:56 PM



Users browsing this thread:
1 Guest(s)