Install mysql client12/14/2023 ![]() ![]() Running setup.py install for mysqlclient. Installing collected packages: mysqlclient Unable to execute 'gcc': Permission deniedĮrror: command 'gcc' failed with exit status 1ĮRROR: Failed building wheel for mysqlclient Gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Dversion_info=(2,0,3,'final',0) -D_version_=2.0.3 -I/usr/include/mysql -I/usr/include/mysql/. opt/alt/python37/lib64/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type'Ĭreating build/lib.linux-x86_64-3.7/MySQLdbĬopying MySQLdb/_init_.py -> build/lib.linux-x86_64-3.7/MySQLdbĬopying MySQLdb/_exceptions.py -> build/lib.linux-x86_64-3.7/MySQLdbĬopying MySQLdb/connections.py -> build/lib.linux-x86_64-3.7/MySQLdbĬopying MySQLdb/converters.py -> build/lib.linux-x86_64-3.7/MySQLdbĬopying MySQLdb/cursors.py -> build/lib.linux-x86_64-3.7/MySQLdbĬopying MySQLdb/release.py -> build/lib.linux-x86_64-3.7/MySQLdbĬopying MySQLdb/times.py -> build/lib.linux-x86_64-3.7/MySQLdbĬreating build/lib.linux-x86_64-3.7/MySQLdb/constantsĬopying MySQLdb/constants/_init_.py -> build/lib.linux-x86_64-3.7/MySQLdb/constantsĬopying MySQLdb/constants/CLIENT.py -> build/lib.linux-x86_64-3.7/MySQLdb/constantsĬopying MySQLdb/constants/CR.py -> build/lib.linux-x86_64-3.7/MySQLdb/constantsĬopying MySQLdb/constants/ER.py -> build/lib.linux-x86_64-3.7/MySQLdb/constantsĬopying MySQLdb/constants/FIELD_TYPE.py -> build/lib.linux-x86_64-3.7/MySQLdb/constantsĬopying MySQLdb/constants/FLAG.py -> build/lib.linux-x86_64-3.7/MySQLdb/constantsĬreating build/temp.linux-x86_64-3.7/MySQLdb Using cached mysqlclient-2.0.3.tar.gz (88 kB)īuilding wheels for collected packages: mysqlclientīuilding wheel for mysqlclient (setup.py). However when I try to install mysqlclient, this error pops out. So after setting up my Python (version = 3.7.8) on Cpanel, I installed Django version 3.1.7 and mysqlclient from the terminal using pip install django and pip install mysqlclient. I am trying to put my Django project in a venv on cPanel and install mysqlclient. I've been trying to solve this problem for a couple of days. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |