Skip to content

Instantly share code, notes, and snippets.

@yaowser
Created February 8, 2017 21:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yaowser/a123476c90a61a56be35aaaca1ea2b85 to your computer and use it in GitHub Desktop.
Save yaowser/a123476c90a61a56be35aaaca1ea2b85 to your computer and use it in GitHub Desktop.
CMD
# > activate First
#
# To deactivate this environment, use:
# > deactivate First
#
# * for power-users using bash, you must source
#
(C:\ProgramData\Anaconda3) C:\Users\Yao>activate First
(First) C:\Users\Yao>what
'what' is not recognized as an internal or external command,
operable program or batch file.
(First) C:\Users\Yao>source activate First
'source' is not recognized as an internal or external command,
operable program or batch file.
(First) C:\Users\Yao>conda install jupyter
Fetching package metadata .............
Solving package specifications: .
Package plan for installation in environment C:\ProgramData\Anaconda3\envs\First
:
The following NEW packages will be INSTALLED:
colorama: 0.3.7-py36_0
decorator: 4.0.11-py36_0
entrypoints: 0.2.2-py36_0
icu: 57.1-vc14_0 [vc14]
ipykernel: 4.5.2-py36_0
ipython: 5.1.0-py36_0
ipython_genutils: 0.1.0-py36_0
ipywidgets: 5.2.2-py36_1
jinja2: 2.9.4-py36_0
jpeg: 9b-vc14_0 [vc14]
jsonschema: 2.5.1-py36_0
jupyter: 1.0.0-py36_3
jupyter_client: 4.4.0-py36_0
jupyter_console: 5.0.0-py36_0
jupyter_core: 4.2.1-py36_0
libpng: 1.6.27-vc14_0 [vc14]
markupsafe: 0.23-py36_2
mistune: 0.7.3-py36_0
nbconvert: 4.2.0-py36_0
nbformat: 4.2.0-py36_0
notebook: 4.3.1-py36_1
openssl: 1.0.2k-vc14_0 [vc14]
path.py: 10.0-py36_0
pickleshare: 0.7.4-py36_0
prompt_toolkit: 1.0.9-py36_0
pygments: 2.1.3-py36_0
pyqt: 5.6.0-py36_2
pyzmq: 16.0.2-py36_0
qt: 5.6.2-vc14_3 [vc14]
qtconsole: 4.2.1-py36_2
simplegeneric: 0.8.1-py36_1
sip: 4.18-py36_0
six: 1.10.0-py36_0
tornado: 4.4.2-py36_0
traitlets: 4.3.1-py36_0
wcwidth: 0.1.7-py36_0
widgetsnbextension: 1.2.6-py36_0
win_unicode_console: 0.5-py36_0
zlib: 1.2.8-vc14_3 [vc14]
Proceed ([y]/n)? y
qt-5.6.2-vc14_ 100% |###############################| Time: 0:00:04 11.70 MB/s
1 file(s) copied.
(First) C:\Users\Yao>
(First) C:\Users\Yao>anaconda search -t conda rpy@
Using Anaconda API: https://api.anaconda.org
Run 'anaconda show <USER/PACKAGE>' to get more details:
No packages found
Name | Version | Package Types | Platforms
------------------------- | ------ | --------------- | ---------------
Found 0 packages
(First) C:\Users\Yao>anaconda search -t conda rpy2
Using Anaconda API: https://api.anaconda.org
Run 'anaconda show <USER/PACKAGE>' to get more details:
Packages:
Name | Version | Package Types | Platforms
------------------------- | ------ | --------------- | ---------------
Richarizardd/rpy2 | 2.5.6 | conda | win-64
: Python interface to the R language (
embedded R)
andywocky/rpy2 | 2.5.6 | conda | osx-64
: Python interface to the R language (
embedded R)
asmeurer/rpy2 | 2.7.0 | conda | linux-64, linux-32
, osx-64
: Python interface to the R language (
embedded R)
bce/rpy2 | | conda | linux-64
: Python interface to the R language (
embedded R)
bioconda/rpy2 | 2.7.8 | conda | linux-64, osx-64
: Python interface to the R language (
embedded R)
cgat/rpy2 | 2.6.1 | conda | linux-64
cgat/rpy2-lite | 2.6.1 | conda | linux-64
desilinguist/rpy2 | 2.5.4 | conda | osx-64
: Python interface to the R language (
embedded R)
equipoise/rpy2 | 2.3.9 | conda | win-64
hisanor/rpy2 | 2.7.9 | conda | linux-64
: Python interface to the R language (
embedded R)
ijstokes/rpy2 | 2.8.3 | conda | osx-64
: Python interface to the R language (
embedded R)
isuruf/rpy2 | 2.8.2.p0 | conda | linux-64
jgreeley/rpy2 | 2.7.8 | conda | linux-64
joshadel/rpy2 | 2.3.9 | conda | win-64
jrderuiter/rpy2 | 2.5.3 | conda | osx-64
: Python interface to the R language (
embedded R)
kundajelab/rpy2 | 2.7.0 | conda | linux-64
: Python interface to the R language (
embedded R)
leriomaggio/rpy2 | 2.4.4 | conda | osx-64
: Python interface to the R language (
embedded R)
omgarcia/rpy2 | 2.8.3 | conda | linux-64
: Python interface to the R language (
embedded R)
pmlandwehr/rpy2 | 2.8.0 | conda | osx-64
: Python interface to the R language (
embedded R)
r-old/rpy2 | 2.4.2 | conda | linux-64
r/rpy2 | 2.8.5 | conda | linux-64, win-32,
win-64, linux-32, osx-64
ralexx/rpy2 | 2.7.6 | conda | osx-64
: Python interface to the R language (
embedded R)
rdonnelly/rpy2 | 2.8.5 | conda | linux-64, win-64
rmcgibbo/rpy2 | 2.4.2 | conda | linux-64
rmkoesterer/rpy2 | 2.7.4 | conda | linux-64
: Python interface to the R language (
embedded R)
ryan/rpy2 | 2.5.6 | conda | linux-64
: Python interface to the R language (
embedded R)
sebp/rpy2 | 2.8.3 | conda | linux-64, osx-64
: Python interface to the R language (
embedded R)
trent/rpy2 | 2.3.8 | conda | linux-64
: http://rpy.sourceforge.net/index.htm
l
xbsd/rpy2 | 2.4.4 | conda | osx-64
: Python interface to the R language (
embedded R)
Found 29 packages
(First) C:\Users\Yao>conda install -c r rpy2
Fetching package metadata ...............
Solving package specifications: .
Package plan for installation in environment C:\ProgramData\Anaconda3\envs\First
:
The following NEW packages will be INSTALLED:
m2w64-bwidget: 1.9.10-2
m2w64-bzip2: 1.0.6-6
m2w64-expat: 2.1.1-2
m2w64-fftw: 3.3.4-6
m2w64-flac: 1.3.1-3
m2w64-gcc-libgfortran: 5.3.0-6
m2w64-gcc-libs: 5.3.0-7
m2w64-gcc-libs-core: 5.3.0-7
m2w64-gettext: 0.19.7-2
m2w64-gmp: 6.1.0-2
m2w64-gsl: 2.1-2
m2w64-libiconv: 1.14-6
m2w64-libjpeg-turbo: 1.4.2-3
m2w64-libogg: 1.3.2-3
m2w64-libpng: 1.6.21-2
m2w64-libsndfile: 1.0.26-2
m2w64-libtiff: 4.0.6-2
m2w64-libvorbis: 1.3.5-2
m2w64-libwinpthread-git: 5.0.0.4634.697f757-2
m2w64-libxml2: 2.9.3-3
m2w64-mpfr: 3.1.4-4
m2w64-pcre: 8.38-2
m2w64-speex: 1.2rc2-3
m2w64-speexdsp: 1.2rc3-3
m2w64-tcl: 8.6.5-3
m2w64-tk: 8.6.5-3
m2w64-tktable: 2.10-5
m2w64-wineditline: 2.101-5
m2w64-xz: 5.2.2-2
m2w64-zlib: 1.2.8-10
msys2-conda-epoch: 20160418-1
r: 3.3.2-r3.3.2_0 r
r-base: 3.3.2-0 r
r-boot: 1.3_18-r3.3.2_0 r
r-class: 7.3_14-r3.3.2_0 r
r-cluster: 2.0.5-r3.3.2_0 r
r-codetools: 0.2_15-r3.3.2_0 r
r-foreign: 0.8_67-r3.3.2_0 r
r-kernsmooth: 2.23_15-r3.3.2_0 r
r-lattice: 0.20_34-r3.3.2_0 r
r-mass: 7.3_45-r3.3.2_0 r
r-matrix: 1.2_7.1-r3.3.2_0 r
r-mgcv: 1.8_16-r3.3.2_0 r
r-nlme: 3.1_128-r3.3.2_0 r
r-nnet: 7.3_12-r3.3.2_0 r
r-recommended: 3.3.2-r3.3.2_0 r
r-rpart: 4.1_10-r3.3.2_0 r
r-spatial: 7.3_11-r3.3.2_0 r
r-survival: 2.40_1-r3.3.2_0 r
rpy2: 2.8.5-py36r3.3.2_2 r
singledispatch: 3.4.0.3-py36_0
Proceed ([y]/n)? y
msys2-conda-ep 100% |###############################| Time: 0:00:00 1.03 MB/s
m2w64-expat-2. 100% |###############################| Time: 0:00:00 3.80 MB/s
m2w64-gmp-6.1. 100% |###############################| Time: 0:00:00 6.72 MB/s
m2w64-gsl-2.1- 100% |###############################| Time: 0:00:00 11.19 MB/s
m2w64-libiconv 100% |###############################| Time: 0:00:00 11.83 MB/s
m2w64-libogg-1 100% |###############################| Time: 0:00:00 11.07 MB/s
m2w64-libwinpt 100% |###############################| Time: 0:00:00 10.18 MB/s
m2w64-wineditl 100% |###############################| Time: 0:00:00 9.44 MB/s
m2w64-gcc-libs 100% |###############################| Time: 0:00:00 11.46 MB/s
m2w64-mpfr-3.1 100% |###############################| Time: 0:00:00 10.72 MB/s
m2w64-gcc-libg 100% |###############################| Time: 0:00:00 11.24 MB/s
m2w64-gcc-libs 100% |###############################| Time: 0:00:00 10.83 MB/s
m2w64-bzip2-1. 100% |###############################| Time: 0:00:00 11.39 MB/s
m2w64-fftw-3.3 100% |###############################| Time: 0:00:00 11.46 MB/s
m2w64-flac-1.3 100% |###############################| Time: 0:00:00 11.59 MB/s
m2w64-gettext- 100% |###############################| Time: 0:00:00 11.77 MB/s
m2w64-libjpeg- 100% |###############################| Time: 0:00:00 11.58 MB/s
m2w64-libvorbi 100% |###############################| Time: 0:00:00 11.42 MB/s
m2w64-speexdsp 100% |###############################| Time: 0:00:00 11.70 MB/s
m2w64-speex-1. 100% |###############################| Time: 0:00:00 11.45 MB/s
m2w64-xz-5.2.2 100% |###############################| Time: 0:00:00 11.56 MB/s
m2w64-zlib-1.2 100% |###############################| Time: 0:00:00 11.22 MB/s
m2w64-libpng-1 100% |###############################| Time: 0:00:00 11.35 MB/s
m2w64-libsndfi 100% |###############################| Time: 0:00:00 11.47 MB/s
m2w64-libtiff- 100% |###############################| Time: 0:00:00 11.65 MB/s
m2w64-libxml2- 100% |###############################| Time: 0:00:00 11.77 MB/s
m2w64-pcre-8.3 100% |###############################| Time: 0:00:00 11.54 MB/s
m2w64-tcl-8.6. 100% |###############################| Time: 0:00:00 11.71 MB/s
m2w64-tk-8.6.5 100% |###############################| Time: 0:00:00 11.75 MB/s
m2w64-bwidget- 100% |###############################| Time: 0:00:00 6.80 MB/s
m2w64-tktable- 100% |###############################| Time: 0:00:00 10.40 MB/s
r-base-3.3.2-0 100% |###############################| Time: 0:00:03 10.97 MB/s
r-boot-1.3_18- 100% |###############################| Time: 0:00:00 10.93 MB/s
r-cluster-2.0. 100% |###############################| Time: 0:00:00 8.44 MB/s
r-codetools-0. 100% |###############################| Time: 0:00:00 7.60 MB/s
r-foreign-0.8_ 100% |###############################| Time: 0:00:00 10.12 MB/s
r-kernsmooth-2 100% |###############################| Time: 0:00:00 9.16 MB/s
r-lattice-0.20 100% |###############################| Time: 0:00:00 11.18 MB/s
r-mass-7.3_45- 100% |###############################| Time: 0:00:00 11.47 MB/s
r-nnet-7.3_12- 100% |###############################| Time: 0:00:00 9.03 MB/s
r-rpart-4.1_10 100% |###############################| Time: 0:00:00 11.01 MB/s
r-spatial-7.3_ 100% |###############################| Time: 0:00:00 9.90 MB/s
r-class-7.3_14 100% |###############################| Time: 0:00:00 10.20 MB/s
r-matrix-1.2_7 100% |###############################| Time: 0:00:00 10.92 MB/s
r-nlme-3.1_128 100% |###############################| Time: 0:00:00 11.49 MB/s
r-mgcv-1.8_16- 100% |###############################| Time: 0:00:00 11.70 MB/s
r-survival-2.4 100% |###############################| Time: 0:00:00 11.20 MB/s
r-recommended- 100% |###############################| Time: 0:00:00 1.26 MB/s
r-3.3.2-r3.3.2 100% |###############################| Time: 0:00:00 1.17 MB/s
rpy2-2.8.5-py3 100% |###############################| Time: 0:00:00 11.14 MB/s
(First) C:\Users\Yao>deactivate First
C:\Users\Yao>activate gl-env
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\Scripts\conda-script.py", line 5, in <module>
sys.exit(conda.cli.main())
File "C:\ProgramData\Anaconda3\lib\site-packages\conda\cli\main.py", line 154,
in main
activate.main()
File "C:\ProgramData\Anaconda3\lib\site-packages\conda\cli\activate.py", line
160, in main
prefix = prefix_from_arg(sys.argv[3], shelldict=shelldict)
File "C:\ProgramData\Anaconda3\lib\site-packages\conda\cli\activate.py", line
60, in prefix_from_arg
prefix = locate_prefix_by_name(context, arg.replace('/', os.path.sep))
File "C:\ProgramData\Anaconda3\lib\site-packages\conda\base\context.py", line
538, in locate_prefix_by_name
raise CondaEnvironmentNotFoundError(name)
conda.exceptions.CondaEnvironmentNotFoundError: Could not find environment: gl-e
nv .
You can list all discoverable environments with `conda info --envs`.
C:\Users\Yao>source activate gl-env
'source' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Yao>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment