How to install Anaconda or Miniconda in raspberry pi? Steps by step process to install and solution of error that may occur during this process. Based on installation done in 2019.
Step 1: Download the Files.
$ wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-armv7l.sh
Step 2: Optional check md5
$ sudo md5sum Miniconda3-latest-Linux-armv7l.sh
Step 4: Run to start the installation process
$ sudo /bin/bash Miniconda3-latest-Linux-armv7l.sh
Step 3: Change default directory to /home/pi/miniconda
Step 4: Installer to prepend the Miniconda3 install location input ‘no’
Step 4: Add miniconda to PATH
$ sudo nano /home/pi/.bashrc
$ export PATH=”/home/pi/miniconda3/bin:$PATH”
Step 5: Reboot
$ sudo reboot -h now
$ conda
$ python –version
$ conda install anaconda-client
If permission is missed:
Error: Missing write permissions in: /home/pi/miniconda3
$ sudo chown -R pi miniconda3
$ conda config –add channel rpi
$ conda install openblas blas
$ conda create -n test python=3.6 (proceed with y)
$ source activate test
$ conda install numpy (check so that everything is fine.)
Now use either pip or conda to install packages. ENJOY..