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 create --name snakes python=3 #5151

Closed
pranay06b opened this issue Apr 26, 2017 · 2 comments
Closed

conda create --name snakes python=3 #5151

pranay06b opened this issue Apr 26, 2017 · 2 comments
Labels
locked [bot] locked due to inactivity source::community catch-all for issues filed by community members type::support neither a bug nor feature, is really just a user having questions or difficulty somewhere

Comments

@pranay06b
Copy link

λ conda create --name snakes python=3
An unexpected error has occurred.
Please consider posting the following information to the
conda GitHub issue tracker at:

https://github.com/conda/conda/issues

Traceback (most recent call last):
File "C:\Anaconda2\Scripts\conda-script.py", line 5, in
sys.exit(conda.cli.main())
File "C:\Anaconda2\lib\site-packages\conda\cli\main.py", line 150, in main
return conda_exception_handler(_main)
File "C:\Anaconda2\lib\site-packages\conda\exceptions.py", line 488, in conda_exception_handler
print_unexpected_error_message(e)
File "C:\Anaconda2\lib\site-packages\conda\exceptions.py", line 436, in print_unexpected_error_message
info_stdout, info_stderr = get_info()
File "C:\Anaconda2\lib\site-packages\conda\exceptions.py", line 406, in get_info
args.func(args, p)
File "C:\Anaconda2\lib\site-packages\conda\cli\main_info.py", line 224, in execute
channels = list(prioritize_channels(channels).keys())
File "C:\Anaconda2\lib\site-packages\conda\models\channel.py", line 198, in prioritize_channels
channel = Channel(chn)
File "C:\Anaconda2\lib\site-packages\conda\models\channel.py", line 46, in call
elif has_scheme(value):
File "C:\Anaconda2\lib\site-packages\conda\models\channel.py", line 28, in has_scheme
return bool(urlparse(value).scheme in RECOGNIZED_URL_SCHEMES)
File "C:\Anaconda2\lib\site-packages\conda\common\url.py", line 51, in urlparse
return parse_url(url)
File "C:\Anaconda2\lib\site-packages\requests\packages\urllib3\util\url.py", line 195, in parse_url
raise LocationParseError(url)
requests.packages.urllib3.exceptions.LocationParseError: Failed to parse: C:\Users\xyz\Downloads

@kalefranz
Copy link
Contributor

You have C:\Users\xyz\Downloads listed as a channel in your condarc file. conda config --show-sources will give you more details, and show you which file you need to edit to remove it. Channels must either be named channels (i.e. associated with anaconda.org), or urls.

@kalefranz kalefranz added source::community catch-all for issues filed by community members type:question labels Apr 27, 2017
@github-actions
Copy link

github-actions bot commented Nov 1, 2021

Hi there, thank you for your contribution to Conda!

This issue has been automatically locked since it has not had recent activity after it was closed.

Please open a new issue if needed.

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Nov 1, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 1, 2021
@kenodegard kenodegard added type::support neither a bug nor feature, is really just a user having questions or difficulty somewhere and removed type::question labels Jan 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity source::community catch-all for issues filed by community members type::support neither a bug nor feature, is really just a user having questions or difficulty somewhere
Projects
None yet
Development

No branches or pull requests

3 participants