Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (env) root@localhost:~/django-apps/******# pip3 install mysqlclient
- Collecting mysqlclient
- Using cached mysqlclient-1.4.6.tar.gz (85 kB)
- Building wheels for collected packages: mysqlclient
- Building wheel for mysqlclient (setup.py) ... error
- ERROR: Command errored out with exit status 1:
- command: /root/django-apps/env/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ohc867w4/mysqlclient/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ohc867w4/mysqlclient/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-iebuc7zk
- cwd: /tmp/pip-install-ohc867w4/mysqlclient/
- Complete output (28 lines):
- running bdist_wheel
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-3.8
- creating build/lib.linux-x86_64-3.8/MySQLdb
- copying MySQLdb/__init__.py -> build/lib.linux-x86_64-3.8/MySQLdb
- copying MySQLdb/_exceptions.py -> build/lib.linux-x86_64-3.8/MySQLdb
- copying MySQLdb/compat.py -> build/lib.linux-x86_64-3.8/MySQLdb
- copying MySQLdb/connections.py -> build/lib.linux-x86_64-3.8/MySQLdb
- copying MySQLdb/converters.py -> build/lib.linux-x86_64-3.8/MySQLdb
- copying MySQLdb/cursors.py -> build/lib.linux-x86_64-3.8/MySQLdb
- copying MySQLdb/release.py -> build/lib.linux-x86_64-3.8/MySQLdb
- copying MySQLdb/times.py -> build/lib.linux-x86_64-3.8/MySQLdb
- creating build/lib.linux-x86_64-3.8/MySQLdb/constants
- copying MySQLdb/constants/__init__.py -> build/lib.linux-x86_64-3.8/MySQLdb/constants
- copying MySQLdb/constants/CLIENT.py -> build/lib.linux-x86_64-3.8/MySQLdb/constants
- copying MySQLdb/constants/CR.py -> build/lib.linux-x86_64-3.8/MySQLdb/constants
- copying MySQLdb/constants/ER.py -> build/lib.linux-x86_64-3.8/MySQLdb/constants
- copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.linux-x86_64-3.8/MySQLdb/constants
- copying MySQLdb/constants/FLAG.py -> build/lib.linux-x86_64-3.8/MySQLdb/constants
- running build_ext
- building 'MySQLdb._mysql' extension
- creating build/temp.linux-x86_64-3.8
- creating build/temp.linux-x86_64-3.8/MySQLdb
- x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Dversion_info=(1,4,6,'final',0) -D__version__=1.4.6 -I/usr/include/mysql -I/root/django-apps/env/include -I/usr/include/python3.8 -c MySQLdb/_mysql.c -o build/temp.linux-x86_64-3.8/MySQLdb/_mysql.o
- unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- ----------------------------------------
- ERROR: Failed building wheel for mysqlclient
- Running setup.py clean for mysqlclient
- Failed to build mysqlclient
- Installing collected packages: mysqlclient
- Running setup.py install for mysqlclient ... error
- ERROR: Command errored out with exit status 1:
- command: /root/django-apps/env/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ohc867w4/mysqlclient/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ohc867w4/mysqlclient/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-cm0h0ydg/install-record.txt --single-version-externally-managed --compile --install-headers /root/django-apps/env/include/site/python3.8/mysqlclient
- cwd: /tmp/pip-install-ohc867w4/mysqlclient/
- Complete output (28 lines):
- running install
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-3.8
- creating build/lib.linux-x86_64-3.8/MySQLdb
- copying MySQLdb/__init__.py -> build/lib.linux-x86_64-3.8/MySQLdb
- copying MySQLdb/_exceptions.py -> build/lib.linux-x86_64-3.8/MySQLdb
- copying MySQLdb/compat.py -> build/lib.linux-x86_64-3.8/MySQLdb
- copying MySQLdb/connections.py -> build/lib.linux-x86_64-3.8/MySQLdb
- copying MySQLdb/converters.py -> build/lib.linux-x86_64-3.8/MySQLdb
- copying MySQLdb/cursors.py -> build/lib.linux-x86_64-3.8/MySQLdb
- copying MySQLdb/release.py -> build/lib.linux-x86_64-3.8/MySQLdb
- copying MySQLdb/times.py -> build/lib.linux-x86_64-3.8/MySQLdb
- creating build/lib.linux-x86_64-3.8/MySQLdb/constants
- copying MySQLdb/constants/__init__.py -> build/lib.linux-x86_64-3.8/MySQLdb/constants
- copying MySQLdb/constants/CLIENT.py -> build/lib.linux-x86_64-3.8/MySQLdb/constants
- copying MySQLdb/constants/CR.py -> build/lib.linux-x86_64-3.8/MySQLdb/constants
- copying MySQLdb/constants/ER.py -> build/lib.linux-x86_64-3.8/MySQLdb/constants
- copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.linux-x86_64-3.8/MySQLdb/constants
- copying MySQLdb/constants/FLAG.py -> build/lib.linux-x86_64-3.8/MySQLdb/constants
- running build_ext
- building 'MySQLdb._mysql' extension
- creating build/temp.linux-x86_64-3.8
- creating build/temp.linux-x86_64-3.8/MySQLdb
- x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Dversion_info=(1,4,6,'final',0) -D__version__=1.4.6 -I/usr/include/mysql -I/root/django-apps/env/include -I/usr/include/python3.8 -c MySQLdb/_mysql.c -o build/temp.linux-x86_64-3.8/MySQLdb/_mysql.o
- unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- ----------------------------------------
- ERROR: Command errored out with exit status 1: /root/django-apps/env/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ohc867w4/mysqlclient/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ohc867w4/mysqlclient/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-cm0h0ydg/install-record.txt --single-version-externally-managed --compile --install-headers /root/django-apps/env/include/site/python3.8/mysqlclient Check the logs for full command output.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement