I have a python Django project. When I run its manage.py script as manage.py runserver
via the virtual env, I get the following import error. NOTE: I am using Fedora 26
ImportError:
/home/xxxxx/Projects/Dev/yyyy/ENV/new_env/lib/python2.7/site-packages/psycopg2/.libs/libresolv-2-c4c53def.5.so:
symbol __res_maybe_init, version GLIBC_PRIVATE not defined in file
libc.so.6 with link time reference
What may be the reason?
Finally, I could find the solution. I was using an old version of
psycopg2
. So, I removed previously installed version with pip uninstall psycopg2
and reinstalled it as pip install psycopg2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With