[gourou@192 ~]$ conda create -n gouPy python=3.7
An unexpected exceptional error has occurred, please consider sending the following traceback to the conda GitHub issue tracker at https://github.com/ContinuumIO/conda/issues
Traceback (most recent call last):
File "/home/gourou/anaconda/bin/conda", line 5, in
sys.exit(main())
File "/home/gourou/anaconda/lib/python2.7/site-packages/conda/cli/main.py", line 121, in main
args.func(args, p)
File "/home/gourou/anaconda/lib/python2.7/site-packages/conda/cli/main_create.py", line 57, in execute
conda = Anaconda()
File "/home/gourou/anaconda/lib/python2.7/site-packages/conda/anaconda.py", line 41, in __init__
super(Anaconda, self).__init__(**kw)
File "/home/gourou/anaconda/lib/python2.7/site-packages/conda/config.py", line 96, in __init__
self._rc = _load_condarc(RC_PATH)
File "/home/gourou/anaconda/lib/python2.7/site-packages/conda/config.py", line 59, in _load_condarc
rc = yaml.load(open(path))
File "/home/gourou/anaconda/lib/python2.7/site-packages/yaml/__init__.py", line 71, in load
return loader.get_single_data()
File "/home/gourou/anaconda/lib/python2.7/site-packages/yaml/constructor.py", line 37, in get_single_data
node = self.get_single_node()
File "/home/gourou/anaconda/lib/python2.7/site-packages/yaml/composer.py", line 36, in get_single_node
document = self.compose_document()
File "/home/gourou/anaconda/lib/python2.7/site-packages/yaml/composer.py", line 55, in compose_document
node = self.compose_node(None, None)
File "/home/gourou/anaconda/lib/python2.7/site-packages/yaml/composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
File "/home/gourou/anaconda/lib/python2.7/site-packages/yaml/composer.py", line 133, in compose_mapping_node
item_value = self.compose_node(node, item_key)
File "/home/gourou/anaconda/lib/python2.7/site-packages/yaml/composer.py", line 82, in compose_node
node = self.compose_sequence_node(anchor)
File "/home/gourou/anaconda/lib/python2.7/site-packages/yaml/composer.py", line 110, in compose_sequence_node
while not self.check_event(SequenceEndEvent):
File "/home/gourou/anaconda/lib/python2.7/site-packages/yaml/parser.py", line 98, in check_event
self.current_event = self.state()
File "/home/gourou/anaconda/lib/python2.7/site-packages/yaml/parser.py", line 382, in parse_block_sequence_entry
if self.check_token(BlockEntryToken):
File "/home/gourou/anaconda/lib/python2.7/site-packages/yaml/scanner.py", line 115, in check_token
while self.need_more_tokens():
File "/home/gourou/anaconda/lib/python2.7/site-packages/yaml/scanner.py", line 149, in need_more_tokens
self.stale_possible_simple_keys()
File "/home/gourou/anaconda/lib/python2.7/site-packages/yaml/scanner.py", line 289, in stale_possible_simple_keys
"could not found expected ':'", self.get_mark())
yaml.scanner.ScannerError: while scanning a simple key
in "/home/gourou/.condarc", line 8, column 1
could not found expected ':'
in "/home/gourou/.condarc", line 10, column 1
我换的源是
channels:
- https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
- https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- https://repo.continuum.io/pkgs/main
- defaults
show_channel_urls:ture