Docker Community Forums

Share and learn in the Docker community.

Docker container gives import error for custom python package


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/ undefined symbol: PyFPE_jbuf

Please help me out

Thanks in advance.


Please suggest any idea to fix it.