

The popularity of Python cannot be disputed. The same study found Python to be the most desired coding language among those who do not presently use it.

As per the developer survey by Stack Overflow in 2021, approximately 68% of software developers or data scientists who have worked on developing software using Python have expressed that they will continue doing so with Python. Even those unfamiliar with coding have probably heard about it. The popularity of this programming language has grown exponentially in the past ten years. Go to ‘Run’ -> click on ‘Run.Anyone aspiring to be a data scientist, machine learning engineer, or software developer must have thought about learning Python. Copy below code import tensorflow as tf hello = tf.constant('Hello, Parth!') a = tf.constant(30) b = tf.constant(50) # Start tf session sess = tf.Session() # Run the op print(n(hello)) print(n(a+b))ĥ. Right Click on Project, Go to new -> select ‘Python File’ -> Give file nameĤ. Your First TensorFlow Program in P圜harm Editorģ. Once it is installed, for reuse you can search P圜harm or you can set icon in quick launcher. We will refer to this destination location as your /bin” and type.

Unpack the P圜harm Community Edition distribution archive that you downloaded to where you wish to install the program. Test your installation $ python > import tensorflow as tf > hello = tf.constant('Hello, Parth!') > sess = tf.Session() > print(n(hello)) Hello, Parth! > a = tf.constant(10) > b = tf.constant(20) > print(n(a + b)) 30Ĭonfiguration of Python Editor for TensorFlowġ. Step: 3 $ sudo pip install -upgrade $TF_BINARY_URL Step: 1 $ sudo apt-get install python-pip python-dev $ python -version Following steps are for installing TensorFlow using Python 2.7:

If you want to check version of installed python, you can use following command. TensorFlow is an open-source software library for Machine Intelligence. But following steps are also worked in Ubuntu 14.04 64 bit os. In this post, you will install TensorFlow in Ubuntu 16.04 LTS 64 bit OS. How to install TensorFlow in ubuntu 16.04
