Closed ajipratama14 closed 5 months ago
Hi @ajipratama14; thanks for submitting the issue!
I have just merged in a PR that should fix some package issues we ran into a couple weeks ago; including the ModuleNotFoundError: No module named 'osemosys_global'
error. Are you able to try and pull the latest fix (from the master branch) and try the install again and let me know if that fixes the issue. I dont recall seeing the ModuleNotFoundError: No module named 'world_bank_data'
error on my side before, but maybe the latest PR will address that to.
Apologies for the install issues, and thank you for reporting!
Hi @trevorb1 ,
Thanks for the answer! For the ModuleNotFoundError: No module named 'world_bank_data' is already solved on my side. But, the ModuleNotFoundError: No module named 'osemosys_global' is still happening. I already tried to pull the new PR, but seems the problem still exists. Please see the attached log. demand_projections.log powerplant.log timeslice.log
Hi @ajipratama14. Could you try removing osemosys-global from your env file and reinstall with pip install git+https://github.com/OSeMOSYS/osemosys_global@master
and try again?
Or, to add to @maartenbrinkerink's answer, can you try just doing pip install .
from the root directory
Hi @trevorb1 @maartenbrinkerink, it works! thank you so much for your help.
@ajipratama14 You're welcome! @trevorb1 Unfortunately that does seem to imply that our installation issues for Ubuntu based on the env file are not fully fixed :( I suggest to keep this issue open for the time being. Also in case someone else runs into similar issues.
@maartenbrinkerink; I updated install instructions to use mamba (following @abhishek0208's suggestion) and everything worked fine now. I tested on a fresh install of Ubuntu and I did not need the additional gcc install steps. If you run into any more install issues, please feel free to reopen though!
Conda environment check
osemosys-global
conda environment.Current Behavior
Hi I want to use the OSeMOSYS global for modelling energy systems in Indonesia. However, I encounter some problems. It seems that the snakemake example couldn't be run on my laptop. Do you know why this issue happened? Attached are the snapshot of the errors and also the logdetail. Thanks! timeslice.log demand_projections.log powerplant.log
Expected Behavior
No response
Steps To Reproduce
Operating System
Linux
Log output
Anything else?
No response