You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to use Galini in CLI but when I call "galini" I get this error:
Traceback (most recent call last):
File "C:\Users\user\miniconda3\Scripts\galini-script.py", line 33, in
sys.exit(load_entry_point('galini==1.0.2', 'console_scripts', 'galini')())
File "C:\Users\user\miniconda3\lib\site-packages\galini-1.0.2-py3.9.egg\galini\cli.py", line 47, in main
subcommands = collect_commands(
File "C:\Users\user\miniconda3\lib\site-packages\galini-1.0.2-py3.9.egg\galini\cli.py", line 34, in collect_commands
sub_cls = entry_point.load()
File "C:\Users\user\miniconda3\lib\site-packages\pkg_resources_init_.py", line 2471, in load
return self.resolve()
File "C:\Users\user\miniconda3\lib\site-packages\pkg_resources_init_.py", line 2477, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "C:\Users\user\miniconda3\lib\site-packages\galini-1.0.2-py3.9.egg\galini\commands_init_.py", line 21, in
from .commands import CliCommand, CliCommandWithProblem
File "C:\Users\user\miniconda3\lib\site-packages\galini-1.0.2-py3.9.egg\galini\commands\commands.py", line 20, in
from suspect.pyomo.connected_model import create_connected_model
File "C:\Users\user\miniconda3\lib\site-packages\cog_suspect-2.1.3-py3.9.egg\suspect_init_.py", line 16, in
from .summary import detect_special_structure
File "C:\Users\user\miniconda3\lib\site-packages\cog_suspect-2.1.3-py3.9.egg\suspect\summary.py", line 20, in
from suspect.fbbt import perform_fbbt
File "C:\Users\user\miniconda3\lib\site-packages\cog_suspect-2.1.3-py3.9.egg\suspect\fbbt_init_.py", line 16, in
from .initialization import BoundsInitializationVisitor
File "C:\Users\user\miniconda3\lib\site-packages\cog_suspect-2.1.3-py3.9.egg\suspect\fbbt\initialization_init_.py", line 16, in
from .visitor import BoundsInitializationVisitor, initialize_bounds
File "C:\Users\user\miniconda3\lib\site-packages\cog_suspect-2.1.3-py3.9.egg\suspect\fbbt\initialization\visitor.py", line 18, in
from suspect.pyomo.expressions import UnaryFunctionExpression, Constraint
File "C:\Users\user\miniconda3\lib\site-packages\cog_suspect-2.1.3-py3.9.egg\suspect\pyomo\expressions.py", line 18, in
from pyomo.core.expr.numeric_expr import (
ImportError: cannot import name 'ReciprocalExpression' from 'pyomo.core.expr.numeric_expr' (C:\Users\user\miniconda3\lib\site-packages\pyomo\core\expr\numeric_expr.cp39-win_amd64.pyd)
Hi, I'm trying to use Galini in CLI but when I call "galini" I get this error:
Traceback (most recent call last):
File "C:\Users\user\miniconda3\Scripts\galini-script.py", line 33, in
sys.exit(load_entry_point('galini==1.0.2', 'console_scripts', 'galini')())
File "C:\Users\user\miniconda3\lib\site-packages\galini-1.0.2-py3.9.egg\galini\cli.py", line 47, in main
subcommands = collect_commands(
File "C:\Users\user\miniconda3\lib\site-packages\galini-1.0.2-py3.9.egg\galini\cli.py", line 34, in collect_commands
sub_cls = entry_point.load()
File "C:\Users\user\miniconda3\lib\site-packages\pkg_resources_init_.py", line 2471, in load
return self.resolve()
File "C:\Users\user\miniconda3\lib\site-packages\pkg_resources_init_.py", line 2477, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "C:\Users\user\miniconda3\lib\site-packages\galini-1.0.2-py3.9.egg\galini\commands_init_.py", line 21, in
from .commands import CliCommand, CliCommandWithProblem
File "C:\Users\user\miniconda3\lib\site-packages\galini-1.0.2-py3.9.egg\galini\commands\commands.py", line 20, in
from suspect.pyomo.connected_model import create_connected_model
File "C:\Users\user\miniconda3\lib\site-packages\cog_suspect-2.1.3-py3.9.egg\suspect_init_.py", line 16, in
from .summary import detect_special_structure
File "C:\Users\user\miniconda3\lib\site-packages\cog_suspect-2.1.3-py3.9.egg\suspect\summary.py", line 20, in
from suspect.fbbt import perform_fbbt
File "C:\Users\user\miniconda3\lib\site-packages\cog_suspect-2.1.3-py3.9.egg\suspect\fbbt_init_.py", line 16, in
from .initialization import BoundsInitializationVisitor
File "C:\Users\user\miniconda3\lib\site-packages\cog_suspect-2.1.3-py3.9.egg\suspect\fbbt\initialization_init_.py", line 16, in
from .visitor import BoundsInitializationVisitor, initialize_bounds
File "C:\Users\user\miniconda3\lib\site-packages\cog_suspect-2.1.3-py3.9.egg\suspect\fbbt\initialization\visitor.py", line 18, in
from suspect.pyomo.expressions import UnaryFunctionExpression, Constraint
File "C:\Users\user\miniconda3\lib\site-packages\cog_suspect-2.1.3-py3.9.egg\suspect\pyomo\expressions.py", line 18, in
from pyomo.core.expr.numeric_expr import (
ImportError: cannot import name 'ReciprocalExpression' from 'pyomo.core.expr.numeric_expr' (C:\Users\user\miniconda3\lib\site-packages\pyomo\core\expr\numeric_expr.cp39-win_amd64.pyd)
Windows 10 x64
Python 3.9.13
pyomo 6.4.2
cog-suspect 2.1.3
numpy 1.21.5
coramin 0.1.1
The text was updated successfully, but these errors were encountered: