Closed aritrachatterjee15 closed 5 years ago
This is a common problem, basically the way Python is built can affect its ABI. If you google around for that symbol you should find a lot of guidance on how to resolve this. You need to make sure the same Python is used at build and runtime.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
How to reproduce the problem
I have a requirements.txt file that looks like this: scikit-learn==0.19.2 lxml==4.2.5 numpy==1.15.1 scipy==1.1.0 xmltodict==0.11.0 tensorflow==1.8 chardet==3.0.4 beautifulsoup4==4.6.3 PyYAML==3.13 dpath==1.4.2 keras==2.2.4 spacy==2.0.16 dedupe==1.9.3 pandas==0.23.4 openpyxl==2.5.9 xlrd==1.1.0 PyInquirer==1.0.2 persist-queue==0.4.1 progress==1.4 tensorflow-hub==0.1.1 nltk==3.3 en-core-web-md==2.0.0
I am using Pantsbuild in order to gather the dependencies and then building a PEX file using this. When I execute this file in my local Ubuntu 16.04 VM, it works fine. However, when I copy this PEX file into a docker image '''python:3.5''' and execute the same command on the PEX file, I see the below error. Any clues what could be the cause?
Your Environment