I will explain the procedure to install a language translator called Java2Python on macOS High Sierra (10.13).
When I install Python3 with Homebrew on macOS, it seems that the pip that comes with Xcode (Python 2.7) is corrupted. (If you look closely, you can cure it, but I usually don't use Python 2.7, so I left it alone.)
However, Java2Python depends on Python 2.7, so you need to repair pip or install it without using pip.
This paper describes an installation method that does not use pip.
Below, we will proceed on the assumption that Xcode 9.0 is installed on macOS High Sierra (10.13).
sudo python setup.py install.sudo python setup.py install.Recommended Posts