On Saturday, December 3, 2016 at 2:54:40 PM UTC-5, mwall wrote:
>
>
>
> On Saturday, December 3, 2016 at 9:19:33 AM UTC-5, Dan'l B wrote:
>>
>> I gather from a previous thread here
>>
>> https://groups.google.com/d/msg/weewx-user/BW7uCMOCHhE/oMppmujeJZAJ
>>
>> that I need to install two items:
>>
>> You need to install the client interfaces to MySQL. 
>>>
>>> sudo apt-get install mysql-client
>>> sudo apt-get install python-mysqldb
>>>
>>
>> On my OSX 10.11.6 (El Cap) system this would be via pip, correct?
>>
>> Am I not doing this correctly? 
>>
>
> i think the mysql package name for pip is mysql-python:
>
> sudo pip install mysql-python
>
> m
>  
>

house@Houses-Macmini:/Users/shared/weewx$* sudo -H pip install mysql-python*

Password:

Collecting mysql-python

  Downloading MySQL-python-1.2.5.zip (108kB)

    100% |████████████████████████████████| 112kB 539kB/s 

    Complete output from command python setup.py egg_info:

    sh: mysql_config: command not found

    Traceback (most recent call last):

      File "<string>", line 1, in <module>

      File "/private/tmp/pip-build-XCRGc0/mysql-python/setup.py", line 17, 
in <module>

        metadata, options = get_config()

      File "setup_posix.py", line 43, in get_config

        libs = mysql_config("libs_r")

      File "setup_posix.py", line 25, in mysql_config

        raise EnvironmentError("%s not found" % (mysql_config.path,))

    EnvironmentError: mysql_config not found

    

    ----------------------------------------

> Command "python setup.py egg_info" failed with error code 1 in 
> /private/tmp/pip-build-XCRGc0/mysql-python/ 

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to