错误:参数太少,必须提供命令行包规范或--file

Ken*_* Li 4 python anaconda tensorflow

当我运行conda命令来创建tensorflow环境时,它显示以下错误消息:

(Anaconda3_411) C:\development\anaconda\Anaconda3_411>conda create -n tensorflow
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
Run Code Online (Sandbox Code Playgroud)

Anaconda版本: Anaconda3-4.1.1-Windows-x86_64

Python版本: 3.5

Ken*_* Li 9

我通过在conda命令中提供python版本来解决问题,

> conda create -n tensorflow python = 3.5