After Anaconda installation, conda command fails with ImportError: no module named conda.cli
When you were installing it, you missed a section. When conda asked you if it can set your .bashrc file, you probably clicked NO. It's a simple fix: fire up your interpreter and add this line:
export PATH=/home/add your username here/anaconda/bin:$PATH
Now type python
into the interpreter and you will see Anaconda 1.8.0 or whatever version you have. You will have to do this each time you start a new interpreter.
Enjoy!
miniconda3: ImportError: No module named conda.cli
Definitely not an optimal answer, but I solved the issue by re-installing completely miniconda3
(I am on macOSX).
I uninstalled miniconda3
by removing the folder with
rm -r ~/miniconda3/
And resinstalled it: https://docs.conda.io/projects/conda/en/latest/user-guide/install/macos.html#install-macos-silent
Anaconda: ModuleNotFoundError: No module named 'conda'
I solve this problem installing the version 4.6.14 of conda as suggested on this issue 9004 before perform further installs.
conda install conda=4.6.14
It looks like further versions of conda are introducing this error.
Related Topics
Two Versions of Python on Linux. How to Make 2.7 the Default
Why Is the Command Bound to a Button or Event Executed When Declared
Is There a Built in Function For String Natural Sort
Why Can't I Call Read() Twice on an Open File
Use Different Python Version With Virtualenv
How to Print Instances of a Class Using Print()
Passing HTML to Template Using Flask/Jinja2
Extracting Text from Ms Word Files in Python
Cross-Platform Space Remaining on Volume Using Python
Get the Olson Tz Name For the Local Timezone
How to Select Rows from a Dataframe Based on Column Values
Selenium "Selenium.Common.Exceptions.Nosuchelementexception" When Using Chrome
Static Class Variables and Methods in Python
How to Make a Python Script Standalone Executable to Run Without Any Dependency