How to install tensorflow using anaconda and python 3.7.1 on windows?

0 votes
I am trying to install tensorflow using pip in anaconda. But it is showing some error. I am using python 3.7.1. How to install it? Any help will be appreciated.
Aug 19 in Python by anonymous
226 views

1 answer to this question.

0 votes

Since I am using python 3.5 so I will answer this question from that perspective. You can follow these steps -

1. Open anaconda terminal and type these things.

conda create --name MyEnv python=3.5
 activate MyEnv
 (MyEnv)C:> pip install tensorflow

This installs Tensorflow in that particular environment. For testing run the following commands - 

(MyEnv)C:> python
 >>>import tensorflow as tf
 >>>hello = tf.constant('Hello World!')
 >>>sess = tf.Session()
 >>>sess.run(hello)

It should run without any error with output "Hello World!"

answered Aug 19 by Arvind
• 2,960 points

Related Questions In Python

0 votes
1 answer

How to install Python on Windows and set path variable?

Install python from this link https://www.python.org/downloads/ After ...READ MORE

answered May 24 in Python by anonymous
• 180 points
63 views
0 votes
0 answers

How to mix read() and write() on Python files in Windows

It appears that a write() immediately following a read() on a ...READ MORE

Oct 23, 2018 in Python by Aryya
• 500 points
56 views
+3 votes
2 answers

how to print array integer without [] bracket in python like result = 1,2,3,4,5

Hey @abhijmr.143, you can print array integers ...READ MORE

answered Aug 4, 2018 in Python by Omkar
• 67,660 points

edited Aug 8, 2018 by Omkar 1,140 views
0 votes
1 answer

How to install Python MySQLdb module using pip?

It's easy to do, but hard to ...READ MORE

answered Aug 20, 2018 in Python by charlie_brown
• 7,720 points
94 views
+1 vote
3 answers

Problem with installation of Wordcloud in anaconda

Using Anaconda Python 3.6 version For Windows ...READ MORE

answered Aug 7, 2018 in Data Analytics by Priyaj
• 56,920 points
4,096 views
0 votes
1 answer

How are Python and Anaconda Related?

Anaconda is a free and open-source Python ...READ MORE

answered Oct 30, 2018 in Python by SDeb
• 13,180 points
54 views
0 votes
1 answer

Python and Anaconda

Read this article and you will get ...READ MORE

answered Nov 12, 2018 in Python by Priyaj
• 56,920 points
38 views
+1 vote
1 answer

How to install a module in Python 3.6 ?

If you are using Ubuntu then the ...READ MORE

answered Jun 25 in Python by Arvind
• 2,960 points
89 views
+1 vote
1 answer

How to install scipy for Python 2.7?

Open the command prompt and follow these ...READ MORE

answered Jul 4 in Python by Arvind
• 2,960 points
34 views