Anaconda activates command syntax invalid

Maybe something simple (hopefully), but activate environment_namegives me the message "Command syntax is incorrect."

I use Windows 7, conda 3.19.0, python 2.7.11, and I get this message with both cmd.exe and Anaconda command line.

It may seem like it has never worked for me before, since I just installed Anaconda - as an administrator (and the environment I refer to is an example of them).

Even after deleting the medium and re-creating it, I still get the same thing:

C:\Anaconda>conda create -n snowflakes biopython
Fetching package metadata: ....
Solving package specifications: ............
Package plan for installation in environment C:\Anaconda\envs\snowflakes:

The following NEW packages will be INSTALLED:

    biopython:    1.66-np110py27_0
    msvc_runtime: 1.0.1-vc9_0      [vc9]
    numpy:        1.10.1-py27_0
    pip:          7.1.2-py27_0
    python:       2.7.11-0
    setuptools:   19.2-py27_0
    wheel:        0.26.0-py27_1

Proceed ([y]/n)? y

Linking packages ...
[      COMPLETE      ]|##################################################| 100%
#
# To activate this environment, use:
# > activate snowflakes
#

C:\Anaconda>activate snowflakes
The syntax of the command is incorrect.

C:\Anaconda>conda info -e
# conda environments:
#
bunnies                  C:\Anaconda\envs\bunnies
snowflakes               C:\Anaconda\envs\snowflakes
root                  *  C:\Anaconda


C:\Anaconda>

I updated both Anaconda and conda to no avail. I do not know if there was a problem installing the root directory or a PATH problem or what. I looked at the activation script and see nothing obvious there. Using the full path name does not help, as in

C:\Anaconda>activate C:\Anaconda\envs\snowflakes

.

1/17/2016: Anaconda. , Anaconda-2.3.0-Windows-x86_64.zip ZIP-.

/ . conda update conda, conda update anaconda. " ", . , , env.

+4
2

, PATH , ( Windows7 Windows10):

C:\Users\Myusername\Anaconda

PATH , , , , . , Windows10, Anaconda .

.

+1

, . PATH .

Edit Environment Variables for your account PATH. . C:\path\to\programs;C:\path\to\more\programs;...

, , PATH .

+1

Source: https://habr.com/ru/post/1624545/


All Articles