Skip to content

Cannot import atomac.ldtp on MacOS 10.14.4 #168

Description

@id347627
  1. Eval pip install -U pyobjc --user to update my pyobjc from 2nd to 5th version
  2. Clone repo -> cd to repo -> Eval python setup.py build; python setup.py install --user
  3. Launch python in terminal
    Eval import atomac.ldtp
    Got
    Traceback (most recent call last): File "<stdin>", line 1, in <module> File "atomac/__init__.py", line 22, in <module> from . import _a11y File "atomac/_a11y.py", line 7, in <module> from PyObjCTools import AppHelper, MachSignals File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/PyObjCTools/MachSignals.py", line 16, in <module> import _machsignals ImportError: No module named _machsignals

If I comment importing MachSignals in _a11y.py
from PyObjCTools import AppHelper # , MachSignals

Got this
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "atomac/ldtp/__init__.py", line 39, in <module> from . import client File "atomac/ldtp/client.py", line 241, in <module> verbose = verbose) File "atomac/ldtp/client.py", line 228, in __init__ super(LdtpClient, self).__init__(uri, Transport(), encoding, verbose, 1, use_datetime) TypeError: must be type, not classobj

Did someone face similar issue?
Please advice what I should check?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions