Docker Community Forums

Share and learn in the Docker community.

Docker container gives import error for custom python package


#1

I am trying to import custom python package in docker image but it was throwing error message as follow

Docker building log-

Step 9/15 : RUN python -c 'import CustomModule ’
—> Running in 04fed368fb17
Traceback (most recent call last):
File “”, line 1, in
ImportError: /usr/src/app/CustomModule.cpython-35m-x86_64-linux-gnu.so: undefined symbol: PyFPE_jbuf

Please help me out

Thanks in advance.


#2

Please suggest any idea to fix it.