Cannot get automac python package to work. Error = import: command not found

447 views Asked by At

I'm trying to use the atomic package. However when I get to the usage steps where it says:

>>> import atomac
>>> atomac.launchAppByBundleId('com.apple.Automator')

I get this error:

-bash: import: command not found

I am using python 2.7.5 on Mavericks. I'm not sure what I'm doing wrong.

1

There are 1 answers

0
Thejus Krishna On

Install atomac using pip: pip install pyatomac