-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependency issues building gtfs-etl image locally on ARM architecture #20
Comments
It works for me, because this fails on the Docker build, then it could be either something with the OS / environment you are using, or due to some local changes you have in gtfs-etl code here are the full reproduction steps when I run it from my PC:
|
Please try to run with the reproduction steps as I wrote above, and provide full output and reproduction steps |
@ShayAdler the problem is that the base Python Docker image is multiplatform and you are running with ARM architecture which requires compilation of some Python libraries. I modified all the Docker images to specify linux/amd64 architecture which is the chitecture they were built with and which we use on our infrastructure. It might work as-is, but if not then specific changes will be required to support ARM architecture |
Ran
docker-compose -f docker-compose.yaml -f docker-compose-dev.yaml build gtfs-etl
locally, and encountered several dependencies issues -gdal -
#10 21.46 Collecting fiona>=1.8 #10 21.54 Downloading Fiona-1.8.21.tar.gz (1.0 MB) #10 21.58 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 32.2 MB/s eta 0:00:00 #10 21.65 Preparing metadata (setup.py): started #10 21.75 Preparing metadata (setup.py): finished with status 'error' #10 21.76 error: subprocess-exited-with-error #10 21.76 #10 21.76 × python setup.py egg_info did not run successfully. #10 21.76 │ exit code: 1 #10 21.76 ╰─> [2 lines of output] #10 21.76 Failed to get options via gdal-config: [Errno 2] No such file or directory: 'gdal-config' #10 21.76 A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable. #10 21.76 [end of output]
Editing the dockerfile to resolved those errors -
Dockerfile.txt
Up to the next one -
plyvel
, got this error which I haven't had time to resolve yet, seems like a dependencies version incompatibility issue-plyvel_error.txt
The text was updated successfully, but these errors were encountered: