0
votes

The tensorflow is installed by using "conda install tensorflow". by importing tensorflow with "import tensorflow" in spyder in same environment which tensorflow was installed, it give an error "ModuleNotFoundError: No module named 'tensorflow'".

1
Are you able to import tensorflow outside of spyder in the conda environment? Like in a test python script? - xdhmoore
Thanks for your comment. it fixed. The solution is mentioned in answer - afrah

1 Answers

1
votes

For every one who is faced with this problem i suggest to check if they have already installed spyder in desired environment with "conda install spyder". I installed it and the problem fixed