When I used brew to update python3, I had Python 3.5.2 installed. However,
$ python3 --version
Then I try to update it.
$ brew install python3
I got this warning
Warning: python3-3.5.2_1 already installed, it's just not linked
How can I remove the link to 3.4.1. and relink it to 3.5.2???
I also installed matplotlib. It installed successfully. However, I cannot import it when I used python3. I get this kind of warning.
[1, 2, 3, 4, 5]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/username/Library/Python/3.4/lib/python/site-packages/matplotlib/__init__.py", line 122, in <module>
from matplotlib.cbook import is_string_like, mplDeprecation, dedent, get_label
I suspect matplotlib is linked to Python3.5.2. Therefore, when I use python3 which is actually Python3.4.1, I get this kind of error.
If anyone know how to link the Python3.5.2 to python3 on OSX, please let me know.