Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6101

module tensorflow (installed through conda) not found

$
0
0

Original problem: I wanted to install tensorflow on my Ubuntu system. When trying to install through pip, I got this externally-managed-environment message. There seem to be some workarounds, but none of them too elegant, in my opinion.

Then I read that I could install tensorflow through conda. I already had anaconda installed, so I followed this guide (gpu-only):

https://docs.anaconda.com/free/working-with-conda/applications/tensorflow/

It downloaded and installed a bunch of packages, but when I run my notebook locally, it still says module tensorflow not found.I changed the code from import tensorflow.compat.v1 as tf to import tf, but that didn't help.

As you can tell, I'm well out of my depth. How can I get tensorflow to work or if not, how do I remove it at the very least. I went conda remove tensorflow and conda remove tf, but no such package seems to be found. It also doesn't show up when I go "conda list".


Viewing all articles
Browse latest Browse all 6101

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>