Do you have a specific numpy version you are installing ? why is it trying to install the wheel from code?
AgitatedDove14 I am upgrade upgrading pip before this. 😕
AgitatedDove14 I found it's the issue with pycryptodome 😕
Error started coming from here. Maybe specific version of it. Digging more.#13 101.0 note: This error originates from a subprocess, and is likely not a problem with pip. #13 101.0 ERROR: Failed building wheel for pycryptodome #13 101.0 Running setup.py clean for pycryptodome #13 104.9 Building wheel for numpy (pyproject.toml): started #13 158.5 Building wheel for numpy (pyproject.toml): finished with status 'error' #13 158.8 error: subprocess-exited-with-error
so I think it depends if python:3.9-alpine use x86
which I believe it might be probably
Still failing but I know the root cause though.
Hi DrabCockroach54
This seems like a pip issue trying to install from source, try upgrading the pip version and before installing numpy, it should solve it 🤞
😕 I will using docker_image python:3.9-alpine
I am running a basic python script. Need to use clearml to use it's API
DrabCockroach54 notice here there is no aarch64 wheel for anything other than python 3.5...
(and in both cases only py 3.5/3.6 builds, everything else will be built from code)
https://pypi.org/project/pycryptodome/#files
this sounds like docker build issue on macos M1
https://pythonspeed.com/articles/docker-build-problems-mac/
RUN apk update && apk upgrade --no-cache RUN /usr/local/bin/python3 -m pip install --upgrade pip RUN /usr/local/bin/python3 -m pip install -r requirements.txt
Oh found it:temp.linux-aarch64-cpython-39
this is Arm?!
Phew. Make sense. I am testing it by updating FROM in dockerfile.
Fingers crossed.