jamct / facerec

Face recognition for Raspberry Pi
3 stars 4 forks source link

compile error during docker build at step 7 #6

Open ati975 opened 5 years ago

ati975 commented 5 years ago

Step 7/8 : RUN cd /face_recognition && pip3 install -r requirements.txt && python3 setup.py install ---> Running in c326a45b1eb4 Looking in indexes: https://pypi.python.org/simple/ Collecting face_recognition_models (from -r requirements.txt (line 1)) Downloading https://files.pythonhosted.org/packages/cf/3b/4fd8c534f6c0d1b80ce0973d01331525538045084c73c153ee6df20224cf/face_recognition_models-0.3.0.tar.gz (100.1MB) Collecting Click>=6.0 (from -r requirements.txt (line 2)) Downloading https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl (81kB) Requirement already satisfied: dlib>=19.3.0 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 3)) (19.17.0) Requirement already satisfied: numpy in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 4)) (1.17.2) Collecting Pillow (from -r requirements.txt (line 5)) Downloading https://files.pythonhosted.org/packages/51/fe/18125dc680720e4c3086dd3f5f95d80057c41ab98326877fc7d3ff6d0ee5/Pillow-6.1.0.tar.gz (33.8MB) Collecting scipy>=0.17.0 (from -r requirements.txt (line 6)) Downloading https://files.pythonhosted.org/packages/ee/5b/5afcd1c46f97b3c2ac3489dbc95d6ca28eacf8e3634e51f495da68d97f0f/scipy-1.3.1.tar.gz (23.6MB) Could not find a version that satisfies the requirement Cython>=0.29.2 (from versions: ) No matching distribution found for Cython>=0.29.2 You are using pip version 10.0.1, however version 19.2.3 is available. You should consider upgrading via the 'pip install --upgrade pip' command. The command '/bin/sh -c cd /face_recognition && pip3 install -r requirements.txt && python3 setup.py install' returned a non-zero code: 1

qualityland27 commented 4 years ago

Any update? I have sth similar .. https://stackoverflow.com/questions/59604401/the-command-xx-returned-a-non-zero-code-1