My goal is to use Numpy inside of Anaconda on the Raspberry Pi 3B. I downloaded Anaconda by following the instructions: https://stackoverflow.com/questions/49170125/cannot-install-anaconda-in-raspberry-pi-3. Then

pi@raspberrypi:~ $ conda install anaconda-client
pi@raspberrypi:~ $ conda create -n condaVEnv00 python=3
pi@raspberrypi:~ $ source activate condaVEnv00
(condaVEnv00)pi@raspberrypi:~ $ conda install anaconda-client
(condaVEnv00)pi@raspberrypi:~ $ conda install numpy
Fetching package metadata: ....
Solving package specifications: 
Error: Could not find some dependencies for numpy: blas * openblas

You can search for this package on anaconda.org with

    anaconda search -t conda blas * openblas
(condaVEnv00)pi@raspberrypi:~ $ anaconda search -t conda blas * openblas
usage: anaconda [-h] [--show-traceback] [--hide-traceback] [-v] [-q] [--color]
                [--no-color] [-V] [-t TOKEN] [-s SITE]
                COMMAND ...
anaconda: error: unrecognized arguments: current Desktop Documents Downloads MagPi miniconda3 Miniconda3-latest-Linux-armv7l.sh Music Pictures Public Templates Videos openblas

How can I proceed to implement Numpy in the Anaconda environment?


miniconda doesn't appear to support python>=3.5 on arm71, and current numpy installs all appear to need python>=3.5. Instead you can use the apt-get install, the pip install doesn't seem to work.

sudo apt-get install python3-numpy
| improve this answer | |

As stated in the link that you provided, you should use Miniconda. The default installed channel (pkgs/free) has very limited capabilities, and the RPi channel is better. To add that, run

conda config --add channels rpi

from the command line.

This will add the channel. Then you can run installation commands such as

conda install numpy


I got much of the information from GitHub: simoncos/miniconda_on_rpi.md.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.