Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Search ( / )
- Setup Python App
- Collecting mysqlclient
- Using cached https://files.pythonhosted.org/packages/ec/fd/83329b9d3e14f7344d1cb31f128e6dbba70c5975c9e57896815dbb1988ad/mysqlclient-1.3.13.tar.gz
- Building wheels for collected packages: mysqlclient
- Running setup.py bdist_wheel for mysqlclient: started
- Running setup.py bdist_wheel for mysqlclient: finished with status 'error'
- Complete output from command /home/medicala/virtualenv/python__apps_medisproj/3.5/bin/python3.5 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-9jv8fexj/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/tmp3myb1s8gpip-wheel- --python-tag cp35:
- /opt/alt/python35/lib64/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
- warnings.warn(msg)
- running bdist_wheel
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-3.5
- copying _mysql_exceptions.py -> build/lib.linux-x86_64-3.5
- creating build/lib.linux-x86_64-3.5/MySQLdb
- copying MySQLdb/__init__.py -> build/lib.linux-x86_64-3.5/MySQLdb
- copying MySQLdb/compat.py -> build/lib.linux-x86_64-3.5/MySQLdb
- copying MySQLdb/connections.py -> build/lib.linux-x86_64-3.5/MySQLdb
- copying MySQLdb/converters.py -> build/lib.linux-x86_64-3.5/MySQLdb
- copying MySQLdb/cursors.py -> build/lib.linux-x86_64-3.5/MySQLdb
- copying MySQLdb/release.py -> build/lib.linux-x86_64-3.5/MySQLdb
- copying MySQLdb/times.py -> build/lib.linux-x86_64-3.5/MySQLdb
- creating build/lib.linux-x86_64-3.5/MySQLdb/constants
- copying MySQLdb/constants/__init__.py -> build/lib.linux-x86_64-3.5/MySQLdb/constants
- copying MySQLdb/constants/CLIENT.py -> build/lib.linux-x86_64-3.5/MySQLdb/constants
- copying MySQLdb/constants/CR.py -> build/lib.linux-x86_64-3.5/MySQLdb/constants
- copying MySQLdb/constants/ER.py -> build/lib.linux-x86_64-3.5/MySQLdb/constants
- copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.linux-x86_64-3.5/MySQLdb/constants
- copying MySQLdb/constants/FLAG.py -> build/lib.linux-x86_64-3.5/MySQLdb/constants
- copying MySQLdb/constants/REFRESH.py -> build/lib.linux-x86_64-3.5/MySQLdb/constants
- running build_ext
- building '_mysql' extension
- creating build/temp.linux-x86_64-3.5
- 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=(1,3,13,'final',0) -D__version__=1.3.13 -I/usr/include/mysql -I/usr/include/mysql/.. -I/opt/alt/python35/include/python3.5m -c _mysql.c -o build/temp.linux-x86_64-3.5/_mysql.o
- _mysql.c:29:19: fatal error: mysql.h: No such file or directory
- #include "mysql.h"
- ^
- compilation terminated.
- error: command 'gcc' failed with exit status 1
- ----------------------------------------
- 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: started
- Running setup.py install for mysqlclient: finished with status 'error'
- Complete output from command /home/medicala/virtualenv/python__apps_medisproj/3.5/bin/python3.5 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-9jv8fexj/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-0hghp_n7-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/medicala/virtualenv/python__apps_medisproj/3.5/include/site/python3.5/mysqlclient:
- /opt/alt/python35/lib64/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
- warnings.warn(msg)
- running install
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-3.5
- copying _mysql_exceptions.py -> build/lib.linux-x86_64-3.5
- creating build/lib.linux-x86_64-3.5/MySQLdb
- copying MySQLdb/__init__.py -> build/lib.linux-x86_64-3.5/MySQLdb
- copying MySQLdb/compat.py -> build/lib.linux-x86_64-3.5/MySQLdb
- copying MySQLdb/connections.py -> build/lib.linux-x86_64-3.5/MySQLdb
- copying MySQLdb/converters.py -> build/lib.linux-x86_64-3.5/MySQLdb
- copying MySQLdb/cursors.py -> build/lib.linux-x86_64-3.5/MySQLdb
- copying MySQLdb/release.py -> build/lib.linux-x86_64-3.5/MySQLdb
- copying MySQLdb/times.py -> build/lib.linux-x86_64-3.5/MySQLdb
- creating build/lib.linux-x86_64-3.5/MySQLdb/constants
- copying MySQLdb/constants/__init__.py -> build/lib.linux-x86_64-3.5/MySQLdb/constants
- copying MySQLdb/constants/CLIENT.py -> build/lib.linux-x86_64-3.5/MySQLdb/constants
- copying MySQLdb/constants/CR.py -> build/lib.linux-x86_64-3.5/MySQLdb/constants
- copying MySQLdb/constants/ER.py -> build/lib.linux-x86_64-3.5/MySQLdb/constants
- copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.linux-x86_64-3.5/MySQLdb/constants
- copying MySQLdb/constants/FLAG.py -> build/lib.linux-x86_64-3.5/MySQLdb/constants
- copying MySQLdb/constants/REFRESH.py -> build/lib.linux-x86_64-3.5/MySQLdb/constants
- running build_ext
- building '_mysql' extension
- creating build/temp.linux-x86_64-3.5
- 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=(1,3,13,'final',0) -D__version__=1.3.13 -I/usr/include/mysql -I/usr/include/mysql/.. -I/opt/alt/python35/include/python3.5m -c _mysql.c -o build/temp.linux-x86_64-3.5/_mysql.o
- _mysql.c:29:19: fatal error: mysql.h: No such file or directory
- #include "mysql.h"
- ^
- compilation terminated.
- error: command 'gcc' failed with exit status 1
- ----------------------------------------
- Command "/home/medicala/virtualenv/python__apps_medisproj/3.5/bin/python3.5 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-9jv8fexj/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-0hghp_n7-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/medicala/virtualenv/python__apps_medisproj/3.5/include/site/python3.5/mysqlclient" failed with error code 1 in /tmp/pip-build-9jv8fexj/mysqlclient/
- You are using pip version 9.0.1, however version 10.0.1 is available.
- You should consider upgrading via the 'pip install --upgrade pip' command.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement