1
我試圖在Anaconda中導出'默認'環境(因爲我沒有任何實際安裝的環境,而且我在默認環境中執行了大部分操作)。我在Windows上。不在特定環境中導出conda環境
import sys
sys.version
'3.5.2 |Anaconda custom (64-bit)| (default, Jul 5 2016, 11:41:13) [MSC v.1900 64 bit (AMD64)]'
這裏是我的嘗試和輸出..
H:\>conda env export
CondaEnvException: Conda Env Exception: Unable to determine environment
Please re-run this command with one of the following options:
* Provide an environment name via --name or -n
* Re-run this command inside an activated conda environment.
H:\>
這工作完美。謝謝。 – ashishsingal