-
I am a beginner of Python. I tried test command. from biomass import Model, optimize model = Model(Nakakuki_Cell_2010.package).create() optimize(model, x_id=range(1, 11)) but, it didn't work error occerd. FileNotFoundError: [Errno 2] No such file or directory: 'biomass\models\Nakakuki_Cell_2010\set_model.py' I couldn't find the solution. Could you give me some advise? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hello @JK9057, thank you for your inquiry, and great thanks for using BioMASS! I guess you installed BioMASS via pip. Can you please install biomass via git clone? $ git clone https://github.com/biomass-dev/biomass
$ cd biomass Or download zip and work in Then, you can run: from biomass import Model, optimize
from biomass.models import Nakakuki_Cell_2010
model = Model(Nakakuki_Cell_2010.__package__).create()
optimize(model, x_id=range(1, 11)) I hope this helps resolve the issue. If the problem still persists, please do let me know. Thanks, |
Beta Was this translation helpful? Give feedback.
Hello @JK9057, thank you for your inquiry, and great thanks for using BioMASS!
I guess you installed BioMASS via pip. Can you please install biomass via git clone?
$ git clone https://github.com/biomass-dev/biomass $ cd biomass
Or download zip and work in
biomass-master
folder.Then, you can run:
I hope this helps resolve the issue. If the problem still persists, please do let me know.
Thanks,
Hiroaki