mac下升級安裝python3並安裝tensorflow

安裝

brew install python3

查看安裝的版本

python3 —version或python3 -V

安裝tensorflow

pip3 install tensorflow

 

最後提示文字:

Installing collected packages: tensorflow-estimator, six, numpy, keras-preprocessing, gast, grpcio, setuptools, markdown, absl-py, werkzeug, protobuf, tensorboard, astor, google-pasta, termcolor, wrapt, h5py, keras-applications, tensorflow

  Found existing installation: setuptools 39.2.0

    Uninstalling setuptools-39.2.0:

      Successfully uninstalled setuptools-39.2.0

Successfully installed absl-py-0.7.1 astor-0.8.0 gast-0.2.2 google-pasta-0.1.7 grpcio-1.21.1 h5py-2.9.0 keras-applications-1.0.8 keras-preprocessing-1.1.0 markdown-3.1.1 numpy-1.16.4 protobuf-3.8.0 setuptools-41.0.1 six-1.12.0 tensorboard-1.14.0 tensorflow-1.14.0 tensorflow-estimator-1.14.0 termcolor-1.1.0 werkzeug-0.15.4 wrapt-1.11.2

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章