Skip to content

Instantly share code, notes, and snippets.

@sekimura
Created September 24, 2011 07:40
Show Gist options
  • Save sekimura/1239084 to your computer and use it in GitHub Desktop.
Save sekimura/1239084 to your computer and use it in GitHub Desktop.
pip install MySQL-python crazyness
ownloading/unpacking MySQL-python==1.2.3
Could not fetch URL http://pypi.python.org/simple/MySQL-python/1.2.3: HTTP Error 404: Not Found (MySQL-python/1.2.3)
Will skip URL http://pypi.python.org/simple/MySQL-python/1.2.3 when looking for download links for MySQL-python==1.2.3
Could not fetch URL http://osdn.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.3b2.tar.gz (from http://pypi.python.org/simple/MySQL-python/): HTTP Error 404: Not Found
Will skip URL http://osdn.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.3b2.tar.gz when looking for download links for MySQL-python==1.2.3
Could not fetch URL http://downloads.sourceforge.net/project/mysql-python/mysql-python-test/1.2.3c1/MySQL-python-1.2.3c1.tar.gz?use_mirror=voxel (from http://pypi.python.org/simple/MySQL-python/): HTTP Error 404: Not Found
Will skip URL http://downloads.sourceforge.net/project/mysql-python/mysql-python-test/1.2.3c1/MySQL-python-1.2.3c1.tar.gz?use_mirror=voxel when looking for download links for MySQL-python==1.2.3
Could not fetch URL http://osdn.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.3b1.tar.gz (from http://pypi.python.org/simple/MySQL-python/): HTTP Error 404: Not Found
Will skip URL http://osdn.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.3b1.tar.gz when looking for download links for MySQL-python==1.2.3
Could not fetch URL http://internap.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.2.tar.gz (from http://pypi.python.org/simple/MySQL-python/): <urlopen error [Errno -2] Name or service not known>
Will skip URL http://internap.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.2.tar.gz when looking for download links for MySQL-python==1.2.3
Could not fetch URL http://prdownloads.sourceforge.net/mysql-python/MySQL-python-1.2.1.tar.gz (from http://pypi.python.org/simple/MySQL-python/): HTTP Error 404: Not Found
Will skip URL http://prdownloads.sourceforge.net/mysql-python/MySQL-python-1.2.1.tar.gz when looking for download links for MySQL-python==1.2.3
Could not fetch URL http://osdn.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.2c1.tar.gz (from http://pypi.python.org/simple/MySQL-python/): HTTP Error 404: Not Found
Will skip URL http://osdn.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.2c1.tar.gz when looking for download links for MySQL-python==1.2.3
Could not fetch URL http://osdn.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.2b2.tar.gz (from http://pypi.python.org/simple/MySQL-python/): HTTP Error 404: Not Found
Will skip URL http://osdn.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.2b2.tar.gz when looking for download links for MySQL-python==1.2.3
Could not fetch URL http://osdn.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.2b3.tar.gz (from http://pypi.python.org/simple/MySQL-python/): HTTP Error 404: Not Found
Will skip URL http://osdn.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.2b3.tar.gz when looking for download links for MySQL-python==1.2.3
Could not fetch URL http://osdn.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.0.0.tar.gz (from http://pypi.python.org/simple/MySQL-python/): HTTP Error 404: Not Found
Will skip URL http://osdn.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.0.0.tar.gz when looking for download links for MySQL-python==1.2.3
Could not fetch URL http://download.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.3.tar.gz (from http://pypi.python.org/simple/MySQL-python/): HTTP Error 404: Not Found
Will skip URL http://download.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.3.tar.gz when looking for download links for MySQL-python==1.2.3
Could not fetch URL http://telia.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-0.9.2.tar.gz (from http://pypi.python.org/simple/MySQL-python/): timed out
Will skip URL http://telia.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-0.9.2.tar.gz when looking for download links for MySQL-python==1.2.3
Ignoring link http://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-1.2.3c1.tar.gz#md5=310dd856e439d070b59ece6dd7a0734d (from http://pypi.python.org/simple/MySQL-python/), version 1.2.3c1 doesn't match ==1.2.3
Ignoring link http://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-1.2.3b2.tar.gz#md5=e30ae85d490e87f3788eb4a59e590130 (from http://pypi.python.org/simple/MySQL-python/), version 1.2.3b2 doesn't match ==1.2.3
Ignoring link http://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-1.2.3b1.tar.gz#md5=906c00cbfb81f54a474b3e7dcf7236bb (from http://pypi.python.org/simple/MySQL-python/), version 1.2.3b1 doesn't match ==1.2.3
Ignoring link http://downloads.sourceforge.net/project/mysql-python/mysql-python-test/1.2.3c1/MySQL-python-1.2.3c1.tar.gz?use_mirror=voxel (from http://pypi.python.org/simple/MySQL-python/), version 1.2.3c1 doesn't match ==1.2.3
Ignoring link http://osdn.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.3b2.tar.gz (from http://pypi.python.org/simple/MySQL-python/), version 1.2.3b2 doesn't match ==1.2.3
Ignoring link http://osdn.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.3b1.tar.gz (from http://pypi.python.org/simple/MySQL-python/), version 1.2.3b1 doesn't match ==1.2.3
Ignoring link http://prdownloads.sourceforge.net/mysql-python/MySQL-python-1.2.1c6.tar.gz (from http://pypi.python.org/simple/MySQL-python/), version 1.2.1c6 doesn't match ==1.2.3
Ignoring link http://prdownloads.sourceforge.net/mysql-python/MySQL-python-1.1.8.tar.gz (from http://pypi.python.org/simple/MySQL-python/), version 1.1.8 doesn't match ==1.2.3
Ignoring link http://internap.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.2.tar.gz (from http://pypi.python.org/simple/MySQL-python/), version 1.2.2 doesn't match ==1.2.3
Ignoring link http://prdownloads.sourceforge.net/mysql-python/MySQL-python-1.2.1.tar.gz (from http://pypi.python.org/simple/MySQL-python/), version 1.2.1 doesn't match ==1.2.3
Ignoring link http://prdownloads.sourceforge.net/mysql-python/MySQL-python-1.2.1_p2.tar.gz (from http://pypi.python.org/simple/MySQL-python/), version 1.2.1_p2 doesn't match ==1.2.3
Ignoring link http://osdn.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.2c1.tar.gz (from http://pypi.python.org/simple/MySQL-python/), version 1.2.2c1 doesn't match ==1.2.3
Ignoring link http://prdownloads.sourceforge.net/mysql-python/MySQL-python-1.2.1c5.tar.gz (from http://pypi.python.org/simple/MySQL-python/), version 1.2.1c5 doesn't match ==1.2.3
Ignoring link http://prdownloads.sourceforge.net/mysql-python/MySQL-python-1.2.1c4.tar.gz (from http://pypi.python.org/simple/MySQL-python/), version 1.2.1c4 doesn't match ==1.2.3
Ignoring link http://prdownloads.sourceforge.net/mysql-python/MySQL-python-1.2.2b1.tar.gz (from http://pypi.python.org/simple/MySQL-python/), version 1.2.2b1 doesn't match ==1.2.3
Ignoring link http://osdn.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.2b2.tar.gz (from http://pypi.python.org/simple/MySQL-python/), version 1.2.2b2 doesn't match ==1.2.3
Ignoring link http://osdn.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.2b3.tar.gz (from http://pypi.python.org/simple/MySQL-python/), version 1.2.2b3 doesn't match ==1.2.3
Ignoring link http://prdownloads.sourceforge.net/mysql-python/MySQL-python-1.2.0.tar.gz (from http://pypi.python.org/simple/MySQL-python/), version 1.2.0 doesn't match ==1.2.3
Ignoring link http://prdownloads.sourceforge.net/mysql-python/MySQL-python-1.1.10.tar.gz (from http://pypi.python.org/simple/MySQL-python/), version 1.1.10 doesn't match ==1.2.3
Ignoring link http://osdn.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.0.0.tar.gz (from http://pypi.python.org/simple/MySQL-python/), version 1.0.0 doesn't match ==1.2.3
Ignoring link http://prdownloads.sourceforge.net/mysql-python/MySQL-python-1.1.9.tar.gz (from http://pypi.python.org/simple/MySQL-python/), version 1.1.9 doesn't match ==1.2.3
Ignoring link http://telia.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-0.9.2.tar.gz (from http://pypi.python.org/simple/MySQL-python/), version 0.9.2 doesn't match ==1.2.3
Using version 1.2.3 (newest of versions: 1.2.3, 1.2.3)
Running setup.py egg_info for package MySQL-python
running egg_info
creating pip-egg-info/MySQL_python.egg-info
writing pip-egg-info/MySQL_python.egg-info/PKG-INFO
writing top-level names to pip-egg-info/MySQL_python.egg-info/top_level.txt
writing dependency_links to pip-egg-info/MySQL_python.egg-info/dependency_links.txt
writing manifest file 'pip-egg-info/MySQL_python.egg-info/SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info/MySQL_python.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'MANIFEST'
warning: no files found matching 'ChangeLog'
warning: no files found matching 'GPL'
writing manifest file 'pip-egg-info/MySQL_python.egg-info/SOURCES.txt'
Installing collected packages: MySQL-python
Found existing installation: MySQL-python 1.2.3
Uninstalling MySQL-python:
Removing file or directory /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQL_python-1.2.3-py2.7.egg-info
Removing file or directory /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb
Removing file or directory /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/_mysql.so
Removing file or directory /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/_mysql_exceptions.py
Removing file or directory /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/_mysql_exceptions.pyc
Successfully uninstalled MySQL-python
Running setup.py install for MySQL-python
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
copying _mysql_exceptions.py -> build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/MySQLdb
copying MySQLdb/__init__.py -> build/lib.linux-x86_64-2.7/MySQLdb
copying MySQLdb/converters.py -> build/lib.linux-x86_64-2.7/MySQLdb
copying MySQLdb/connections.py -> build/lib.linux-x86_64-2.7/MySQLdb
copying MySQLdb/cursors.py -> build/lib.linux-x86_64-2.7/MySQLdb
copying MySQLdb/release.py -> build/lib.linux-x86_64-2.7/MySQLdb
copying MySQLdb/times.py -> build/lib.linux-x86_64-2.7/MySQLdb
creating build/lib.linux-x86_64-2.7/MySQLdb/constants
copying MySQLdb/constants/__init__.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
copying MySQLdb/constants/CR.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
copying MySQLdb/constants/ER.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
copying MySQLdb/constants/FLAG.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
copying MySQLdb/constants/REFRESH.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
copying MySQLdb/constants/CLIENT.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
running build_ext
building '_mysql' extension
creating build/temp.linux-x86_64-2.7
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Dversion_info=(1,2,3,'final',0) -D__version__=1.2.3 -I/usr/include/mysql -I/usr/include/python2.7 -c _mysql.c -o build/temp.linux-x86_64-2.7/_mysql.o -DBIG_JOINS=1 -fno-strict-aliasing -DUNIV_LINUX -DUNIV_LINUX
In file included from _mysql.c:36:0:
/usr/include/mysql/my_config.h:1069:0: warning: "HAVE_WCSCOLL" redefined
/usr/include/python2.7/pyconfig.h:887:0: note: this is the location of the previous definition
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.7/_mysql.o -L/usr/lib/mysql -lmysqlclient_r -o build/lib.linux-x86_64-2.7/_mysql.so
running install_lib
copying build/lib.linux-x86_64-2.7/_mysql.so -> /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages
creating /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb
creating /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb/constants
copying build/lib.linux-x86_64-2.7/MySQLdb/constants/FLAG.py -> /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb/constants
copying build/lib.linux-x86_64-2.7/MySQLdb/constants/CR.py -> /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb/constants
copying build/lib.linux-x86_64-2.7/MySQLdb/constants/ER.py -> /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb/constants
copying build/lib.linux-x86_64-2.7/MySQLdb/constants/CLIENT.py -> /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb/constants
copying build/lib.linux-x86_64-2.7/MySQLdb/constants/FIELD_TYPE.py -> /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb/constants
copying build/lib.linux-x86_64-2.7/MySQLdb/constants/REFRESH.py -> /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb/constants
copying build/lib.linux-x86_64-2.7/MySQLdb/constants/__init__.py -> /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb/constants
copying build/lib.linux-x86_64-2.7/MySQLdb/connections.py -> /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb
copying build/lib.linux-x86_64-2.7/MySQLdb/converters.py -> /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb
copying build/lib.linux-x86_64-2.7/MySQLdb/cursors.py -> /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb
copying build/lib.linux-x86_64-2.7/MySQLdb/release.py -> /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb
copying build/lib.linux-x86_64-2.7/MySQLdb/times.py -> /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb
copying build/lib.linux-x86_64-2.7/MySQLdb/__init__.py -> /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb
copying build/lib.linux-x86_64-2.7/_mysql_exceptions.py -> /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages
byte-compiling /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb/constants/FLAG.py to FLAG.pyc
byte-compiling /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb/constants/CR.py to CR.pyc
byte-compiling /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb/constants/ER.py to ER.pyc
byte-compiling /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb/constants/CLIENT.py to CLIENT.pyc
byte-compiling /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb/constants/FIELD_TYPE.py to FIELD_TYPE.pyc
byte-compiling /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb/constants/REFRESH.py to REFRESH.pyc
byte-compiling /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb/constants/__init__.py to __init__.pyc
byte-compiling /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb/connections.py to connections.pyc
byte-compiling /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb/converters.py to converters.pyc
byte-compiling /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb/cursors.py to cursors.pyc
byte-compiling /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb/release.py to release.pyc
byte-compiling /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb/times.py to times.pyc
byte-compiling /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQLdb/__init__.py to __init__.pyc
byte-compiling /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/_mysql_exceptions.py to _mysql_exceptions.pyc
running install_egg_info
running egg_info
writing MySQL_python.egg-info/PKG-INFO
writing top-level names to MySQL_python.egg-info/top_level.txt
writing dependency_links to MySQL_python.egg-info/dependency_links.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'MySQL_python.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'MANIFEST'
warning: no files found matching 'ChangeLog'
warning: no files found matching 'GPL'
writing manifest file 'MySQL_python.egg-info/SOURCES.txt'
Copying MySQL_python.egg-info to /home/sekimura/Dev/pip-test/.env/lib/python2.7/site-packages/MySQL_python-1.2.3-py2.7.egg-info
running install_scripts
writing list of installed files to '/tmp/pip-M3POxw-record/install-record.txt'
Successfully installed MySQL-python
Cleaning up...
Removing temporary dir /home/sekimura/Dev/pip-test/.env/build...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment