Changes between Initial Version and Version 1 of Ticket #24355, comment 3


Ignore:
Timestamp:
Nov 4, 2015, 5:25:36 AM (9 years ago)
Author:
Patrick Hagemeister

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24355, comment 3

    initial v1  
    1010However it is unfotunately not available via pypi (see https://pypi.python.org/pypi/mysql-connector-python).
    1111
    12 Also when I try to install it directly via
     12So installation works via
    1313{{{
    14 pip install http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-2.1.3.zip
     14pip install --egg http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-2.1.3.zip
    1515}}}
    1616
    17 It fails because the installation process tries to use a new option in setuptools which my local version doesn't have:
    18 {{{
    19 Collecting http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-2.1.3.zip
    20   Downloading http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-2.1.3.zip (356kB)
    21     100% |████████████████████████████████| 356kB 7.8MB/s
    22 Installing collected packages: mysql-connector-python
    23   Found existing installation: mysql-connector-python 2.0.4
    24     Uninstalling mysql-connector-python-2.0.4:
    25       Successfully uninstalled mysql-connector-python-2.0.4
    26   Running setup.py install for mysql-connector-python
    27     Complete output from command /Users/patrick/.virtualenvs/ib-cms/bin/python -c "import setuptools, tokenize;__file__='/var/folders/s0/t3yxc5c16m32qzmwrsbtdybm0000gn/T/pip-0EgqCn-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/s0/t3yxc5c16m32qzmwrsbtdybm0000gn/T/pip-5uIg95-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/patrick/.virtualenvs/ib-cms/include/site/python2.7/mysql-connector-python:
    28     usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
    29        or: -c --help [cmd1 cmd2 ...]
    30        or: -c --help-commands
    31        or: -c cmd --help
    32 
    33     error: option --single-version-externally-managed not recognized
    34 }}}
    35 
    36 I have stopped investigating this at this point because I'm unwilling to update setuptools/python because that would invole quite a bit of overhead in the environment I'm working on.
     17Unfortunately I have not found a way to retain the "--egg" parameter in a pip-requirement.txt :-/
    3718
    3819Hope this helps.
     20
Back to Top