I was using Intel-based machine and it was running all fine, but now I switched to Apple M1 based Mac Pro, and now the below line giving an error which I am not able to resolve, can you someone please help?
RUN pip3 --no-cache-dir install multi-model-server \ sagemaker-inference \ retrying
[ 5/11] RUN pip3 --no-cache-dir install multi-model-server sagemaker-inference retrying:
8 0.995 DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 2021. pip 21.0 will remove support for this functionality.
8 243.1 Building wheels for collected packages: future, retrying, psutil, numpy, scipy, sagemaker-inference
8 243.1 Building wheel for future (setup.py): started
8 243.3 Building wheel for future (setup.py): finished with status 'done'
8 243.4 Created wheel for future: filename=future-0.18.2-py3-none-any.whl size=491058 sha256=427102d6ad543ff3a7b44e3eec2b1f4efefc8f1560098b8a5d50ad9f9fa1c949
8 243.4 Stored in directory: /tmp/pip-ephem-wheel-cache-o6b_e6bp/wheels/c4/f0/ae/d4689c4532d1f111462ed6a884a7767d502e511ee65f0d8e1b
8 243.4 Building wheel for retrying (setup.py): started
8 243.5 Building wheel for retrying (setup.py): finished with status 'done'
8 243.5 Created wheel for retrying: filename=retrying-1.3.3-py3-none-any.whl size=11430 sha256=262a9b46b5e8741c94cff8e93e342fc70028327b7a129116fb9adbd2e395e009
8 243.5 Stored in directory: /tmp/pip-ephem-wheel-cache-o6b_e6bp/wheels/3b/99/4f/0a1f6df79f19d8004535c0ef947d89ced988bf231c8a9e8491
8 243.5 Building wheel for psutil (PEP 517): started
8 244.1 Building wheel for psutil (PEP 517): finished with status 'done'
8 244.1 Created wheel for psutil: filename=psutil-5.9.1-cp35-cp35m-linux_aarch64.whl size=277043 sha256=7e47eac7d366a5f654c0d54bf4cdaeca06800afb26bd6c79f911c84a7a82077e
8 244.1 Stored in directory: /tmp/pip-ephem-wheel-cache-o6b_e6bp/wheels/5f/61/14/330e20ec6267ec2d2cdd52ca448bfe6a891da653e258e65aa9
8 244.1 Building wheel for numpy (PEP 517): started
8 304.2 Building wheel for numpy (PEP 517): still running...
8 304.7 Building wheel for numpy (PEP 517): finished with status 'done'
8 304.7 Created wheel for numpy: filename=numpy-1.18.5-cp35-cp35m-linux_aarch64.whl size=12293027 sha256=f2a017e2cf12b781bf865d6ad2aeebcb312c425e947f767aa6c7d56f47246371
8 304.7 Stored in directory: /tmp/pip-ephem-wheel-cache-o6b_e6bp/wheels/57/22/c3/31895838f3e4214e445778a50643a588d6d2a53c09301aa138
8 304.7 Building wheel for scipy (setup.py): started
8 304.8 Building wheel for scipy (setup.py): finished with status 'error'
8 304.8 ERROR: Command errored out with exit status 1:
8 304.9 files that aren't checked into the git repo)
8 304.9
8 304.9 Add --force to your command to use it anyway if you must (unsupported).
8 304.9
8 304.9 ----------------------------------------
8 304.9 ERROR: Failed cleaning build dir for scipy
8 304.9 Building wheel for sagemaker-inference (setup.py): started
8 305.0 Building wheel for sagemaker-inference (setup.py): finished with status 'done'
8 305.0 Created wheel for sagemaker-inference: filename=sagemaker_inference-1.6.1-py2.py3-none-any.whl size=27821 sha256=346e71125a5453dd180ad05611f329cff2103e661fd6ff79acaa7ef500305686
8 305.0 Stored in directory: /tmp/pip-ephem-wheel-cache-o6b_e6bp/wheels/54/4a/e3/feb2f1ec95647393f83988512286f09091e748922502e74927
8 305.0 Successfully built future retrying psutil numpy sagemaker-inference
I was using Intel-based machine and it was running all fine, but now I switched to Apple M1 based Mac Pro, and now the below line giving an error which I am not able to resolve, can you someone please help?
RUN pip3 --no-cache-dir install multi-model-server \ sagemaker-inference \ retrying
Error `=> ERROR [ 5/11] RUN pip3 --no-cache-dir install multi-model-server sagemaker-inference retrying 307.2s