Error: too few arguments, must supply command line package specs or –file

Question:

When I run conda command to create tensorflow environment, it shows the following error message:

(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 version: Anaconda3-4.1.1-Windows-x86_64

Python version: 3.5

Asked By: Ken Li

||

Answers:

I solve the problem by providing python version in the conda command,

>conda create -n tensorflow python=3.5

Answered By: Ken Li
Categories: questions Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.