I am trying to bring weewx up for the first time on my server - Ubuntu 12.04. I think I have followed the Debian Quick Start Guide completely but I am getting the following messages when trying to start weewx:jwp@jwp-srvr:/home/weewx$ ./bin/weewxd.py weewx.confTraceback (most recent call last):File "./bin/weewxd.py", line 68, in <module>weewx.wxengine.main(options, args)File "/home/weewx/bin/weewx/wxengine.py", line 836, in mainengine = EngineClass(config_dict)File "/home/weewx/bin/weewx/wxengine.py", line 67, in __init__self.loadServices(config_dict)File "/home/weewx/bin/weewx/wxengine.py", line 121, in loadServicesself.service_obj.append(weeutil.weeutil._get_object(svc, self, config_dict))File "/home/weewx/bin/weeutil/weeutil.py", line 653, in _get_objectobj = mod(*args, **kwargs)File "/home/weewx/bin/weewx/wxengine.py", line 414, in __init__self.setupArchiveDatabase(config_dict)File "/home/weewx/bin/weewx/wxengine.py", line 506, in setupArchiveDatabaseuser.schemas.defaultArchiveSchema)File "/home/weewx/bin/weewx/archive.py", line 91, in open_with_createarchive = Archive.open(archive_db_dict, table)File "/home/weewx/bin/weewx/archive.py", line 73, in open_connect = weedb.connect(archive_db_dict)File "/home/weewx/bin/weedb/__init__.py", line 42, in connect__import__(db_dict['driver'])File "/home/weewx/bin/weedb/mysql.py", line 14, in <module>import MySQLdbImportError: No module named MySQLdbAny suggestions on what I am doing wrong or what additional steps I need to take? I am trying to set it up to use MySQL and have created the two different databases.Thanks
Install the required libraries:
sudo apt-get install python-configobj
sudo apt-get install python-serial
sudo apt-get install python-cheetah
sudo apt-get install python-imaging
If you wish to install the optional package pyephem for extended almanac information, then add:
sudo apt-get install python-dev
sudo apt-get install python-pip
sudo pip install pyephem