zestai / zrp

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

Bug when running example code #10

Closed vaalwan closed 2 years ago

vaalwan commented 2 years ago

Is there an existing issue for this?

What happened?

A bug happened!

Hi! I am a PhD student working on a project and would want to use the zrp package for it. I am following your example code in ZRP-Tutorial.ipynb and can't figure out why I keep getting the following bug. Specifically, when I run 'zrp_output = zest_race_predictor.transform(zrp_sample)' I keep getting the following error:

'No such file or directory: '/home/valwan/.local/lib/python3.8/site-packages/zrp/prepare/../data/processed/geo/2019/Zest_Geo_Lookup_2019_State_34.parquet'

Is there something I need to update or change with the zrp package? Please let me know!

Thanks! Vanessa Alwan

Steps To Reproduce

No response

What browsers are you seeing the problem on?

No response

Environment

- OS:
- Node:
- yarn:

Anything else?

No response

Code of Conduct

kasey-zest commented 2 years ago

Hi, thanks for reporting this! Did you download the support files using: python -m zrp download after pip installing ZRP?

vaalwan commented 2 years ago

I did that and it solved that problem! However, whenever it tries to load the ACS lookup tables the action is killed and the code terminates. Is there something further I need to do?