{"action":"created","issue":{"url":"https://api.github.com/repos/ageitgey/face_recognition/issues/94","repository_url":"https://api.github.com/repos/ageitgey/face_recognition","labels_url":"https://api.github.com/repos/ageitgey/face_recognition/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/ageitgey/face_recognition/issues/94/comments","events_url":"https://api.github.com/repos/ageitgey/face_recognition/issues/94/events","html_url":"https://github.com/ageitgey/face_recognition/issues/94","id":233374235,"number":94,"title":"How to install face_recognition?","user":{"login":"Dingo64","id":13681463,"avatar_url":"https://avatars2.githubusercontent.com/u/13681463?v=3","gravatar_id":"","url":"https://api.github.com/users/Dingo64","html_url":"https://github.com/Dingo64","followers_url":"https://api.github.com/users/Dingo64/followers","following_url":"https://api.github.com/users/Dingo64/following{/other_user}","gists_url":"https://api.github.com/users/Dingo64/gists{/gist_id}","starred_url":"https://api.github.com/users/Dingo64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dingo64/subscriptions","organizations_url":"https://api.github.com/users/Dingo64/orgs","repos_url":"https://api.github.com/users/Dingo64/repos","events_url":"https://api.github.com/users/Dingo64/events{/privacy}","received_events_url":"https://api.github.com/users/Dingo64/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-06-03T14:53:22Z","updated_at":"2017-06-03T22:58:17Z","closed_at":null,"body":"There is something seriously wrong with this script. I tried 2 methods and both gave me nothing. I am trying on Debian 8 Amd64. \r\n\r\nMethod 1 returns so many errors after the last command that it's insane:\r\n```\r\napt-get install libcurl3\r\napt-get install cmake\r\napt-get install git\r\napt-get install python3.4\r\napt-get install python3-pip\r\napt-get install libboost-all-dev\r\nmkdir temporarydir\r\ncd temporarydir\r\ngit clone https://github.com/davisking/dlib.git\r\ncd dlib\r\nmkdir build \r\ncd build;\r\ncmake .. -DDLIB_USE_CUDA=0 -DUSE_AVX_INSTRUCTIONS=1\r\ncmake --build .\r\ncd ..\r\npython3 setup.py install --yes USE_AVX_INSTRUCTIONS --no DLIB_USE_CUDA\r\npip3 install scipy\r\npip3 install face_recognition\r\n```\r\nMethod 2 is simpler:\r\n```\r\nwget https://3230d63b5fc54e62148e-c95ac804525aac4b6dba79b00b39d1d3.ssl.cf1.rackcdn.com/Anaconda-2.3.0-Linux-x86_64.sh\r\nbash Anaconda-2.3.0-Linux-x86_64.sh\r\nconda create -n py35 python=3.5\r\nactivate py35\r\nconda config --add channels conda-forge\r\nconda install numpy\r\nconda install scipy\r\nconda install dlib\r\npip install face_recognition\r\nconda install scipy\r\n```\r\nAs you can see I installed scipy twice and yet when I try to run face_recognition I get:\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/face_recognition\", line 7, in <module>\r\n    from face_recognition.cli import main\r\n  File \"/usr/local/lib/python3.4/dist-packages/face_recognition/__init__.py\", line 7, in <module>\r\n    from .api import load_image_file, face_locations, face_landmarks, face_encodings, compare_faces, face_distance\r\n  File \"/usr/local/lib/python3.4/dist-packages/face_recognition/api.py\", line 3, in <module>\r\n    import scipy.misc\r\nImportError: No module named 'scipy'\r\n```"},"comment":{"url":"https://api.github.com/repos/ageitgey/face_recognition/issues/comments/306006427","html_url":"https://github.com/ageitgey/face_recognition/issues/94#issuecomment-306006427","issue_url":"https://api.github.com/repos/ageitgey/face_recognition/issues/94","id":306006427,"user":{"login":"Dingo64","id":13681463,"avatar_url":"https://avatars2.githubusercontent.com/u/13681463?v=3","gravatar_id":"","url":"https://api.github.com/users/Dingo64","html_url":"https://github.com/Dingo64","followers_url":"https://api.github.com/users/Dingo64/followers","following_url":"https://api.github.com/users/Dingo64/following{/other_user}","gists_url":"https://api.github.com/users/Dingo64/gists{/gist_id}","starred_url":"https://api.github.com/users/Dingo64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dingo64/subscriptions","organizations_url":"https://api.github.com/users/Dingo64/orgs","repos_url":"https://api.github.com/users/Dingo64/repos","events_url":"https://api.github.com/users/Dingo64/events{/privacy}","received_events_url":"https://api.github.com/users/Dingo64/received_events","type":"User","site_admin":false},"created_at":"2017-06-03T22:58:17Z","updated_at":"2017-06-03T22:58:17Z","body":"So I did:\r\n```\r\npip3 uinstall face_recognition\r\npip3 uinstall scipy\r\npip3 install face_recognition\r\n```\r\nand while installing face_recognition I get:\r\n```\r\n  Can't roll back scipy; was not uninstalled\r\nCleaning up...\r\nCommand /usr/bin/python3 -c \"import setuptools, tokenize;__file__='/tmp/pip-build-w_c6gd48/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-5yqofi1j-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-w_c6gd48/scipy\r\nStoring debug log for failure in /root/.pip/pip.log\r\n```\r\n"}}
{"actor":{"display_login":"Dingo64"}}