chiran@chiran-VirtualBox:~$ git clone https://github.com/mysql/mysql-connector-python.git mysql-mysql-connector-python fatal: destination path 'mysql-mysql-connector-python' already exists and is not an empty directory. chiran@chiran-VirtualBox:~$ git clone https://github.com/mysql/mysql-connector-python.git mysql-mysql-connector-python Cloning into 'mysql-mysql-connector-python'... remote: Counting objects: 1560, done. remote: Total 1560 (delta 1), reused 1 (delta 1), pack-reused 1558 Receiving objects: 100% (1560/1560), 695.46 KiB | 298.00 KiB/s, done. Resolving deltas: 100% (910/910), done. Checking connectivity... done. chiran@chiran-VirtualBox:~$ python -m virtualenv ./test-mysql-connector New python executable in /home/chiran/test-mysql-connector/bin/python Installing setuptools, pip, wheel...done. chiran@chiran-VirtualBox:~$ ./test-mysql-connector/bin/pip install ./mysql-mysql-connector-python Processing ./mysql-mysql-connector-python Building wheels for collected packages: mysql-connector-python Running setup.py bdist_wheel for mysql-connector-python ... done Stored in directory: /home/chiran/.cache/pip/wheels/f5/be/85/93730a01bffd6773af3f903548cca2d0a1e5b2c134fc9e9fbb Successfully built mysql-connector-python Installing collected packages: mysql-connector-python Successfully installed mysql-connector-python-2.1.3 chiran@chiran-VirtualBox:~$ pip install -v mysql-connector-python-rf Collecting mysql-connector-python-rf 1 location(s) to search for versions of mysql-connector-python-rf: * https://pypi.python.org/simple/mysql-connector-python-rf/ Getting page https://pypi.python.org/simple/mysql-connector-python-rf/ Looking up "https://pypi.python.org/simple/mysql-connector-python-rf/" in the cache No cache entry available Starting new HTTPS connection (1): pypi.python.org /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:315: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning. SNIMissingWarning /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning "GET /simple/mysql-connector-python-rf/ HTTP/1.1" 200 337 Updating cache with response from "https://pypi.python.org/simple/mysql-connector-python-rf/" Caching b/c date exists and max-age > 0 Analyzing links from page https://pypi.python.org/simple/mysql-connector-python-rf/ Found link https://pypi.python.org/packages/be/57/ad223ae1c7e5e13f54632e2eb62e0e0336dd5391fe43bafc414c7e9642a0/mysql-connector-python-rf-2.0.4.tar.gz#md5=e900847ca067ff046e88d584e4a56ff0 (from https://pypi.python.org/simple/mysql-connector-python-rf/), version: 2.0.4 Found link https://pypi.python.org/packages/f9/d5/f317d4310963a8e9cafa3eb3d24ae5a089b8951149ed48bbd89213dd04ff/mysql-connector-python-rf-2.1.3.tar.gz#md5=25f320d6db5f304394e12b27416fe855 (from https://pypi.python.org/simple/mysql-connector-python-rf/), version: 2.1.3 Using version 2.1.3 (newest of versions: 2.0.4, 2.1.3) Looking up "https://pypi.python.org/packages/f9/d5/f317d4310963a8e9cafa3eb3d24ae5a089b8951149ed48bbd89213dd04ff/mysql-connector-python-rf-2.1.3.tar.gz" in the cache No cache entry available "GET /packages/f9/d5/f317d4310963a8e9cafa3eb3d24ae5a089b8951149ed48bbd89213dd04ff/mysql-connector-python-rf-2.1.3.tar.gz HTTP/1.1" 200 271401 Downloading mysql-connector-python-rf-2.1.3.tar.gz (271kB) Downloading from URL https://pypi.python.org/packages/f9/d5/f317d4310963a8e9cafa3eb3d24ae5a089b8951149ed48bbd89213dd04ff/mysql-connector-python-rf-2.1.3.tar.gz#md5=25f320d6db5f304394e12b27416fe855 (from https://pypi.python.org/simple/mysql-connector-python-rf/) 98% |███████████████████████████████▍| 266kB 1.7MB/s eta 0:00:01 Updating cache with response from "https://pypi.python.org/packages/f9/d5/f317d4310963a8e9cafa3eb3d24ae5a089b8951149ed48bbd89213dd04ff/mysql-connector-python-rf-2.1.3.tar.gz" Caching due to etag 100% |████████████████████████████████| 276kB 962kB/s Running setup.py (path:/tmp/pip-build-vM7kot/mysql-connector-python-rf/setup.py) egg_info for package mysql-connector-python-rf Running command python setup.py egg_info running egg_info creating pip-egg-info/mysql_connector_python_rf.egg-info writing pip-egg-info/mysql_connector_python_rf.egg-info/PKG-INFO writing top-level names to pip-egg-info/mysql_connector_python_rf.egg-info/top_level.txt writing dependency_links to pip-egg-info/mysql_connector_python_rf.egg-info/dependency_links.txt writing manifest file 'pip-egg-info/mysql_connector_python_rf.egg-info/SOURCES.txt' warning: manifest_maker: standard file '-c' not found reading manifest file 'pip-egg-info/mysql_connector_python_rf.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pip-egg-info/mysql_connector_python_rf.egg-info/SOURCES.txt' Source in /tmp/pip-build-vM7kot/mysql-connector-python-rf has version 2.1.3, which satisfies requirement mysql-connector-python-rf from https://pypi.python.org/packages/f9/d5/f317d4310963a8e9cafa3eb3d24ae5a089b8951149ed48bbd89213dd04ff/mysql-connector-python-rf-2.1.3.tar.gz#md5=25f320d6db5f304394e12b27416fe855 Installing collected packages: mysql-connector-python-rf Running setup.py install for mysql-connector-python-rf ... Running command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-vM7kot/mysql-connector-python-rf/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-gGdVWd-record/install-record.txt --single-version-externally-managed --compile usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: -c --help [cmd1 cmd2 ...] or: -c --help-commands or: -c cmd --help error: option --single-version-externally-managed not recognized error Cleaning up... Removing source in /tmp/pip-build-vM7kot/mysql-connector-python-rf Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-vM7kot/mysql-connector-python-rf/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-gGdVWd-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-vM7kot/mysql-connector-python-rf/ Exception information: Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 209, in main status = self.run(options, args) File "/usr/local/lib/python2.7/dist-packages/pip/commands/install.py", line 317, in run prefix=options.prefix_path, File "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 732, in install **kwargs File "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 884, in install spinner=spinner, File "/usr/local/lib/python2.7/dist-packages/pip/utils/__init__.py", line 718, in call_subprocess % (command_desc, proc.returncode, cwd)) InstallationError: Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-vM7kot/mysql-connector-python-rf/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-gGdVWd-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-vM7kot/mysql-connector-python-rf/ chiran@chiran-VirtualBox:~$