本文介紹了創建空的 conda 環境的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!
問題描述
我可以使用程序 biopython
創建一個新的 conda 環境:
I can create a new conda environment, with program biopython
with this:
conda create --name snowflakes biopython
如果我不想安裝任何程序怎么辦?看來我做不到:
What if I do not want to install any program? It seems I can not do that:
? conda create --name tryout
Error: too few arguments, must supply command line package specs or --file
You can specify one or more default packages to install when creating
an environment. Doing so allows you to call conda create without
explicitly providing any package names.
To set the provided packages, call conda config like this:
conda config --add create_default_packages PACKAGE_NAME
推薦答案
你可以給一個包名只是python"來獲得一個基本的空安裝.
You can give a package name of just "python" to get a base, empty install.
conda create --name myenv python
conda create --name myenv python=3.4
這篇關于創建空的 conda 環境的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!
【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!