Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import pycge #9

Open
nomoreoneday opened this issue May 17, 2021 · 0 comments
Open

import pycge #9

nomoreoneday opened this issue May 17, 2021 · 0 comments

Comments

@nomoreoneday
Copy link

nomoreoneday commented May 17, 2021

Hi Juan,
Good works on CGE!
I got an error when I try to run the stdcge_model_def.py

from pyomo.environ import *
from pycge.examples.stdcge_model_def import StdModelDef
from pycge.PyCGE import PyCGE

The error I got is like this:

Traceback (most recent call last):
  File "c:\Users\SIXU GUO\Desktop\CGE_MODEL\pycge_model\pycge-master\pycge\examples\stdcge.py", line 12, in <module>
    from pycge.examples.stdcge_model_def import StdModelDef
ModuleNotFoundError: No module named 'pycge'

I'm wondering if you know what I'm doing wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant