gforsyth / xonda

DEPRECATED: (previously a thin wrapper around conda for xonsh)
BSD 3-Clause "New" or "Revised" License
11 stars 9 forks source link

Newly created environments not activate-able #41

Closed michaelaye closed 5 years ago

michaelaye commented 5 years ago

After creating a new environment (with xonda and xonsh installed in currently active environment) I got this when I tried to activate it:

$ conda activate vpython
/Users/klay6683/miniconda3/envs/py37/lib/python3.7/site-packages/conda/common/compat.py:86: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  from collections import Iterable
/Users/klay6683/miniconda3/envs/py37/lib/python3.7/site-packages/conda/_vendor/auxlib/collection.py:5: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  from collections import Mapping, Set
/Users/klay6683/miniconda3/envs/py37/lib/python3.7/site-packages/xonsh/__amalgam__.py:22538: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  rtn = self.loader.exec_module(module)
/Users/klay6683/miniconda3/envs/py37/lib/python3.7/site-packages/conda/_vendor/auxlib/decorators.py:2: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  from collections import Hashable
/Users/klay6683/miniconda3/envs/py37/lib/python3.7/site-packages/conda/_vendor/boltons/setutils.py:17: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  from collections import MutableSet
/Users/klay6683/miniconda3/envs/py37/lib/python3.7/site-packages/conda/_vendor/auxlib/entity.py:240: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  from collections import Mapping, Sequence
No environment 'vpython' found
gforsyth commented 5 years ago

Thanks for reporting @michaelaye ! And sorry for all the trouble this is causing you. Can you confirm that there is a vpython directory in your ~/miniconda3/envs directory?

gforsyth commented 5 years ago

And can you also post the output of the following, run in xonsh within the py37 env?

$ from conda.base.context import context                           
$ print(context.envs_dir)