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
Python dlib module has no image_window attribute? #7
Comments
Deleted examples build and recompiled, and now I can't recreate the error. Not quite through the woods but I don't think this is an issue anymore. |
Sweet :) |
Same issue, recompiled several times and still can't find solution. OS X 10.10.2 |
What error did you get? |
Hi, I'm using commands from python_examples/compile_dlib_python_module.bat. And I get this: Should it cause that problem? |
Those warnings about not having symbols are fine. The issue is probably that it didn't find libx11 on your machine, which is required to use the GUI components. When you initially ran the script it should have output a message saying that it didn't find X11 and that you need to install XQuartz. If you do that then it should work. |
Thanks! Installing libx11 solved problem. |
@davisking |
You don't need X11 on windows, unless you are trying to compile in something like cygwin. |
@davisking |
i use "conda install -c menpo dlib=18.18" in windows 7 64+py27 AttributeError: 'module' object has no attribute 'image_window' |
menpo must have disabled it for some reason. I would download dlib from
the dlib website and use that version.
|
i use "conda install -c conda-forge dlib=19.0" |
hi, I have been trying to run face detection file in python on ubuntu. but there is the following error - please help! |
I have libx11-dev installed on my machine, but I am still getting the same error. Anything else I might check? |
The compile process prints messages telling you what it's doing. It will announce if it found X11 or not. |
It does find |
All dependencies installed (X11, Boost, Boos.Python, ..) pls help |
I meet the same problem,and I follow some instruction,but I meet new problem,it is:Illegal instruction (core dumped). |
same with me
on ubuntu pls help if someone did before |
Install X11 and recompile dlib. When you compile dlib it prints messages
about this that tell you exactly what to do.
|
on ubuntu . I forget to run the commond on dlib root: python setup.py install |
I installed xquartz on my mac. I also reinstalled dlib, but still I am getting Anything else I should be beside install xquartz? |
That should be all. Make sure you really are recompiling dlib. Delete everything and redownload. |
yes, rebuild c++ from scratch, then python setup.py install inside my conda env. Finally, it's running. conda install -c menpo dlib does not work. |
Hi! Thanks for making a Python API for dlib -- I'm excited to try it out (once I get it working)!
I compiled the examples today and tried to run
train_object_detector.py
but it gave the following error:I get the same error from the Python interpreter:
I'm on OS X 10.10.2. Any help you can offer would be greatly appreciated.
The text was updated successfully, but these errors were encountered: