When updating Homebrew I got the following warning:
==> Pouring py2cairo-1.15.4.high_sierra.bottle.tar.gz
==> Caveats
Python modules have been installed and Homebrew's site-packages is not
in your Python sys.path, so you will not be able to import the modules
this formula installed. If you plan to develop with these modules,
please run:
mkdir -p /Users/qazwsx/Library/Python/2.7/lib/python/site-packages
echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/qazwsx/Library/Python/2.7/lib/python/site-packages/homebrew.pth
Should I do this? It seems to modify the Python installation that came with macOS, is doing that recommended normally?
When developing Java programs, I sometimes use virtualenv.