lundi 6 janvier 2020

Unable to install Pattern Package (OS Bash Terminal)

I am unable to install the Pattern package. Please kindly offer help!! lucy$ pip3 install pattern Collecting pattern Using cached https://files.pythonhosted.org/packages/1e/07/b0e61b6c818ed4b6145fe01d1c341223aa6cfbc3928538ad1f2b890924a3/Pattern-3.6.0.tar.gz Collecting future Using cached https://files.pythonhosted.org/packages/45/0b/38b06fd9b92dc2b68d58b75f900e97884c45bedd2ff83203d933cf5851c9/future-0.18.2.tar.gz Collecting backports.csv Using cached https://files.pythonhosted.org/packages/8e/26/a6bd68f13e0f38fbb643d6e497fc3462be83a0b6c4d43425c78bb51a7291/backports.csv-1.0.7-py2.py3-none-any.whl Collecting mysqlclient Using cached https://files.pythonhosted.org/packages/d0/97/7326248ac8d5049968bf4ec708a5d3d4806e412a42e74160d7f266a3e03a/mysqlclient-1.4.6.tar.gz ERROR: Command errored out with exit status 1: command: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/dg/3dc4wnvn2ll0bz4p781nw1jc0000gn/T/pip-install-v1dttx0k/mysqlclient/setup.py'"'"'; file='"'"'/private/var/folders/dg/3dc4wnvn2ll0bz4p781nw1jc0000gn/T/pip-install-v1dttx0k/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 /private/var/folders/dg/3dc4wnvn2ll0bz4p781nw1jc0000gn/T/pip-install-v1dttx0k/mysqlclient/pip-egg-info cwd: /private/var/folders/dg/3dc4wnvn2ll0bz4p781nw1jc0000gn/T/pip-install-v1dttx0k/mysqlclient/ Complete output (12 lines): /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 1, in File "/private/var/folders/dg/3dc4wnvn2ll0bz4p781nw1jc0000gn/T/pip-install-v1dttx0k/mysqlclient/setup.py", line 16, in metadata, options = get_config() File "/private/var/folders/dg/3dc4wnvn2ll0bz4p781nw1jc0000gn/T/pip-install-v1dttx0k/mysqlclient/setup_posix.py", line 61, in get_config libs = mysql_config("libs") File "/private/var/folders/dg/3dc4wnvn2ll0bz4p781nw1jc0000gn/T/pip-install-v1dttx0k/mysqlclient/setup_posix.py", line 29, 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. (base) n20286z185l10:assortedcodes lucy$

Aucun commentaire:

Enregistrer un commentaire