refer to: https://stackoverflow.com/questions/39371772/how-to-install-anaconda-on-raspberry-pi-3-model-b
{USER}: pi
Install Miniconda 3:
wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-armv7l.sh
sudo md5sum Miniconda3-latest-Linux-armv7l.sh # (optional) check md5
sudo /bin/bash Miniconda3-latest-Linux-armv7l.sh
# -> change default directory to
/home/pi/miniconda3
#open the bashrc
sudo nano /home/pi/.bashrc
# -> add this line:
export PATH="/home/pi/miniconda3/bin:$PATH"
Test:
conda
python --version
If Conda update miss permission of the directory:
sudo chown -R pi miniconda3
If you see a list with commands you are ready to go.
But how can you use Python versions greater than 3.4 ?
Adding Python 3.5 / 3.6 to Miniconda on Raspberry Pi
After the installation of Miniconda I could not yet install Python versions higher than Python 3.4, but i needed Python 3.5. Here is the solution which worked for me on my Raspberry Pi 4:
First i added the Berryconda package manager by jjhelmus (kind of an up-to-date version of the armv7l version of Miniconda)
conda config --add channels rpi
@virencarriethakur Miniconda 3 package is pretty much outdated for ARM. So sorry for that issue.