clips / pattern

Web mining module for Python, with tools for scraping, natural language processing, machine learning, network analysis and visualization.
https://github.com/clips/pattern/wiki
BSD 3-Clause "New" or "Revised" License
8.72k stars 1.58k forks source link

Why do I need mysql for a python package? #316

Open silgon opened 3 years ago

silgon commented 3 years ago

Guys, I just tried to install your module, however it asks me for some mysql configuration.

    ERROR: Complete output from command python setup.py egg_info:                                                                                                                                                                              
    ERROR: /bin/sh: 1: mysql_config: not found                                                                                                                                                                                                 
    /bin/sh: 1: mariadb_config: not found                                                                                                                                                                                                      
    /bin/sh: 1: mysql_config: not found                                                                                                                                                                                                        
    Traceback (most recent call last):                                                                                                                                                                                                         
      File "<string>", line 1, in <module>                                                                                                                                                                                                     
      File "/tmp/pip-install-9i47p9nz/mysqlclient/setup.py", line 15, in <module>
        metadata, options = get_config()
      File "/tmp/pip-install-9i47p9nz/mysqlclient/setup_posix.py", line 65, in get_config
        libs = mysql_config("libs")
      File "/tmp/pip-install-9i47p9nz/mysqlclient/setup_posix.py", line 31, in mysql_config
        raise OSError("{} not found".format(_mysql_config_path))
    OSError: mysql_config not found
    ----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-9i47p9nz/mysqlclient/

I don't have 'mysql' server on this computer, and also I would like to avoid installing another deamon on my computer. I would like just your point of view. Thanks

Sjoerd82 commented 3 years ago

Duplicate of #250.