zak100 Posted December 20, 2020 Posted December 20, 2020 (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 December 20, 2020 by zak100
Ghideon Posted December 20, 2020 Posted December 20, 2020 2 hours ago, zak100 said: But still I am getting error, somebody please guide me. It looks very similar to this thread: https://www.scienceforums.net/topic/123025-python-tree-program-multiple-children-module-error/?tab=comments#comment-1152593 have you tried that? 1
zak100 Posted December 20, 2020 Author Posted December 20, 2020 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.
Ghideon Posted December 20, 2020 Posted December 20, 2020 (edited) 53 minutes ago, zak100 said: install the package within the Pycharm environment. http://letmegooglethat.com/?q=install+the+package+within+the+Pycharm+environment. The first hit on google returns a guide for: "Install, uninstall, and upgrade packages—PyCharm" Edited December 20, 2020 by Ghideon 1
zak100 Posted December 21, 2020 Author Posted December 21, 2020 (edited) Hi, Thanks for your response. I followed that link but I cant see Tensorflow in the list of packages: Somebody please guide me. Zulfi. Edited December 21, 2020 by zak100
Prometheus Posted December 21, 2020 Posted December 21, 2020 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. 1
Sensei Posted December 22, 2020 Posted December 22, 2020 On 12/20/2020 at 6:32 AM, zak100 said: But still I am getting error, somebody please guide me. How about this? https://stackoverflow.com/questions/46568913/tensorflow-import-error-no-module-named-tensorflow 1
Ghideon Posted December 22, 2020 Posted December 22, 2020 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 1
zak100 Posted December 24, 2020 Author Posted December 24, 2020 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now