Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conda check fails #21

Closed
moorepants opened this issue Jul 7, 2017 · 1 comment
Closed

conda check fails #21

moorepants opened this issue Jul 7, 2017 · 1 comment

Comments

@moorepants
Copy link
Member

I don't understand this:

(codegen17) moorepants@garuda:scipy-2017-codegen-tutorial(master)$ python test_installation.py 
conda is needed (either anaconda or miniconda from https://www.continuum.io/downloads)
(try rerunning this script under conda if you are using for system's python distribution)
(codegen17) moorepants@garuda:scipy-2017-codegen-tutorial(master)$ ipython
Python 3.6.1 | packaged by conda-forge | (default, May 23 2017, 14:16:20) 
Type 'copyright', 'credits' or 'license' for more information
IPython 6.1.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import conda
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-0106f2bb058e> in <module>()
----> 1 import conda

ModuleNotFoundError: No module named 'conda'

In [2]:                                                                                                                                                                                                            
Do you really want to exit ([y]/n)? 
(codegen17) moorepants@garuda:scipy-2017-codegen-tutorial(master)$ conda install conda
Fetching package metadata ...........

InstallError: Error: 'conda' can only be installed into the root environment

Is conda supposed to import?

@isuruf
Copy link
Member

isuruf commented Jul 7, 2017

You can't use conda in a conda environment except for the root environment. https://github.com/sympy/scipy-2017-codegen-tutorial/blob/master/test_installation.py should not import conda.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants