Python Flask error: /lxml/objectify.so: undefined symbol: PyCapsule_GetName

156 views Asked by At

I am getting undefined symbol error when attempting to run code that utilizes lxml via my flask application. The code runs without issue at the terminal, but errors out when processed through the web app:

/lib/python2.7/site-packages/lxml/objectify.so: undefined symbol: PyCapsule_GetName

Running Python 2.7.9 on a linux server. Any thoughts on how to get around this? I've tried re-installing other versions of lxml (via pip) without success.

0

There are 0 answers