m0ve
Участник
- Сообщения
- 81
- Реакции
- 2
Пытаюсь установить плагин get5 на Ubuntu. Но выдаёт такую ошибку :
ERROR: Command errored out with exit status 1:
command: /var/www/get5-web/venv/bin/python2 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-dWoKr_/MySQL-python/setup.py'"'"'; __file__='"'"'/tmp/pip-install-dWoKr_/MySQL-python/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info —egg-base /tmp/pip-install-dWoKr_/MySQL-python/pip-egg-info
cwd: /tmp/pip-install-dWoKr_/MySQL-python/
Complete output (10 lines):
sh: 1: mysql_config: not found
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-dWoKr_/MySQL-python/setup.py", line 17, in <module>
metadata, options = get_config()
File "setup_posix.py", line 43, in get_config
libs = mysql_config("libs_r")
File "setup_posix.py", line 25, in mysql_config
raise EnvironmentError("%s not found" % (mysql_config.path,))
EnvironmentError: mysql_config not found
—------------------------------------—
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1:
command: /var/www/get5-web/venv/bin/python2 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-dWoKr_/MySQL-python/setup.py'"'"'; __file__='"'"'/tmp/pip-install-dWoKr_/MySQL-python/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info —egg-base /tmp/pip-install-dWoKr_/MySQL-python/pip-egg-info
cwd: /tmp/pip-install-dWoKr_/MySQL-python/
Complete output (10 lines):
sh: 1: mysql_config: not found
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-dWoKr_/MySQL-python/setup.py", line 17, in <module>
metadata, options = get_config()
File "setup_posix.py", line 43, in get_config
libs = mysql_config("libs_r")
File "setup_posix.py", line 25, in mysql_config
raise EnvironmentError("%s not found" % (mysql_config.path,))
EnvironmentError: mysql_config not found
—------------------------------------—
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.