1905-conda-operation
**** 1905-conda-operation
- [ ] FIXME Add articles for configuring requirements.txt
*** overview
- logged operations of conda.
*** reference
*** logs
** execute Anaconda Prompt
- win-key
- input
anaconda prompt
- operate console below:
(base) C:\Users\sakai>onme (base) C:\Users\sakai>cd g:\workspace\py (base) C:\Users\sakai>g: (base) g:\workspace\py>dir Volume in drive G is Users Volume Serial Number is 04A1-7D2F Directory of g:\workspace\py 04/03/2019 06:37 PM <DIR> . 04/03/2019 06:37 PM <DIR> .. 04/01/2019 07:07 PM <DIR> 1904-dso 0 File(s) 0 bytes 3 Dir(s) 43,630,772,224 bytes free (base) g:\workspace\py>conda info -e # conda environments: # base * G:\Anaconda3 django G:\Anaconda3\envs\django drf G:\Anaconda3\envs\drf env G:\Anaconda3\envs\env jup G:\Anaconda3\envs\jup ml G:\Anaconda3\envs\ml (base) g:\workspace\py>
** activate jupyter environment and make workspace
(base) g:\workspace\py>conda activate jup (jup) g:\workspace\py>mkdir pandas-1904 (jup) g:\workspace\py>cd pandas-1904 (jup) g:\workspace\py\pandas-1904>pip freeze backcall==0.1.0 bleach==3.0.2 certifi==2018.11.29 colorama==0.4.0 cycler==0.10.0 decorator==4.3.0 entrypoints==0.2.3 ipykernel==5.1.0 ipython==7.2.0 ipython-genutils==0.2.0 ipywidgets==7.4.2 jedi==0.13.1 Jinja2==2.10 jsonschema==2.6.0 jupyter==1.0.0 jupyter-client==5.2.3 jupyter-console==6.0.0 jupyter-core==4.4.0 kiwisolver==1.0.1 MarkupSafe==1.1.0 matplotlib==3.0.2 mistune==0.8.4 nbconvert==5.3.1 nbformat==4.4.0 notebook==5.7.2 numpy==1.15.4 pandas==0.23.4 pandocfilters==1.4.2 parso==0.3.1 pickleshare==0.7.5 prometheus-client==0.4.2 prompt-toolkit==2.0.7 Pygments==2.2.0 pyparsing==2.3.0 python-dateutil==2.7.5 pytz==2018.7 pywinpty==0.5.4 pyzmq==17.1.2 qtconsole==4.4.3 scikit-learn==0.20.2 scipy==1.1.0 seaborn==0.9.0 Send2Trash==1.5.0 six==1.12.0 sklearn==0.0 terminado==0.8.1 testpath==0.4.2 tornado==5.1.1 traitlets==4.3.2 wcwidth==0.1.7 webencodings==0.5.1 widgetsnbextension==3.4.2 wincertstore==0.2 xlrd==1.2.0 (jup) g:\workspace\py\pandas-1904>pip freeze | grep numpy numpy==1.15.4 (jup) g:\workspace\py\pandas-1904>pip freeze | grep pandas pandas==0.23.4 (jup) g:\workspace\py\pandas-1904>pip freeze | grep matplotlib matplotlib==3.0.2
** execute jupyter notebook
(jup) g:\workspace\py\pandas-1904>jupyter notebook [I 19:34:58.445 NotebookApp] Serving notebooks from local directory: g:\workspace\py\pandas-1904 [I 19:34:58.445 NotebookApp] The Jupyter Notebook is running at: [I 19:34:58.446 NotebookApp] http://localhost:8888/?token=709c0e9e38b864cef2716a71c473cdc3e4e020ed7729d0ab [I 19:34:58.449 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 19:34:58.715 NotebookApp] Copy/paste this URL into your browser when you connect for the first time, to login with a token: http://localhost:8888/?token=709c0e9e38b864cef2716a71c473cdc3e4e020ed7729d0ab [I 19:34:59.083 NotebookApp] Accepting one-time-token-authenticated connection from ::1
** deactivate
(jup) g:\workspace\py>deactivate (base) g:\workspace\py>
** remove --all
(base) g:\workspace\py>conda remove -n jup --all Remove all packages in environment G:\Anaconda3\envs\jup: ## Package Plan ## environment location: G:\Anaconda3\envs\jup The following packages will be REMOVED: backcall: 0.1.0-py37_0 bleach: 3.0.2-py37_0 ca-certificates: 2018.03.07-0 certifi: 2018.11.29-py37_0 colorama: 0.4.0-py37_0 decorator: 4.3.0-py37_0 entrypoints: 0.2.3-py37_2 icu: 58.2-ha66f8fd_1 ipykernel: 5.1.0-py37h39e3cac_0 ipython: 7.2.0-py37h39e3cac_0 ipython_genutils: 0.2.0-py37_0 ipywidgets: 7.4.2-py37_0 jedi: 0.13.1-py37_0 jinja2: 2.10-py37_0 jpeg: 9b-hb83a4c4_2 jsonschema: 2.6.0-py37_0 jupyter: 1.0.0-py37_7 jupyter_client: 5.2.3-py37_0 jupyter_console: 6.0.0-py37_0 jupyter_core: 4.4.0-py37_0 libpng: 1.6.35-h2a8f88b_0 libsodium: 1.0.16-h9d3ae62_0 m2w64-gcc-libgfortran: 5.3.0-6 m2w64-gcc-libs: 5.3.0-7 m2w64-gcc-libs-core: 5.3.0-7 m2w64-gmp: 6.1.0-2 m2w64-libwinpthread-git: 5.0.0.4634.697f757-2 markupsafe: 1.1.0-py37he774522_0 mistune: 0.8.4-py37he774522_0 msys2-conda-epoch: 20160418-1 nbconvert: 5.3.1-py37_0 nbformat: 4.4.0-py37_0 notebook: 5.7.2-py37_1 openssl: 1.1.1a-he774522_0 pandoc: 2.2.3.2-0 pandocfilters: 1.4.2-py37_1 parso: 0.3.1-py37_0 pickleshare: 0.7.5-py37_0 pip: 18.1-py37_0 prometheus_client: 0.4.2-py37_0 prompt_toolkit: 2.0.7-py37_0 pygments: 2.2.0-py37_0 pyqt: 5.9.2-py37h6538335_2 python: 3.7.1-h8c8aaf0_6 python-dateutil: 2.7.5-py37_0 pywinpty: 0.5.4-py37_0 pyzmq: 17.1.2-py37hfa6e2cd_0 qt: 5.9.7-vc14h73c81de_0 qtconsole: 4.4.3-py37_0 send2trash: 1.5.0-py37_0 setuptools: 40.6.2-py37_0 sip: 4.19.8-py37h6538335_0 six: 1.12.0-py37_0 sqlite: 3.25.3-he774522_0 terminado: 0.8.1-py37_1 testpath: 0.4.2-py37_0 tornado: 5.1.1-py37hfa6e2cd_0 traitlets: 4.3.2-py37_0 vc: 14.1-h0510ff6_4 vs2015_runtime: 14.15.26706-h3a45250_0 wcwidth: 0.1.7-py37_0 webencodings: 0.5.1-py37_1 wheel: 0.32.3-py37_0 widgetsnbextension: 3.4.2-py37_0 wincertstore: 0.2-py37_0 winpty: 0.4.3-4 zeromq: 4.2.5-he025d50_1 zlib: 1.2.11-h62dcd97_3 Proceed ([y]/n)? y (base) g:\workspace\py>conda info -e # conda environments: # base * G:\Anaconda3 django G:\Anaconda3\envs\django drf G:\Anaconda3\envs\drf env G:\Anaconda3\envs\env ml G:\Anaconda3\envs\ml (base) g:\workspace\py>
** create environment
(base) g:\workspace\py>conda create -n jup Solving environment: done ==> WARNING: A newer version of conda exists. <== current version: 4.5.11 latest version: 4.6.9 Please update conda by running $ conda update -n base -c defaults conda ## Package Plan ## environment location: G:\Anaconda3\envs\jup Proceed ([y]/n)? y Preparing transaction: done Verifying transaction: done Executing transaction: done # # To activate this environment, use # # $ conda activate jup # # To deactivate an active environment, use # # $ conda deactivate (base) g:\workspace\py> (base) g:\workspace\py>conda activate jup (jup) g:\workspace\py>pip freeze alabaster==0.7.11 anaconda-client==1.7.2 anaconda-navigator==1.9.2 anaconda-project==0.8.2 appdirs==1.4.3 asn1crypto==0.24.0 astroid==2.0.4 astropy==3.0.4 atomicwrites==1.2.1 attrs==18.2.0 Automat==0.7.0 Babel==2.6.0 backcall==0.1.0 backports.shutil-get-terminal-size==1.0.0 beautifulsoup4==4.6.3 bitarray==0.8.3 bkcharts==0.2 blaze==0.11.3 bleach==2.1.4 bokeh==0.13.0 boto==2.49.0 Bottleneck==1.2.1 Cerberus==1.2 certifi==2018.11.29 cffi==1.11.5 chardet==3.0.4 click==6.7 cloudpickle==0.5.5 clyent==1.2.2 colorama==0.3.9 comtypes==1.1.7 conda==4.5.11 conda-build==3.15.1 constantly==15.1.0 contextlib2==0.5.5 cryptography==2.3.1 cycler==0.10.0 Cython==0.28.5 cytoolz==0.9.0.1 dask==0.19.1 datashape==0.5.4 decorator==4.3.0 defusedxml==0.5.0 distributed==1.23.1 Django==2.1 djangorestframework==3.8.2 docopt==0.6.2 docutils==0.14 elasticsearch==6.3.0 entrypoints==0.2.3 et-xmlfile==1.0.1 fastcache==1.0.2 filelock==3.0.8 Flask==1.0.2 Flask-Cors==3.0.6 gevent==1.3.6 glob2==0.6 greenlet==0.4.15 gunicorn==19.9.0 h5py==2.8.0 heapdict==1.0.0 html5lib==1.0.1 hyperlink==18.0.0 idna==2.7 imageio==2.4.1 imagesize==1.1.0 incremental==17.5.0 ipykernel==4.10.0 ipython==6.5.0 ipython-genutils==0.2.0 ipywidgets==7.4.1 isort==4.3.4 itsdangerous==0.24 jdcal==1.4 jedi==0.12.1 Jinja2==2.10 jsonschema==2.6.0 jupyter==1.0.0 jupyter-client==5.2.3 jupyter-console==5.2.0 jupyter-core==4.4.0 jupyterlab==0.34.9 jupyterlab-launcher==0.13.1 keyring==13.2.1 kiwisolver==1.0.1 lazy-object-proxy==1.3.1 llvmlite==0.24.0 locket==0.2.0 lxml==4.2.5 MarkupSafe==1.0 matplotlib==2.2.3 mccabe==0.6.1 menuinst==1.4.14 mistune==0.8.3 mkl-fft==1.0.4 mkl-random==1.0.1 more-itertools==4.3.0 mpmath==1.0.0 msgpack==0.5.6 multipledispatch==0.6.0 mysql-connector-python==8.0.13 navigator-updater==0.2.1 nbconvert==5.4.0 nbformat==4.4.0 networkx==2.1 nltk==3.3 nose==1.3.7 notebook==5.6.0 numba==0.39.0 numexpr==2.6.8 numpy==1.15.1 numpydoc==0.8.0 odo==0.5.1 olefile==0.46 openpyxl==2.5.6 packaging==17.1 pandas==0.23.4 pandocfilters==1.4.2 parso==0.3.1 partd==0.3.8 path.py==11.1.0 pathlib2==2.3.2 patsy==0.5.0 Paver==1.3.4 pbr==4.1.0 pep8==1.7.1 pickleshare==0.7.4 Pillow==5.2.0 pkginfo==1.4.2 pluggy==0.7.1 ply==3.11 prometheus-client==0.3.1 prompt-toolkit==1.0.15 psutil==5.4.7 py==1.6.0 pyasn1==0.4.4 pyasn1-modules==0.2.2 pycodestyle==2.4.0 pycosat==0.6.3 pycparser==2.18 pycrypto==2.6.1 pycurl==7.43.0.2 pyflakes==2.0.0 Pygments==2.2.0 pylint==2.1.1 pyodbc==4.0.24 pyOpenSSL==18.0.0 pyparsing==2.2.0 PySocks==1.6.8 pytest==3.8.0 pytest-arraydiff==0.2 pytest-astropy==0.4.0 pytest-doctestplus==0.1.3 pytest-openfiles==0.3.0 pytest-remotedata==0.3.0 python-dateutil==2.7.3 pytz==2018.5 PyWavelets==1.0.0 pywin32==223 pywinpty==0.5.4 PyYAML==3.13 pyzmq==17.1.2 QtAwesome==0.4.4 qtconsole==4.4.1 QtPy==1.5.0 requests==2.19.1 rope==0.11.0 ruamel-yaml==0.15.46 scikit-image==0.14.0 scikit-learn==0.19.2 scipy==1.1.0 seaborn==0.9.0 Send2Trash==1.5.0 service-identity==17.0.0 simplegeneric==0.8.1 singledispatch==3.4.0.3 six==1.11.0 snowballstemmer==1.2.1 sortedcollections==1.0.1 sortedcontainers==2.0.5 Sphinx==1.7.9 sphinxcontrib-websupport==1.1.0 spyder==3.3.1 spyder-kernels==0.2.6 SQLAlchemy==1.2.11 statsmodels==0.9.0 stevedore==1.28.0 sympy==1.1.1 tables==3.4.4 tblib==1.3.2 terminado==0.8.1 testpath==0.3.1 toolz==0.9.0 tornado==5.1 tqdm==4.26.0 traitlets==4.3.2 Twisted==18.7.0 unicodecsv==0.14.1 urllib3==1.23 virtualenv==16.0.0 virtualenv-clone==0.3.0 virtualenvwrapper==4.8.2 wcwidth==0.1.7 webencodings==0.5.1 Werkzeug==0.14.1 widgetsnbextension==3.4.1 win-inet-pton==1.0.1 win-unicode-console==0.5 wincertstore==0.2 wrapt==1.10.11 xlrd==1.1.0 XlsxWriter==1.1.0 xlwings==0.11.8 xlwt==1.3.0 zict==0.1.3 zope.interface==4.5.0 (jup) g:\workspace\py> (jup) g:\workspace\py>pip freeze | grep numpy numpy==1.15.1 numpydoc==0.8.0 (jup) g:\workspace\py>pip freeze | grep pandas pandas==0.23.4 (jup) g:\workspace\py>pip freeze | grep matplotlib matplotlib==2.2.3
// --- end of markdown --- //