Issue Creating New Conda Environment (and all other #4226

Closed
mattfarkas opened this Issue Jan 8, 2017 · 4 comments

Projects

None yet

3 participants

@mattfarkas

Trying to get Python 3 running on my Python 2 Anaconda, updated Conda (and ipykernel), and now Conda isn't working at all. Error posted below.

screen shot 2017-01-08 at 4 31 15 pm

Traceback (most recent call last):
File "/anaconda/bin/conda", line 6, in
sys.exit(conda.cli.main())
File "/anaconda/lib/python2.7/site-packages/conda/cli/main.py", line 152, in main
return conda_exception_handler(_main)
File "/anaconda/lib/python2.7/site-packages/conda/exceptions.py", line 497, in conda_exception_handler
print_unexpected_error_message(e)
File "/anaconda/lib/python2.7/site-packages/conda/exceptions.py", line 443, in print_unexpected_error_message
info_stdout, info_stderr = get_info()
File "/anaconda/lib/python2.7/site-packages/conda/exceptions.py", line 413, in get_info
args.func(args, p)
File "/anaconda/lib/python2.7/site-packages/conda/cli/main_info.py", line 225, in execute
channels = list(prioritize_channels(channels).keys())
File "/anaconda/lib/python2.7/site-packages/conda/models/channel.py", line 385, in prioritize_channels
channel = Channel(chn)
File "/anaconda/lib/python2.7/site-packages/conda/models/channel.py", line 166, in call
c = Channel.from_value(value)
File "/anaconda/lib/python2.7/site-packages/conda/models/channel.py", line 226, in from_value
if value in context.custom_multichannels:
File "/anaconda/lib/python2.7/site-packages/conda/_vendor/auxlib/decorators.py", line 265, in new_fget
cache[inner_attname] = func(self)
File "/anaconda/lib/python2.7/site-packages/conda/base/context.py", line 292, in custom_multichannels
'defaults': self.default_channels,
File "/anaconda/lib/python2.7/site-packages/conda/_vendor/auxlib/decorators.py", line 265, in new_fget
cache[inner_attname] = func(self)
File "/anaconda/lib/python2.7/site-packages/conda/base/context.py", line 277, in default_channels
for v in self._default_channels)
File "/anaconda/lib/python2.7/site-packages/conda/base/context.py", line 277, in
for v in self._default_channels)
File "/anaconda/lib/python2.7/site-packages/conda/_vendor/auxlib/decorators.py", line 265, in new_fget
cache[inner_attname] = func(self)
File "/anaconda/lib/python2.7/site-packages/conda/base/context.py", line 260, in channel_alias
location, scheme, auth, token = split_scheme_auth_token(self._channel_alias)
File "/anaconda/lib/python2.7/site-packages/conda/common/url.py", line 195, in split_scheme_auth_token
query=url_parts.query).url
AttributeError: 'Url' object has no attribute 'url'

@Zhdanovich

I see the same issue running conda update --all

@mattfarkas

Couldn't get it. Resorted to reinstalling distribution (w/ python 3)...

@kalefranz
Member

This was a bug in conda 4.2.7. Runningconda update conda` would have fixed it for you.

@kalefranz kalefranz closed this Jan 15, 2017
@Zhdanovich
Zhdanovich commented Jan 20, 2017 edited

@kalefranz I still have this issue. I'm using Mac OS
conda --version
conda 4.3.6

It's works fine when I install conda from website, but after I install something(conda install scikit-learn) it's stops working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment