Skip to content

pip install -r requirements.txt error #389

Open
@scorbin

Description

@scorbin

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 "", line 1, in
File "/tmp/pip-install-qwx8gcr7/mysqlclient/setup.py", line 17, in
metadata, options = get_config()
File "/tmp/pip-install-qwx8gcr7/mysqlclient/setup_posix.py", line 44, in get_config
libs = mysql_config("libs_r")
File "/tmp/pip-install-qwx8gcr7/mysqlclient/setup_posix.py", line 26, in mysql_config
raise EnvironmentError("%s not found" % (mysql_config.path,))
OSError: mysql_config not found
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions