uberserver
uberserver copied to clipboard
pip install -r requirements.txt error
Python 3.8.10 I tried running the pip install got the follow error. Thanks
Collecting GeoIP==1.3.2
Using cached GeoIP-1.3.2.tar.gz (20 kB)
Collecting mysqlclient==1.3.10
Using cached mysqlclient-1.3.10.tar.gz (82 kB)
ERROR: Command errored out with exit status 1:
command: /home/scorbin/virtenvs/uberserver/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qwx8gcr7/mysqlclient/setup.py'"'"'; file='"'"'/tmp/pip-install-qwx8gcr7/mysqlclient/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-qwx8gcr7/mysqlclient/pip-egg-info
cwd: /tmp/pip-install-qwx8gcr7/mysqlclient/
Complete output (10 lines):
/bin/sh: 1: mysql_config: not found
Traceback (most recent call last):
File "
-> https://pypi.org/project/mysqlclient/
on debian/ubuntu:
$ sudo apt-get install python3-dev default-libmysqlclient-dev build-essential