dlib icon indicating copy to clipboard operation
dlib copied to clipboard

Import error "symbol not found in flat namespace '_DGifCloseFile'"

Open headwheel opened this issue 4 years ago • 11 comments

Hi there, I have successfully install the dlib library( version == 19.24.0) on my Mac OS(M1 Pro) but I cannot import it in my Jupyter Notebook.

The error description is "dlopen(/Users/wongcanzone/opt/anaconda3/lib/python3.9/site-packages/_dlib_pybind11.cpython-39-darwin.so, 0x0002): symbol not found in flat namespace '_DGifCloseFile'"

I am looking for your reply. Thanks

P.S. Python == 3.9.7

headwheel avatar May 12 '22 14:05 headwheel

Warning: this issue has been inactive for 35 days and will be automatically closed on 2022-06-26 if there is no further activity.

If you are waiting for a response but haven't received one it's possible your question is somehow inappropriate. E.g. it is off topic, you didn't follow the issue submission instructions, or your question is easily answerable by reading the FAQ, dlib's official compilation instructions, dlib's API documentation, or a Google search.

dlib-issue-bot avatar Jun 17 '22 08:06 dlib-issue-bot

Warning: this issue has been inactive for 42 days and will be automatically closed on 2022-06-26 if there is no further activity.

If you are waiting for a response but haven't received one it's possible your question is somehow inappropriate. E.g. it is off topic, you didn't follow the issue submission instructions, or your question is easily answerable by reading the FAQ, dlib's official compilation instructions, dlib's API documentation, or a Google search.

dlib-issue-bot avatar Jun 24 '22 08:06 dlib-issue-bot

Notice: this issue has been closed because it has been inactive for 45 days. You may reopen this issue if it has been closed in error.

dlib-issue-bot avatar Jun 27 '22 08:06 dlib-issue-bot

Hi, I am currently having this issue. Are there any fixes?

ikn1062 avatar Jul 22 '22 05:07 ikn1062

I have the same issue "ImportError: dlopen(/Users/gabersyd/programs/anaconda3/lib/python3.9/site-packages/mpi4py/MPI.cpython-39-darwin.so, 0x0002): symbol not found in flat namespace (_OMPI_C_MPI_COMM_NULL_COPY_FN)".

No idea what might have gone wrong? I tried to instal openmpi with conda, but very oddly it says that openmpi is installed by no executables are in anaconda3/bin such as mpirun or mpicc

gabersyd avatar Sep 21 '22 18:09 gabersyd

Hello, did anyone figure out the solution to this? Thanks!

romitbarua avatar Oct 26 '22 23:10 romitbarua

anyone figured this ?

boldrack avatar Nov 25 '22 18:11 boldrack

Have anyone a solution?

jqnniz avatar Jan 26 '24 08:01 jqnniz

anyone firgured this out?

akshatchavann avatar Jan 29 '24 20:01 akshatchavann

@gabersyd did you figure this issue out?

anish-palakurthi avatar Aug 19 '24 21:08 anish-palakurthi

@headwheel did you figured it out ?

zsfan0628 avatar Feb 07 '25 12:02 zsfan0628