Jump to content

Featured Replies

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

  • Author

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.

  • Author

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

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.

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

 

  • Author

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.

 

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

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.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.