*Note - Troubleshooting Binary errors: If you’re running into any errors, there are quite a few cases covered here in Common Installation Issues. If the system outputs the following, then you are ready to begin writing TensorFlow programs: Hello, TensorFlow!ĥ. Once the installation complete, you can test that it was successful by launching python and running a short TensorFlow test inside the python shell: $ python import tensorflow as tf hello = tf.constant(‘Hello, TensorFlow!’) sess = tf.Session() print(n(hello)) *Note: As an alternate, you could also use Conda to install: conda create -n tensorflow python 3.6.3 conda install tensorflowĤ. This upgrades TensorFlow to the most current version (1.1.4 in this case): pip3 install -upgrade tensorflow If TensorFlow version is older than 1.4.0, you’ll need to upgrade it. Verify the version of TensorFlow installed: $ python import tensorflow as tf print(tf.VERSION)ģ. Use PIP3 to install TensorFlow from the Python package: pip3 install tensorflowĢ. If you need to upgrade to 8.1+: $ sudo easy_install - upgrade pip $ sudo easy_install - upgrade sixġ. Check to confirm version:Įxpected output: pip 9.0.1 from /Users/'username'/anaconda3/lib/python3.6/site-packages (python 3.6)ģ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |