помогите пожалуйста разобраться. на python.su говорят, решение зависит от типа linux
я пытаюсь на python3.4 использовать БД mysql. для этого утсанавливаю MySQL-python. дистрибутив linux mint
(zapsum)kalinins@kalinins-Lenovo-Z580 ~/.virtualenvs/zapsum/zapsum $ pip install MySQL-python
Downloading/unpacking MySQL-python
Downloading MySQL-python-1.2.5.zip (108kB): 108kB downloaded
Running setup.py (path:/home/kalinins/.virtualenvs/zapsum/build/MySQL-python/setup.py) egg_info for package MySQL-python
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/home/kalinins/.virtualenvs/zapsum/build/MySQL-python/setup.py", line 13, in <module>
from setup_posix import get_config
File "/home/kalinins/.virtualenvs/zapsum/build/MySQL-python/setup_posix.py", line 2, in <module>
from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/home/kalinins/.virtualenvs/zapsum/build/MySQL-python/setup.py", line 13, in <module>
from setup_posix import get_config
File "/home/kalinins/.virtualenvs/zapsum/build/MySQL-python/setup_posix.py", line 2, in <module>
from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /home/kalinins/.virtualenvs/zapsum/build/MySQL-python
Storing debug log for failure in /home/kalinins/.pip/pip.log
, то есть этот пакет не устанавливается потому что нужно установить ConfigParser. пробую:
kalinins@kalinins-Lenovo-Z580 ~/.virtualenvs/zapsum/zapsum $ sudo apt-get install python3-dev
[sudo] password for kalinins:
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 387 not upgraded.
что можно попробовать ещё сделать?