Mac OS High Sierra: Tensorflow verions returned by `pip3 upgrade ` and `python3 -c 'import tensorflow as tf; print(tf.__version__)'` differ
3 1 I am currently getting the error, TypeError: softmax() got an unexpected keyword argument 'axis' . It seems this error is common if you don't have up-to-date keras/tensorflow. I checked what version of tensorflow I have with python3 -c 'import tensorflow as tf; print(tf.__version__)' It returned 0.12.0 which indeed looks out of date. However, when I try to upgrade tensorflow, with pip3 install tensorflow --upgrade I get Requirement already up-to-date: tensorflow in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (0.12.0) Requirement already satisfied, skipping upgrade: numpy>=1.11.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages(from tensorflow) (1.15.3) Requirement already satisfied, skipping upgrade: protobuf==3.1.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from tensorflow) (3.1.0) Requirement already satisfied, skipping upgrade