Jump to content

Recommended Posts

Posted (edited)

Hi,

I am getting "Tensor Flow" package problem. I am running the code on PyCharm community version3:

Quote

Traceback (most recent call last):
  File "/home/zulfi/PycharmProjects/ML/venv/byMule.py", line 5, in <module>
    import tensorflow as tf
ModuleNotFoundError: No module named 'tensorflow'

I installed the package on the terminal:

Quote

~$ pip install tensorflow==1.2.0 --ignore-installed
Collecting tensorflow==1.2.0
  Downloading https://files.py

But still I am getting error, somebody please guide me.

 

Zulfi.

 

Edited by zak100
Posted

Hi,

 

 

Thanks for your response. The link is related to my post.

I was able to install on the terminal. But I am using PyCharm. If I install anything on Terminal it will not become part of Pycharm. So I have to install the package within the Pycharm environment.

 

Please guide me.

 

Zulfi.

Posted (edited)

Hi,

Thanks for your response. I followed that link but I cant see Tensorflow in the list of packages:

 

Cant see Tensorflow  in the list of packages2.png

 

 

Somebody please guide me.

 

Zulfi.

Edited by zak100
Posted

I find anaconda useful for managing environments. I also had problems installing tensorflow, then a bunch of computer scientists said google didn't support it that much and that Pytorch was the way to go anyway.

Posted
On 12/21/2020 at 10:49 AM, Prometheus said:

a bunch of computer scientists said google didn't support it that much and that Pytorch was the way to go anyway.

I have not used PyTorch so I can't offer an opinion but I would not be surprised if there are scenarios where PyTorch is an obvious choice. Google for instance provides Tensor Processing Units (TPUs) and TensorFlow could be a good choice when the model has suitable properties.

Quote

Tensor Processing Unit (TPU) is an AI accelerator application-specific integrated circuit (ASIC) developed by Google specifically for neural network machine learning, particularly using Google's own TensorFlow software.

https://en.wikipedia.org/wiki/Tensor_Processing_Unit

 

Posted

Hi Sensi,

Thanks for your response.

I am using PyCharm under ubuntu 18.04. I would try to install anaconda and then  report back.

 

Zulfi.

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.