python - Anaconda activate environment "The syntax of the command is incorrect" -


probably simple (i hope) activate environment_name giving me message "the syntax of command incorrect."

i'm using windows 7, conda 3.19.0, python 2.7.11, , message both cmd.exe , anaconda command prompt.

it may relevant has never worked me before installed anaconda - admin - (and environment i'm referencing tutorial example).

even after remove environment , re-create still same thing:

c:\anaconda>conda create -n snowflakes biopython fetching package metadata: .... solving package specifications: ............ package plan installation in environment c:\anaconda\envs\snowflakes:  following new packages 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% # # activate environment, use: # > activate snowflakes #  c:\anaconda>activate snowflakes syntax of command incorrect.  c:\anaconda>conda info -e # conda environments: # bunnies                  c:\anaconda\envs\bunnies snowflakes               c:\anaconda\envs\snowflakes root                  *  c:\anaconda   c:\anaconda> 

i have updated both anaconda , conda no avail. don't know if it's root directory installation issue or path issue or what. have perused activate script , cannot see obvious there. using full path name not either, in

c:\anaconda>activate c:\anaconda\envs\snowflakes 

any appreciated.

update 1/17/2016: uninstalled anaconda. installed older version, anaconda-2.3.0-windows-x86_64.zip zipped windows installers archive.

i activate/deactivate environments after install. updated again conda update conda , conda update anaconda. getting same "incorrect syntax" message before. resigned using until absolutely need more env functionality.

i spent while struggling find cause of error. problem on machine path environmental variable.

open edit environment variables account program on windows, , edit path variable. remove quotation marks or potentially invalid path characters. should c:\path\to\programs;c:\path\to\more\programs;...

and if you're admin, it's possible have same thing system path environment variable.


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -