简体   繁体   中英

Fail to create virtual environment using Anaconda

I use m1 Mac. I was trying to use Anaconda create a new virtual environment with python==3.6, currently having python==3.10. I have tried doing this both on DataSpell and terminal. But the error message kept pop up, "the package is not available from the current channels". I add conda-forge to the channel list.

Have you changed your Anaconda python environment to be the virtualEnv's python?

If you don't there is no way for Anaconda to know which libraries you have installed.

You can also follow this guide to Anaconda environments if you are lost.

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