I installed PyTouchBar using pip3
When I tried to import it, however, it gives me this error.
$ python3 >>> import PyTouchBar Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyTouchBar/__init__.py", line 5, in <module> from .TouchBar import * File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyTouchBar/TouchBar.py", line 13, in <module> from Foundation import * ModuleNotFoundError: No module named 'Foundation' On Python 2, Foundation works perfectly, by the way.
Could someone tell me how to fix this? Thanks in advance!
没有评论:
发表评论