You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [16 lines of output]
/bin/sh: mysql_config: command not found
/bin/sh: mariadb_config: command not found
/bin/sh: mysql_config: command not found
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/private/var/folders/b3/923q90gn6p14m7qtmgjz4z140000gn/T/pip-install-uw_1rtd5/mysqlclient_e107c4fc41db45b1bb9ce0e7250d32be/setup.py", line 15, in
metadata, options = get_config()
File "/private/var/folders/b3/923q90gn6p14m7qtmgjz4z140000gn/T/pip-install-uw_1rtd5/mysqlclient_e107c4fc41db45b1bb9ce0e7250d32be/setup_posix.py", line 70, in get_config
libs = mysql_config("libs")
File "/private/var/folders/b3/923q90gn6p14m7qtmgjz4z140000gn/T/pip-install-uw_1rtd5/mysqlclient_e107c4fc41db45b1bb9ce0e7250d32be/setup_posix.py", line 31, in mysql_config
raise OSError("{} not found".format(_mysql_config_path))
OSError: mysql_config not found
mysql_config --version
mariadb_config --version
mysql_config --libs
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
(base) tangquanzhong@tangquanzhongdeMacBook-Air news-fetch-master %
The text was updated successfully, but these errors were encountered:
Hello, I can't install requirments.txt on mac os M1.
Requirement already satisfied: beautifulsoup4 in /Users/tangquanzhong/miniforge3/lib/python3.9/site-packages (from -r requirements.txt (line 1)) (4.11.1)
Requirement already satisfied: selenium in /Users/tangquanzhong/miniforge3/lib/python3.9/site-packages (from -r requirements.txt (line 2)) (4.1.3)
Collecting chromedriver-binary
Using cached chromedriver-binary-101.0.4951.15.0.tar.gz (4.9 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: pandas in /Users/tangquanzhong/miniforge3/lib/python3.9/site-packages (from -r requirements.txt (line 4)) (1.3.4)
Collecting pattern
Using cached Pattern-3.6.0.tar.gz (22.2 MB)
Preparing metadata (setup.py) ... done
Collecting fake_useragent
Using cached fake-useragent-0.1.11.tar.gz (13 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: setuptools in /Users/tangquanzhong/miniforge3/lib/python3.9/site-packages (from -r requirements.txt (line 7)) (58.0.4)
Collecting twine
Using cached twine-4.0.0-py3-none-any.whl (36 kB)
Collecting unidecode
Using cached Unidecode-1.3.4-py3-none-any.whl (235 kB)
Requirement already satisfied: soupsieve>1.2 in /Users/tangquanzhong/miniforge3/lib/python3.9/site-packages (from beautifulsoup4->-r requirements.txt (line 1)) (2.3.2.post1)
Requirement already satisfied: urllib3[secure,socks]
=1.26 in /Users/tangquanzhong/miniforge3/lib/python3.9/site-packages (from selenium->-r requirements.txt (line 2)) (1.26.7)=0.17 in /Users/tangquanzhong/miniforge3/lib/python3.9/site-packages (from selenium->-r requirements.txt (line 2)) (0.20.0)Requirement already satisfied: trio
Requirement already satisfied: trio-websocket~=0.9 in /Users/tangquanzhong/miniforge3/lib/python3.9/site-packages (from selenium->-r requirements.txt (line 2)) (0.9.2)
Requirement already satisfied: python-dateutil>=2.7.3 in /Users/tangquanzhong/miniforge3/lib/python3.9/site-packages (from pandas->-r requirements.txt (line 4)) (2.8.2)
Requirement already satisfied: pytz>=2017.3 in /Users/tangquanzhong/miniforge3/lib/python3.9/site-packages (from pandas->-r requirements.txt (line 4)) (2021.3)
Requirement already satisfied: numpy>=1.20.0 in /Users/tangquanzhong/miniforge3/lib/python3.9/site-packages (from pandas->-r requirements.txt (line 4)) (1.21.3)
Requirement already satisfied: future in /Users/tangquanzhong/miniforge3/lib/python3.9/site-packages (from pattern->-r requirements.txt (line 5)) (0.18.2)
Collecting backports.csv
Using cached backports.csv-1.0.7-py2.py3-none-any.whl (12 kB)
Collecting mysqlclient
Using cached mysqlclient-2.1.0.tar.gz (87 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [16 lines of output]
/bin/sh: mysql_config: command not found
/bin/sh: mariadb_config: command not found
/bin/sh: mysql_config: command not found
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/private/var/folders/b3/923q90gn6p14m7qtmgjz4z140000gn/T/pip-install-uw_1rtd5/mysqlclient_e107c4fc41db45b1bb9ce0e7250d32be/setup.py", line 15, in
metadata, options = get_config()
File "/private/var/folders/b3/923q90gn6p14m7qtmgjz4z140000gn/T/pip-install-uw_1rtd5/mysqlclient_e107c4fc41db45b1bb9ce0e7250d32be/setup_posix.py", line 70, in get_config
libs = mysql_config("libs")
File "/private/var/folders/b3/923q90gn6p14m7qtmgjz4z140000gn/T/pip-install-uw_1rtd5/mysqlclient_e107c4fc41db45b1bb9ce0e7250d32be/setup_posix.py", line 31, in mysql_config
raise OSError("{} not found".format(_mysql_config_path))
OSError: mysql_config not found
mysql_config --version
mariadb_config --version
mysql_config --libs
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
(base) tangquanzhong@tangquanzhongdeMacBook-Air news-fetch-master %
The text was updated successfully, but these errors were encountered: