Difference between revisions of "Pi Setup Python 3 MySql"

From OpenCircuits
Jump to navigation Jump to search
Line 19: Line 19:
 
<pre>
 
<pre>
 
sudo apt-get -y install python3-mysql.connector
 
sudo apt-get -y install python3-mysql.connector
 +
 +
but I got
 +
pi@raspberrypi ~ $ sudo apt-get -y install python3-mysql.connector
 +
Reading package lists... Done
 +
Building dependency tree     
 +
Reading state information... Done
 +
E: Unable to locate package python3-mysql.connector
 +
E: Couldn't find any package by regex 'python3-mysql.connector'
  
  

Revision as of 14:20, 1 December 2017

Links



Try

sudo apt-get -y install python3-mysql.connector

but I got
pi@raspberrypi ~ $ sudo apt-get -y install python3-mysql.connector
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package python3-mysql.connector
E: Couldn't find any package by regex 'python3-mysql.connector'



add library to arduino

raspberry pi add library to arduino

Libraries go in '/home/pi/sketchbook/libraries'. Also make sure the directory you put in there has the correct name (rename it to 'Adafruit_NeoPixel' if it hasn't got that name already).