Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| developer:installing_py-applescript_from_source [2018/02/21 19:53] – created jay | developer:installing_py-applescript_from_source [2025/02/18 20:36] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Installing py-applescript from source ====== | ||
| + | |||
| + | **UPDATE:** the maintainer of py-applescript now has a fixed version in the pypi library so pip will install a fixed version. | ||
| + | |||
| + | py-applescript is a great tool for integrating Python and AppleScript. Normally you use pip to install Python packages, but as of Feb 21, 2018, the version that's in the pypi library (where pip installs packages from) has a bug. Fortunately, | ||
| + | |||
| + | To install py-applescript from its source code, you first need to [[https:// | ||
| + | |||
| + | If your browser didn't automatically unzip it, then do so now. By default, Safari will download and unzip the package to: | ||
| + | |||
| + | ''/ | ||
| + | |||
| + | In a terminal window, execute each of the following steps: | ||
| + | |||
| + | cd / | ||
| + | sudo python setup.py install | ||
| + | |||
| + | That will install the package into the default Python install. | ||