cobaya: cannot open cobaya-cosmo-generator
Posted: June 03 2021
Dear all,
I'm trying to use a GUI input generator in cobaya with the command 'cobaya-cosmo-generator,' but it keeps giving this error.
I use Linux Mint 19.3 and the most recent version of cobaya and have installed pyqt5 and pyside2 with pip3 recently.
I don't think the problem depends on some particular type of system, as I've already tried the same command on the ubuntu wsl system.
It gives a similar error like this:
How can I resolve this problem?
I'm trying to use a GUI input generator in cobaya with the command 'cobaya-cosmo-generator,' but it keeps giving this error.
Code: Select all
Traceback (most recent call last):
File "/home/cosmos/.local/bin/cobaya-cosmo-generator", line 7, in <module>
from cobaya.cosmo_input import gui_script
ImportError: cannot import name 'gui_script'
I don't think the problem depends on some particular type of system, as I've already tried the same command on the ubuntu wsl system.
It gives a similar error like this:
Code: Select all
Traceback (most recent call last):
File "/home/cosmos/.local/bin/cobaya-cosmo-generator", line 7, in <module>
from cobaya.cosmo_input import gui_script
ImportError: cannot import name 'gui_script' from 'cobaya.cosmo_input' (/home/cosmos/.local/lib/python3.8/site-packages/cobaya/cosmo_input/__init__.py)