[pypsa-eur] Snakemake issue: FileNotFoundError: [Errno 2] No such file or directory: 'results/networks/elec_s_6_ec_lcopt_Co2L-24H.nc'

69 views
Skip to first unread message

Julius Meier

unread,
Mar 21, 2023, 8:00:17 AM3/21/23
to pypsa
Hello everyone,

I am very new to pypsa and sakemake so there might be a very obvious solution to my problem but after a lot of research, I still cannot figure it out.

I have a freshly installed pypsa-eur (version 0.8.0). When I run the electricity-only tutorial with the command
  • snakemake -call --configfile test/config.electricity.yaml results/networks/elec_s_6_ec_lcopt_Co2L-24H.nc
I get this error:
  • FileNotFoundError: [Errno 2] No such file or directory: 'results/networks/elec_s_6_ec_lcopt_Co2L-24H.nc'
I thought it is a windows related snakemake problem, at first. So I installed WLS, but there I get the same error.

Best regards, 
Julius


Fabian Neumann

unread,
Mar 22, 2023, 5:48:13 AM3/22/23
to pypsa
Hi Julius,

Thanks for your question! That might be an oversight in the recently updated documentation with regards to the ordering of arguments.

Try

snakemake -call results/test-elec/networks/elec_s_6_ec_lvopt_Co2L-24H.nc -n --configfile test/config.electricity.yaml

I'll fix the documentation.

Best wishes,

Fabian N

Alexandra Gerken

unread,
Mar 23, 2023, 6:02:48 AM3/23/23
to pypsa
Hey both, 

I have had the same issue as Julius. Unfortunately the snakemake thing didnt work.

Best, 
Alexandra

Julius Meier

unread,
Mar 23, 2023, 8:20:07 AM3/23/23
to pypsa
Hi,

for me it worked! 

Best, Julius

Fabian Hofmann

unread,
Mar 24, 2023, 9:09:04 AM3/24/23
to py...@googlegroups.com

Hey Alexandra,


did you manage to make it work in the end? Otherwise, would be happy to help and know if there is unexpected bugs.


Best

Fabian Hofmann

--
You received this message because you are subscribed to the Google Groups "pypsa" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pypsa+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/pypsa/3a0ba2c9-bf4a-4af3-ae01-405eadbbfccbn%40googlegroups.com.
-- 
Fabian Hofmann 

Postdoctoral Researcher
Institute of Energy Technology
Technische Universität Berlin
http://fabianhofmann.org/

Group website: https://tub-ensys.github.io/
Reply all
Reply to author
Forward
0 new messages