简体   繁体   中英

Install python with given version using Miniconda

I use Raspberry Pi.

I tried to create an environment with this:

conda create --name "myenv" python=3.10.1 mediapipe

I got the following error:

Fetching package metadata: ....
Error: No packages found in current linux-armv7l channels matching: python 3.10.1*

You can search for this package on anaconda.org with

    anaconda search -t conda python 3.10.1*

You may need to install the anaconda-client command line client with

    conda install anaconda-client

I think miniconda thinks python=3.10.1 is a package.

No one maintains Conda for 32-bit Raspberry Pi (platform linux-armv7l ). Basically you're stuck with what is on the rpi channel or works with noarch , and that means at latest Python 3.6.6.

The newer full 64-bit OS images for Raspberry Pi 4 should be compatible with linux-aarch64 builds from Conda Forge, and those are actively maintained (eg, python=3.10.2 is available).

BTW, Conda does treat python=3.10.1 as a package because it is a package . That is, Conda is a general package manager and Python has no special treatment (aside from the bit of bootstrapping that Conda itself is a Python package).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM