错误:参数太少,必须提供命令行软件包规格或 - 文件



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

(Anaconda3_411) C:developmentanacondaAnaconda3_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

anaconda版本: anaconda3-4.1.1-windows-x86_64

Python版本: 3.5

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

> conda创建-n Tensorflow Python = 3.5

最新更新