-
-
Notifications
You must be signed in to change notification settings - Fork 298
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 issue in installation script #7
Comments
Missed a dependency, sorry. The merge i just did should fix this. |
those errors have disappeared but I have a new one: Traceback (most recent call last): |
Looks like you don't have pip either, pushed another one to fix that. I'll be here if you get another error. |
new message at the time of installation (but this is not a error): The directory '/home/szelag/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Nothing has changed at the end: Traceback (most recent call last): |
Missed one dependency the last time i added packages, that one should work now. |
nope, still the same error: Traceback (most recent call last): |
Fixed setuptools only being available on python2, hopefully you should get past that now? |
new error :-) Invoking CMake setup: 'cmake /tmp/dlib_clone/tools/python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/dlib_clone/build/lib.linux-x86_64-3.6 -DPYTHON_EXECUTABLE=/usr/bin/python3 -DUSE_AVX_INSTRUCTIONS=yes -DDLIB_USE_CUDA=no -DCMAKE_BUILD_TYPE=Release' I have to go to sleep, I'll be back tomorrow to test. thank you for your time! |
sorry, I installed cmake and the installation went on, but there is still an error: File "/usr/lib/python3.6/subprocess.py", line 291, in check_call |
That looks nasty. What version of Ubuntu are you running and has nothing else been printed to the console? |
Real error is
It is due to we have Anaconda already installed. You can check it with
To fix it, change "python" references to "python3" in installer.py line 39. We are using python 3.x but apt installs python 2.x packages.py Now, we could install everything but "sudo -i" shows the following error:
Now installing cv2 module using "pip3 install opencv-python" doesn't work. So, to fix it, install cv2 dependency with Later on, we have error in face_detection module, so I fix it adding it. Now, howdy works Anyway, in low light conditions, howdy wouldn't work so it will take us about 10 seconds to be able to prompt password in sudo and login screen so a good idea would be to be able to prompt password in the same time howdy is trying to detect our face without waiting howdy script to exit |
Thanks so much for figuring this out, i'll fix the python2 apt packages. I can't reproduce the last 2 errors, and i can't really expect everyone to have conda installed. Might need to add information on how to fix that installation error in the readme. I've added the last note as a new issue at #9. However, i'm not sure how this can be implemented. It needs to be done in PAM but i don't know enough about it to fix it and online manuals are few and far between. |
As i've had no other reports of the specific issue with cv2, i'm going to close this for now. Feel free to comment if you've also encountered this error. |
apt install python3-opencv just works for me. |
It also works as expected on the travis 16.04 instance, it seems very machine dependent |
maybe I should comment on issue #32 but commentted here... |
hi, I receive the following errors and the howdy command is not available after installation (ubuntu 17.10, IR led blinks during the test):
Traceback (most recent call last):
File "/tmp/howdy_install.py", line 94, in
handleStatus(subprocess.call(["git", "clone", "https://github.com/davisking/dlib.git", "/tmp/dlib_clone"]))
File "/usr/lib/python3.6/subprocess.py", line 267, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.6/subprocess.py", line 709, in init
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1344, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'git': 'git'
The text was updated successfully, but these errors were encountered: