Skip to content

deployment issue in builds #60

Answered by giswqs
amccorketutoring asked this question in Q&A
Discussion options

You must be logged in to vote

Avoid using absolute file paths in notebook examples. Absolute file paths are not accessible by GitHub Actions, which are Linux-based VMs. File paths on your Windows won't be the same as the one on Linux.

gdf_buildings = gpd.read_file(r"C:\Users\Alex\Documents\GeoMorphProject1\data\KnoxCounty_Buildings.geojson")

Use relative file paths like this:

gdf_buildings = gpd.read_file("../../../data/KnoxCounty_Buildings.geojson")

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by giswqs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants