I want to install PIL and python-numpy at the least. I want to turn an image into an array but really can't seem to find info on installing/using modules to raspberry pi. Could somebody just explain?
Assuming that you are using the Raspberry Pi Foundation's recommended Raspbian image, those packages are available through the package manager. For numpy, you want to run this as root, using sudo if appropriate:
apt-get install python-numpy
Installing PIL is similar; just find the package name for PIL and apt-get it. I don't know it myself, but using "apt-cache search " and grep will find it for you fairly quickly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With