Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #110415

Re: not able to install mysqldb-python

From INADA Naoki <songofacandy@gmail.com>
Newsgroups comp.lang.python
Subject Re: not able to install mysqldb-python
Date 2016-06-23 22:02 +0900
Message-ID <mailman.75.1466686975.11516.python-list@python.org> (permalink)
References <103a2db1-c5fb-40bc-92a4-19feb5f1de35@googlegroups.com> <CAEfz+TxjS4akcvBWKRF2t6FOazVfROa3VN0ZOQ9oxQRV=Sba8g@mail.gmail.com>

Show all headers | View raw


Try this
https://pypi.python.org/pypi/mysqlclient

On Thu, Jun 23, 2016 at 9:11 PM, Arshpreet Singh <arsh840@gmail.com> wrote:
> I am trying to run django project in virtual environment. it needs mysql database library but when I try to install that it returns the error that configparser is not installed but I have installed configparser still the error remains same, is this ubuntu bug?
>
>
> (env) ubuntu@ip-:~/clearapp$ pip install ConfigParser
> Requirement already satisfied (use --upgrade to upgrade): ConfigParser in ./env/lib/python3.4/site-packages
> (env) ubuntu@ip-172-31-56-59:~/clearapp$ pip install configparser
> Requirement already satisfied (use --upgrade to upgrade): configparser in ./env/lib/python3.4/site-packages
> (env) ubuntu@ip-172-31-56-59:~/clearapp$ pip install MySQL-python
> Collecting MySQL-python
>   Using cached MySQL-python-1.2.5.zip
>     Complete output from command python setup.py egg_info:
>     Traceback (most recent call last):
>       File "<string>", line 1, in <module>
>       File "/tmp/pip-build-rrhl9079/MySQL-python/setup.py", line 13, in <module>
>         from setup_posix import get_config
>       File "/tmp/pip-build-rrhl9079/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-rrhl9079/MySQL-python/
> (env) ubuntu@ip-172-31-56-59:~/clearapp$
> --
> https://mail.python.org/mailman/listinfo/python-list



-- 
INADA Naoki  <songofacandy@gmail.com>

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

not able to install mysqldb-python Arshpreet Singh <arsh840@gmail.com> - 2016-06-23 05:11 -0700
  Re: not able to install mysqldb-python INADA Naoki <songofacandy@gmail.com> - 2016-06-23 22:02 +0900
  RE: not able to install mysqldb-python Joaquin Alzola <Joaquin.Alzola@lebara.com> - 2016-06-23 12:21 +0000
    Re: not able to install mysqldb-python Arshpreet Singh <arsh840@gmail.com> - 2016-06-24 00:46 -0700
      Re: not able to install mysqldb-python Chris Warrick <kwpolska@gmail.com> - 2016-06-25 09:47 +0200
    Re: not able to install mysqldb-python Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-06-25 22:54 -0700

csiph-web