Mario Lino Valencia
Mario Lino Valencia

Reputation: 73

ImportError: No module named conda

I have a problem with conda. When I open the terminal (I am using Ubuntu 18) I get

Traceback (most recent call last): File "", line 3, in ImportError: No module named conda

Conda commands and python are working perfectly, but I want to get rid of that message. This was not happening before, so I removed conda and installed it again. However, the problem persist. Any idea?

Upvotes: 1

Views: 255

Answers (1)

Mario Lino Valencia
Mario Lino Valencia

Reputation: 73

Ok, I solved it by exporting miniconda path just before the "conda initialize" block added during installation in my .bashrc file. I do not understand why now works. If anyone could give a reason I will be glad.

Upvotes: 1

Related Questions