Skip to content

FileNotFoundError #91

Closed Answered by himoto
JK9057 asked this question in Q&A
Feb 14, 2022 · 1 comments · 7 replies
Discussion options

You must be logged in to vote

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:

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,
Hiroaki

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@JK9057
Comment options

@himoto
Comment options

@JK9057
Comment options

@himoto
Comment options

@JK9057
Comment options

Answer selected by himoto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants