Dlib core dumped in python 3.8

Hi, I’m Fatin and I now currently running some project on Clear Linux. Recently, I’m trying to install dlib on Clear Linux. Since Clear Linux using Python 3.8, so I build it from source.

My installation process,

  1. git clone https://github.com/davisking/dlib.gi (get the dlib repo)

  2. python3 setup.py bdist_wheel (to build whl file on ntel® Atom™ Processor E3950)

  3. pip3 install dlib-19.19.99-cp38-cp38-linux_x86_64.whl

I cannot call dlib module. It shows core dumped when I want to check if I have installed it correctly.(see attachment ‘dlib_error.png’). Is there any solution to install it on python 3.8 platform?

Thank you.

Regards,

Fatin Nadiah
dlib_error

As I posted in the github issue you opened about this topic, I suggest you also file an issue with the upstream project (as this library isn’t packaged by clearlinux, and there seems to be an issue with it).

Hi ahkok!
I tested to install dlib on clearlinux using i-core processor and it’s work well.
I missed out about the Atom processor do not have AVX support. After including --no USE_AVX_INSTRUCTIONS instruction during building and installing dlib on Atom processor, the dlib works well. Thus, this issue is solved.

Thank you for your support.

1 Like