Skeleton022

fosfos

Sep 27th, 2020 (edited)
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 6.64 KB | None | 0 0
  1. pip install mysql-python
  2. DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
  3. Collecting mysql-python
  4.   Downloading MySQL-python-1.2.5.zip (108 kB)
  5.      |████████████████████████████████| 108 kB 1.1 MB/s
  6. Building wheels for collected packages: mysql-python
  7.   Building wheel for mysql-python (setup.py) ... error
  8.   ERROR: Command errored out with exit status 1:
  9.    command: /home/skeleton022/env-FIR/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-J20_vr/mysql-python/setup.py'"'"'; __file__='"'"'/tmp/pip-install-J20_vr/mysql-python/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-AY4wrn
  10.        cwd: /tmp/pip-install-J20_vr/mysql-python/
  11.   Complete output (27 lines):
  12.   running bdist_wheel
  13.   running build
  14.   running build_py
  15.   creating build
  16.   creating build/lib.linux-x86_64-2.7
  17.   copying _mysql_exceptions.py -> build/lib.linux-x86_64-2.7
  18.   creating build/lib.linux-x86_64-2.7/MySQLdb
  19.   copying MySQLdb/__init__.py -> build/lib.linux-x86_64-2.7/MySQLdb
  20.   copying MySQLdb/converters.py -> build/lib.linux-x86_64-2.7/MySQLdb
  21.   copying MySQLdb/connections.py -> build/lib.linux-x86_64-2.7/MySQLdb
  22.   copying MySQLdb/cursors.py -> build/lib.linux-x86_64-2.7/MySQLdb
  23.   copying MySQLdb/release.py -> build/lib.linux-x86_64-2.7/MySQLdb
  24.   copying MySQLdb/times.py -> build/lib.linux-x86_64-2.7/MySQLdb
  25.   creating build/lib.linux-x86_64-2.7/MySQLdb/constants
  26.   copying MySQLdb/constants/__init__.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
  27.   copying MySQLdb/constants/CR.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
  28.   copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
  29.   copying MySQLdb/constants/ER.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
  30.   copying MySQLdb/constants/FLAG.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
  31.   copying MySQLdb/constants/REFRESH.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
  32.   copying MySQLdb/constants/CLIENT.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
  33.   running build_ext
  34.   building '_mysql' extension
  35.   creating build/temp.linux-x86_64-2.7
  36.   x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-1x6jhf/python2.7-2.7.18~rc1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Dversion_info=(1,2,5,'final',1) -D__version__=1.2.5 -I/usr/include/mysql -I/usr/include/python2.7 -c _mysql.c -o build/temp.linux-x86_64-2.7/_mysql.o
  37.   unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
  38.   error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  39.   ----------------------------------------
  40.   ERROR: Failed building wheel for mysql-python
  41.   Running setup.py clean for mysql-python
  42. Failed to build mysql-python
  43. Installing collected packages: mysql-python
  44.     Running setup.py install for mysql-python ... error
  45.     ERROR: Command errored out with exit status 1:
  46.      command: /home/skeleton022/env-FIR/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-J20_vr/mysql-python/setup.py'"'"'; __file__='"'"'/tmp/pip-install-J20_vr/mysql-python/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-Wov750/install-record.txt --single-version-externally-managed --compile --install-headers /home/skeleton022/env-FIR/include/site/python2.7/mysql-python
  47.          cwd: /tmp/pip-install-J20_vr/mysql-python/
  48.     Complete output (27 lines):
  49.     running install
  50.     running build
  51.     running build_py
  52.     creating build
  53.     creating build/lib.linux-x86_64-2.7
  54.     copying _mysql_exceptions.py -> build/lib.linux-x86_64-2.7
  55.     creating build/lib.linux-x86_64-2.7/MySQLdb
  56.     copying MySQLdb/__init__.py -> build/lib.linux-x86_64-2.7/MySQLdb
  57.     copying MySQLdb/converters.py -> build/lib.linux-x86_64-2.7/MySQLdb
  58.     copying MySQLdb/connections.py -> build/lib.linux-x86_64-2.7/MySQLdb
  59.     copying MySQLdb/cursors.py -> build/lib.linux-x86_64-2.7/MySQLdb
  60.     copying MySQLdb/release.py -> build/lib.linux-x86_64-2.7/MySQLdb
  61.     copying MySQLdb/times.py -> build/lib.linux-x86_64-2.7/MySQLdb
  62.     creating build/lib.linux-x86_64-2.7/MySQLdb/constants
  63.     copying MySQLdb/constants/__init__.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
  64.     copying MySQLdb/constants/CR.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
  65.     copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
  66.     copying MySQLdb/constants/ER.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
  67.     copying MySQLdb/constants/FLAG.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
  68.     copying MySQLdb/constants/REFRESH.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
  69.     copying MySQLdb/constants/CLIENT.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
  70.     running build_ext
  71.     building '_mysql' extension
  72.     creating build/temp.linux-x86_64-2.7
  73.     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-1x6jhf/python2.7-2.7.18~rc1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Dversion_info=(1,2,5,'final',1) -D__version__=1.2.5 -I/usr/include/mysql -I/usr/include/python2.7 -c _mysql.c -o build/temp.linux-x86_64-2.7/_mysql.o
  74.     unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
  75.     error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  76.     ----------------------------------------
  77. ERROR: Command errored out with exit status 1: /home/skeleton022/env-FIR/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-J20_vr/mysql-python/setup.py'"'"'; __file__='"'"'/tmp/pip-install-J20_vr/mysql-python/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-Wov750/install-record.txt --single-version-externally-managed --compile --install-headers /home/skeleton022/env-FIR/include/site/python2.7/mysql-python Check the logs for full command output.
Add Comment
Please, Sign In to add comment