ModuleNotFoundError: No module named 'conda'
See original GitHub issueI’ve installed conda-press on two different (Linux) systems (conda env with python 3.7, pip installed xonsh
, ruamel.yaml
and lazyasd
). On both systems I cannot run conda press
because it cannot import conda.api
. Probably something to do with premissions in my conda envs. Or is there a package that provides conda.api? pip install conda
breaks my conda install 😦
Linux:
[tests (master)]: python test_condatools.py
Traceback (most recent call last):
File "test_condatools.py", line 10, in <module>
from conda_press.condatools import SYSTEM, SO_EXT
File "/home/tom/conda-press/conda_press/condatools.xsh", line 18, in <module>
from conda.api import SubdirData
ModuleNotFoundError: No module named 'conda'
Windows:
(conda_press) D:\github\conda-press\tests>python test_condatools.py
Traceback (most recent call last):
File "test_condatools.py", line 10, in <module>
from conda_press.condatools import SYSTEM, SO_EXT
File "d:\Miniconda3\envs\conda_press\lib\site-packages\conda_press\condatools.xsh", line 18, in <module>
from conda.api import SubdirData
ModuleNotFoundError: No module named 'conda'
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
from conda.cli import main ModuleNotFoundError: No module ...
This is a bug in the conda solver. When conda switched out the python version to comply with your request to install imbalanced-learn...
Read more >python - After Anaconda installation, conda command fails ...
If anaconda was installed by the root user, a permissions issue could produce the ImportError: No module named 'conda.cli' error. Something like this....
Read more >Modulenotfounderror: no module named conda : Get Solution
modulenotfounderror: no module named conda error if Anaconda Environment is either not properly installed or underline python is incompatible.
Read more >Modulenotfounderror: no module named conda ( Solved )
The modulenotfounderror: no module named conda error can occur due to many reasons. The most common reason is that the conda module is...
Read more >ModuleNotFoundError: No module named 'conda' - Super User
conda is a Python script which tries to import stuff from the conda module without success. Either remove conda from /usr/bin/ or make...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Recent versions of conda provide
conda.api
. What version are you on?Thanks!