Install error - SQL


#1

Can anyone help me with this error on a Pi3 ‘advanced’ installation

ImportError: No module named MySQLdb
Traceback (most recent call last):
File “/home/pi/adsb-receiver/build/portal/logging/flights.py”, line 45, in
import MySQLdb

Using the 2.0.0 image to build the receiver from ans SQL Lite - but also had the same error on SQL full

Many thanks


#2

execute the following command:


sudo apt-get install python-mysqldb

I am doing final testing on a v2.0.1 release tonight which addresses issues with SQLite as well as other issues since the 2.0.0 release.
I have finished testing clean installations using the v2.0.1 branch and am now moving on to testing the upgrade process.

I am hoping to merge this branch into the master branch tonight or tomorrow at the latest if you want to hold off a bit.

Also you may want to post question about the ADS-B Receiver Project in the following thread.
ads-b-flight-tracking-f21/ads-b-receiver-project-setup-scripts-t36532.html
It is easier for me to keep track of issues and questions pertaining to the project that way.


#3

Thanks will give that a go.

Sorry, I thought I had posted this in that thread - completely missed :mrgreen: Can anybody move these posts to the thread?