Check if you are running the latest version of Raspbian OS called Buster. If you need to run Python 3.7 on your Pi right now, you can do so without Miniconda. (update 20200623) berryconda is now inactive, This project is no longer active, no recipe will be updated and no packages will be added to the rpi channel. The new environment "p圓5" can now be activated: source activate p圓5Ĭurrently Jonathan Helmus, who is the developer of berryconda, is working on adding Python 3.7 support, if you want to see if there is an update or if you want to support him, have a look at this pull request. with Python 3.5: conda create -name p圓5 python=3.5 Only now I was able to install Python 3.5 or 3.6 without the need for compiling it myself: conda install python=3.5Īfterwards I was able to create environments with the added Python version, e.g. Here is the solution which worked for me on my Raspberry Pi 4:įirst 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 If you see a list with commands you are ready to go.īut how can you use Python versions greater than 3.4 ?Īdding Python 3.5 / 3.6 to Miniconda on Raspberry PiĪfter the installation of Miniconda I could not yet install Python versions higher than Python 3.4, but i needed Python 3.5. To test if the installation was successful, open a new terminal and enter conda bashrc and add the following line: export PATH="/home/pi/miniconda3/bin:$PATH" Now add the install path to the PATH variable: sudo nano /home/pi/.bashrc ![]() When asked, change the install location: /home/pi/miniconda3ĭo you wish the installer to prepend the Miniconda3 install location ![]() Sudo /bin/bash Miniconda3-latest-Linux-armv7l.sh Sudo md5sum Miniconda3-latest-Linux-armv7l.sh Installation of Miniconda on Raspberry Pi wget Skip the first section if you have already installed Miniconda successfully. Installing Miniconda on Raspberry Pi and adding Python 3.5 / 3.6
0 Comments
Leave a Reply. |