Reputation: 111
I tried installing anaconda on the Raspberry Pi using the 32 bit installer in their webpage. After finding out where the file is located I put the command
bash ~/Downloads/Anaconda3-5.1.0-Linux-x86.sh
Once the installation location was picked, I got the following error.
installing: python-3.6.4-hc3d631a_1 ...
/home/pi/Downloads/Anaconda3-5.1.0-Linux-x86.sh: line 373: /home/pi/anaconda3/pkgs/python-3.6.4-hc3d631a_1/bin/python: cannot execute binary file: Exec format error
Any idea how to install anaconda?
Upvotes: 2
Views: 5787
Reputation: 361
The problem is that you try to install Anaconda for x86 CPUs (such as Intels) whereas the Raspberry Pi has an ARM based CPU. You need to use the following install script:
wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-armv7l.sh
chmod +x Miniconda3-latest-Linux-armv7l.sh
./Miniconda3-latest-Linux-armv7l.sh
Upvotes: 9
Reputation: 136
You may check the file permissions such
sudo chmod 775 Anaconda3-5.1.0-Linux-x86.sh
Alternatively you may just run with ./Anaconda3-5.1.0-Linux-x86.sh
Upvotes: 0