pypsa-meets-earth / pypsa-earth

PyPSA-Earth: A flexible Python-based open optimisation model to study energy system futures around the world.
https://pypsa-earth.readthedocs.io/en/latest/
218 stars 173 forks source link

OSError raised on Windows #523

Closed vjha-gams closed 1 year ago

vjha-gams commented 1 year ago

Checklist

Describe the Bug

Please provide a description of what the bug is and add a minimal example/command for reproducing the bug.

While running the tutorial as explained in the github readme files, The command prompt always gives the following error message. OSError: [WinError 1314] A required privilege is not held by the client.

Error Message

I have attached a screengrab of my windows terminal after it throws the error. I have also tried updating my symlink settings but up to no success.

pypsaEarthError2

If applicable, paste any terminal output to help illustrating your problem. In some cases it may also be useful to share your list of installed packages: conda list.

<paste here>
davide-f commented 1 year ago

Hello, thanks for posting! The problem unfortunately is know and it is related to the operating system.

If you run vscode as an administrator that problem shouldn't appear

vjha-gams commented 1 year ago

Earlier, I had tried running the same in command prompt with administrator access, but it did not work. Thus, decided to raise an issue. Thank you for the fix! It is working now.

davide-f commented 1 year ago

No problem, happy to have helped :)