On 15/05/2022 03.15, Wisdom Ugochukwu wrote:
I hosted a Django project on Name Cheap, it works well on development, but on going live I noticed image creation and update is not workinghere is the error I'm getting! Please kindly help/lib64/libc.so.6: version `GLIBC_2.14' not found (required by /home/aiteglbu/virtualenv/humanitiesmed/3.8/lib/python3.8/site-packages/PIL/_imaging.cpython-38-x86_64-linux-gnu.so <http://imaging.cpython-38-x86_64-linux-gnu.so>)
Seems like you've somehow managed to use a version of PIL compiled against another version of glibc than the one running on your live system.
Hard to guess how you've managed to do that without any details but I might assume that you've simply copied you're virtual environment from development (running another, incompatiable glibc version) to production.
That's not the way to do it. Keep your requirements in a text file (requirements.txt) and setup a fresh virtual environment on your production system instead installing the requirements from that file.
Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1535e8c4-553d-60ae-69e9-9c704a559d21%40stacktrace.dk.
OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature