求助:re.error: nothing to repeat at position 0
我在hpc上装model出现了这个问题:
Traceback (most recent call last):
File "./create_newcase", line 210, in <module>
_main_func(__doc__)
File "./create_newcase", line 198, in _main_func
case.create(casename, srcroot, compset, grid, user_mods_dir=user_mods_dir,
File "/scratch/PI/shixm/yuanyuan/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/case/case.py", line 1436, in create
self.configure(compset_name, grid_name, machine_name=machine_name,
File "/scratch/PI/shixm/yuanyuan/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/case/case.py", line 811, in configure
probed_machine = machobj.probe_machine_name()
File "/scratch/PI/shixm/yuanyuan/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/XML/machines.py", line 112, in probe_machine_name
machine = self._probe_machine_name_one_guess(nametomatch)
File "/scratch/PI/shixm/yuanyuan/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/XML/machines.py", line 147, in _probe_machine_name_one_guess
regex = (regex_str)
File "/opt/ohpc/pub/apps/anaconda3-2021.05/lib/python3.8/re.py", line 252, in compile
return _compile(pattern, flags)
File "/opt/ohpc/pub/apps/anaconda3-2021.05/lib/python3.8/re.py", line 304, in _compile
p = sre_(pattern, flags)
File "/opt/ohpc/pub/apps/anaconda3-2021.05/lib/python3.8/sre_compile.py", line 764, in compile
p = sre_parse.parse(p, flags)
File "/opt/ohpc/pub/apps/anaconda3-2021.05/lib/python3.8/sre_parse.py", line 948, in parse
p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
File "/opt/ohpc/pub/apps/anaconda3-2021.05/lib/python3.8/sre_parse.py", line 443, in _parse_sub
itemsappend(_parse(source, state, verbose, nested + 1,
File "/opt/ohpc/pub/apps/anaconda3-2021.05/lib/python3.8/sre_parse.py", line 668, in _parse
raise source.error("nothing to repeat",
re.error: nothing to repeat at position 0
小白不知道怎么处理了555
有人遇到过这种问题吗!!
谢谢!!!