-
Notifications
You must be signed in to change notification settings - Fork 155
Open
Description
Hello,
I recently installed cobaya on my computer, I created a new cobaya env to do so. However, I am having a lot of trouble with the clik instalation. I have tried to install it with waf but although I did install waf when creating this env, it doesn't seem to be working. If I try waf configure (or any waf command such as waf --help) it leads to this
waf configure
/home/dinorah/cobaya/code/planck/clik-main/wscript:674: SyntaxWarning: invalid escape sequence '\$'
set newvar=`echo ${newvar} | sed s@:%(PATH)s\$@@`
Traceback (most recent call last):
File "/home/dinorah/anaconda3/bin/.waf3-2.0.22-860650abdb71122e861b8cc3c15ce7ff/waflib/Options.py", line 146, in add_option_group
gr=self.option_groups[k[0]]
~~~~~~~~~~~~~~~~~~^^^^^^
KeyError: <waflib.Options.opt_parser object at 0x7d2f4a3408f0>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/dinorah/anaconda3/bin/.waf3-2.0.22-860650abdb71122e861b8cc3c15ce7ff/waflib/Scripting.py", line 119, in waf_entry_point
run_commands()
File "/home/dinorah/anaconda3/bin/.waf3-2.0.22-860650abdb71122e861b8cc3c15ce7ff/waflib/Scripting.py", line 178, in run_commands
parse_options()
File "/home/dinorah/anaconda3/bin/.waf3-2.0.22-860650abdb71122e861b8cc3c15ce7ff/waflib/Scripting.py", line 158, in parse_options
ctx.execute()
File "/home/dinorah/anaconda3/bin/.waf3-2.0.22-860650abdb71122e861b8cc3c15ce7ff/waflib/Options.py", line 213, in execute
super(OptionsContext,self).execute()
File "/home/dinorah/anaconda3/bin/.waf3-2.0.22-860650abdb71122e861b8cc3c15ce7ff/waflib/Context.py", line 92, in execute
self.recurse([os.path.dirname(g_module.root_path)])
File "/home/dinorah/anaconda3/bin/.waf3-2.0.22-860650abdb71122e861b8cc3c15ce7ff/waflib/Context.py", line 133, in recurse
user_function(self)
File "/home/dinorah/cobaya/code/planck/clik-main/wscript", line 98, in options
ctx.load("any_lapack",tooldir="waf_tools")
File "/home/dinorah/anaconda3/bin/.waf3-2.0.22-860650abdb71122e861b8cc3c15ce7ff/waflib/Context.py", line 90, in load
fun(self)
File "/home/dinorah/cobaya/code/planck/clik-main/waf_tools/any_lapack.py", line 22, in options
atl.add_lib_option("lapack",ctx,install=True)
File "/home/dinorah/cobaya/code/planck/clik-main/waf_tools/autoinstall_lib.py", line 24, in add_lib_option
grp=opt.add_option_group(opt.parser,libname+" options")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dinorah/anaconda3/bin/.waf3-2.0.22-860650abdb71122e861b8cc3c15ce7ff/waflib/Options.py", line 148, in add_option_group
gr=self.parser.add_option_group(*k,**kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dinorah/anaconda3/lib/python3.12/optparse.py", line 1334, in add_option_group
raise TypeError("invalid arguments")
TypeError: invalid arguments
I tried to search this error but I couldn't find anything to point as to what I'm doing wrong. The conda list for this env is presented here (https://drive.google.com/file/d/1VRulrQJUsQQzO6JZEULlsbLhQ6GsogVz/view?usp=drive_link)
Sorry in advance, I know planck installation is a very common error.
Best,
Dinorah
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels