0

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.

rwillobee
  • 1
  • 1
  • Sounds a lot like lxml is not installed properly. Try reinstalling it. – ThiefMaster Dec 30 '16 at 14:58
  • I've tried re-installing several times with different versions even....no luck. As I said, it runs properly via terminal session, so I'm confused why it errors out in web app. – rwillobee Dec 30 '16 at 16:31

0 Answers0