I'm running Mac OS X High Sierra 10.13.6.
When I do a "brew list python" from the terminal, it shows that I have python 3.7.3 installed:
user@laptop:~$ brew list python /usr/local/Cellar/python/3.7.3/bin/2to3 /usr/local/Cellar/python/3.7.3/bin/2to3-3.7 /usr/local/Cellar/python/3.7.3/bin/easy_install-3.7 /usr/local/Cellar/python/3.7.3/bin/idle3 /usr/local/Cellar/python/3.7.3/bin/idle3.7 /usr/local/Cellar/python/3.7.3/bin/pip3 /usr/local/Cellar/python/3.7.3/bin/pip3.7 /usr/local/Cellar/python/3.7.3/bin/pydoc3 /usr/local/Cellar/python/3.7.3/bin/pydoc3.7 /usr/local/Cellar/python/3.7.3/bin/python3 /usr/local/Cellar/python/3.7.3/bin/python3-config /usr/local/Cellar/python/3.7.3/bin/python3.7 /usr/local/Cellar/python/3.7.3/bin/python3.7-config /usr/local/Cellar/python/3.7.3/bin/python3.7m /usr/local/Cellar/python/3.7.3/bin/python3.7m-config /usr/local/Cellar/python/3.7.3/bin/pyvenv /usr/local/Cellar/python/3.7.3/bin/pyvenv-3.7 /usr/local/Cellar/python/3.7.3/bin/wheel3 /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/ (2818 files) /usr/local/Cellar/python/3.7.3/IDLE 3.app/Contents/ (8 files) /usr/local/Cellar/python/3.7.3/lib/pkgconfig/ (3 files) /usr/local/Cellar/python/3.7.3/libexec/bin/ (7 files) /usr/local/Cellar/python/3.7.3/libexec/pip/ (701 files) /usr/local/Cellar/python/3.7.3/libexec/setuptools/ (345 files) /usr/local/Cellar/python/3.7.3/libexec/wheel/ (38 files) /usr/local/Cellar/python/3.7.3/Python Launcher 3.app/Contents/ (16 files) /usr/local/Cellar/python/3.7.3/share/man/ (2 files) user@laptop:~$ ... but when I do a "python3 --version", it reports Python 3.6.3: user@laptop:~$ python3 --version Python 3.6.3 user@laptop:~$
A "which python3" reports:
user@laptop:~$ which python3 /Library/Frameworks/Python.framework/Versions/3.6/bin/python3 user@laptop:~$
I don't see any 3.7 Python versions at that directory:
user@laptop:/Library/Frameworks/Python.framework/Versions$ ls -alt total 0 drwxr-xr-x 6 root wheel 192B Nov 30 2017 ../ drwxrwxr-x 10 root admin 320B Nov 30 2017 3.6/ drwxrwxr-x 3 root wheel 96B Oct 3 2017 ./ user@laptop:/Library/Frameworks/Python.framework/Versions$
At one point, I installed PyCharm CE. It's an IDE, but I'm not sure if it could have installed a separate Python 3.x?
I also have Python 3.6 IDLE installed.
I would prefer to completely restore my Mac to factory defaults, but this is a work computer and is managed by our corporate team and has a bunch of installed apps. I estimate that it will take 20 hours or so to re-install and re-do everything, so a factory restore is out of the question unfortunately.
Can anyone give me some direction on how to fix this Python issue?