sudo pip install --upgrade tensorflow-gpu
Operation not permitted: '/tmp/pip-Sx_vMg-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib'"
解决方法:
sudo pip install --upgrade tensorflow-gpu --ignore-installed