zestai / zrp

Zest Race Predictor
Apache License 2.0
28 stars 3 forks source link

Error when trying to install package #8

Closed jewy16 closed 2 years ago

jewy16 commented 2 years ago

Is there an existing issue for this?

What happened?

I am getting the following error when trying to install the package:

snips from jupyter.docx

Steps To Reproduce

No response

What browsers are you seeing the problem on?

No response

Environment

- OS: Windows 10
- Node:
- yarn:

Anything else?

I am frsutrated why this isn't working...

Code of Conduct

chriswill21 commented 2 years ago

Thank you for reporting this issue. We are working on a resolution which will be released by Monday. With the new release, you should no longer have this issue with pip installing. Nevertheless, we'd also like to provide context on an intermediate fix.

The installation issue is only expected to occur on Windows systems. Fiona, a package used for reading geospatial data, has requirement files that are more complex to install on Windows systems. Supplementary information on installation of Fiona on windows systems is available here: https://github.com/Toblerity/Fiona/tree/1.8.20#windows. A work-around for installing zrp in the interim is the following:

  1. Install Fiona for Windows systems in a fresh python virtual environment
  2. Git clone the zrp repo
  3. Unpin or comment out Fiona from the requirements.txt before locally installing zrp.
  4. Pip install ZRP from this local repo using the following command pip install -e {/path/to/zrp/repo}
  5. Run the following command as also instructed in the ReadMe to finish installation: python -m zrp download
chriswill21 commented 2 years ago

The new pip and github release (zrp 0.2.0) have fixed this issue