Error installing mysqlclient in WSL2, Ubuntu 20.04.

78 vues
Passer au premier message non lu

Muhammed Lawal

non lue,
26 mars 2023, 13 h 42 min 58 s2023-03-26
à django...@googlegroups.com
Hello everyone.
I'm trying to setup MySQL server for my django project but I couldn't get past installing mysqlclient. I've tried using pip3 and pipenv to install it but I'm getting errors and also, I've tried all possible solutions I could find online. Installed all the build dependencies yet still the same.
Please help me out of this. 
Screenshot 2023-03-26 151458.png
Screenshot 2023-03-26 151321.png
Screenshot 2023-03-26 151435.png

Hernan Gustavo

non lue,
27 mars 2023, 17 h 17 min 28 s2023-03-27
à django...@googlegroups.com
This is a problem with the legacy install. Try to install it with the command pip install mysqlclient --use-pep517

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAOzVPC9xMooBEUqJmdXFzN3Mvd8hbmPcjxpTt9ZR8%3D%3DHr_qmXg%40mail.gmail.com.

Anh Nguyen

non lue,
29 mars 2023, 03 h 21 min 46 s2023-03-29
à django...@googlegroups.com

I highly recommend use docker for it
Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message