back

by fniephaus·10y ago·view on hn ↗
Same problem is valid for Python. The subprocess module on El Capitan has a bug that has caused me a lot of trouble recently: http://bugs.python.org/issue26083#msg258011

You'll need to put an updated subprocess.py in your Python path, editing the one provided by OS X is prevented by the System Integrity Protection... ¯\_(ツ)_/¯

1 comments
Are you not using virtualenv? I always use virtual environments as much as possible to avoid being locked in on an older version (for example Python in this case).
Of course you can also use virtualenv, but if Apple kept software that ships with OS X up-to-date I wouldn't have to deal with this at all.
It seems like this is an issue with most operating systems. Regarding Python in particular, RedHat/CentOS seems particularly "bad".

My take is that the OS-installed tools, such as git or Python, are generally for use by the system and not for use by me for software development.