How do i install tensorflow?
Well i tried to install tensorflow using the package manager inside the menu and using the pip command inside the shell, but nothing works.
If i try to install tensorflow through the manager i get the following error:
[EnvCommandError] Command ['/home/runner/.local/share/virtualenvs/python3/bin/python', '-m', ' pip', 'install', '--no-deps', 'tensorflow==2.1.0'] errored with the followin g output: Collecting tensorflow==2.1.0 ERROR: Could not find a version that satisfies the requirement tensorflow= =2.1.0 (from versions: none) ERROR: No matching distribution found for tensorflow==2.1.0 WARNING: You are using pip version 19.2.3, however version 20.0.2 is availab le. You should consider upgrading via the 'pip install --upgrade pip' command. add [-D|--dev] [--git GIT] [--path PATH] [-E|--extras EXTRAS] [--optional] [--python PYTHON][--platform PLATFORM] [--allow-prereleases] [--dry-run] [--] <name> (<name>)... exit status 1
and after updating pip:
Traceback (most recent call last): File "main.py", line 4, in <module> import tensorflow as tf ModuleNotFoundError: No module named 'tensorflow'
If i try installing it through a pip command:
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none) ERROR: No matching distribution found for tensorflow
Any suggestions?
I looked around and I don't think Python Tensorflow is supported. Check out these posts: https://repl.it/talk/ask/Tensorflow-not-importing-Python-37/23236 & https://repl.it/talk/ask/Install-TensorFlow-Package/14849. I also tried importing it and installing it through the package manager, but the
Package operation failed
. I recommend you ask the Repl.it team through AMA about support for Tensorflow.@Roar123 hmmm, okay thanks. I'll give it a try later :)
@Huntler No problem! If I helped you with your question, you should mark my comment as the "answer".
@Roar123 @Huntler The documentation for hdf5 (a tensorflow dependency) says that running it in python requires some extra work, but I don't understand it enough to speak on it. here's the link: https://docs.h5py.org/en/stable/build.html?highlight=libhdf5.so#source-installation-on-linux-other-unix