PureStorage-OpenConnect / FlashStache

One-step configuration for automating array querying, storing the query results, and visualizing them with Grafana
Apache License 2.0
4 stars 0 forks source link

mysql-python fails importing ConfigParser during 'pip install mysql-python'. #2

Closed bubthegreat closed 7 years ago

bubthegreat commented 7 years ago

Error during install installing mysql-python during setup.sh run:

Collecting MySQL-python
  Downloading MySQL-python-1.2.5.zip (108kB)
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-xebzdk8g/MySQL-python/setup.py", line 13, in <module>
        from setup_posix import get_config
      File "/tmp/pip-build-xebzdk8g/MySQL-python/setup_posix.py", line 2, in <module>
        from ConfigParser import SafeConfigParser
    ImportError: No module named 'ConfigParser'

Repro happens any time we execute:

micheal.taylor@bubdev:~/FlashStache$ sudo -H pip install mysql-python
Collecting mysql-python
  Downloading MySQL-python-1.2.5.zip (108kB)
    100% |████████████████████████████████| 112kB 1.2MB/s 
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-1lrjony6/mysql-python/setup.py", line 13, in <module>
        from setup_posix import get_config
      File "/tmp/pip-build-1lrjony6/mysql-python/setup_posix.py", line 2, in <module>
        from ConfigParser import SafeConfigParser
    ImportError: No module named 'ConfigParser'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-1lrjony6/mysql-python/
bubthegreat commented 7 years ago

Duplicate of more explicit bug #4