BioSTEAMDevelopmentGroup / Bioindustrial-Park

BioSTEAM's Premier Repository for Biorefinery Models and Results
MIT License
38 stars 17 forks source link

biosteam TypeError: 'type' object is not subscriptable #52

Closed Ceigen closed 1 year ago

Ceigen commented 1 year ago

Hello, its the first time that i try to use biosteam. I have a problem with llvmlite in the installition, but i managed to solve the problem. Then I uninstalled and installed again, and this time no error aparead. but when i tried to import biosteam the error in the photo showed up and i have no idea what to do to fix that. Someone can give a orietation?

biosteam

yoelcortes commented 1 year ago

@Ceigen, thanks for the question! BioSTEAM works only with Python >= 3.9. The error is coming from frozenset[str], which is not valid in python 3.8 or less.

Nice to hear you managed to solve the problem with llvmlite. I recommend reinstalling python with an Anaconda 3.9 distribution (https://www.anaconda.com/products/distribution), then installing BioSTEAM and graphviz (https://forum.graphviz.org/t/new-simplified-installation-procedure-on-windows/224#format-svg-not-recognized-use-one-of).

Please feel free to post following questions. Once you get BioSTEAM working well, feel free to close this thread.

Thanks!

Ceigen commented 1 year ago

Thank you very much for your attention!

I'm going to update my python