Skip to content
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

Problem with jpegpy #44

Open
unintendedly opened this issue Mar 28, 2024 · 2 comments
Open

Problem with jpegpy #44

unintendedly opened this issue Mar 28, 2024 · 2 comments

Comments

@unintendedly
Copy link

unintendedly commented Mar 28, 2024

After running make , with _jpegpy.so created ,it produces:
In file included from _jpegpy.cc:6:
pybind11/pybind11.h: In destructor ‘pybind11::gil_scoped_release::~gil_scoped_release()’:
pybind11/pybind11.h:1611:47: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1611 | PyThread_set_key_value(key, tstate);
| ^
In file included from /home/anaconda3/envs/general/include/python3.9/Python.h:131,
from pybind11/common.h:99,
from pybind11/pytypes.h:12,
from pybind11/cast.h:13,
from pybind11/attr.h:13,
from pybind11/pybind11.h:36,
from _jpegpy.cc:6:
/home/anaconda3/envs/general/include/python3.9/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~

But running python test.py, it produces:
File "/home/CADDM-master/lib/data_preprocess/utils/jpegpy/jpegpy.py", line 5, in <module> from . import _jpegpy ImportError: /home/CADDM-master/lib/data_preprocess/utils/jpegpy/_jpegpy.so: undefined symbol: jpeg_mem_src

Hoping to get a reply.Thanks

@dudgjs0915
Copy link

I am getting the same error!

@BensonRen
Copy link

Circular import issue for me as well...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants