ecamo19 / sureau_ecos_py

Repo containing the Python code for the SurEau model
https://ecamo19.github.io/sureau_ecos_py/
Apache License 2.0
0 stars 1 forks source link

pb installing the module #2

Open NicoINRA opened 11 months ago

NicoINRA commented 11 months ago

Hello Erick ! I am Nicolas. I received your notification from the sureau forum. I have tried to install sureau_ecos_py from python3 (that I just downloaded : I am not a python user) and I had the following message :

ERROR: Could not find a version that satisfies the requirement sureau_ecos_py (from versions: none) ERROR: No matching distribution found for sureau_ecos_py

I guess I need to target a specific repository to install it may be. But I didnt see any instruction on this.

Thanks a lot for your feedbacks.

Cheers, Nico

ecamo19 commented 11 months ago

Hi Nicolas!

I haven't published the package in PyPi yet because it still needs more work, that is why you are getting the error. My main goal is to publish it at the beginning of the next year.

In the meantime, if you want to play around with the code, I have implemented a codespace where without installing anything locally you can run the code.

To open the codespace, click on the <>Code green button (as in the image below) and then click on the sureau_sandbox button. This will create a virtual environment for running the code.

Screenshot 2023-11-26 at 8 23 13 PM

After that, go to the folder called nbs and open any of the .ipynb files there to play with the code.

As a side note, when you run any of the chunks for the first time inside the .ipynb files (by clicking the arrow button on the left-hand side of the .ipynb or by pressing the Shift + Enter shortcut) select the Python Environments... option and then select Python 3.9.18 for running the code.

Please let me know what you think. Your feedback is much appreciated.

Pura vida! Erick