Skip to content

Instantly share code, notes, and snippets.

@Nov05
Last active August 5, 2019 18:50
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 Nov05/9cc616617be0f4da77440e4a0f971065 to your computer and use it in GitHub Desktop.
Save Nov05/9cc616617be0f4da77440e4a0f971065 to your computer and use it in GitHub Desktop.

2019-08-05
Anaconda Logs

Unit 3 Module 1 Python Packages and Environments
https://github.com/Nov05/DS-Unit-3-Sprint-1-Software-Engineering/tree/master/module1-python-modules-packages-and-environments

Managing Environments (Anaconda)
https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html

Windows 10, Anaconda Prompt

Conda Info

(base) C:\Users\*>conda info

     active environment : base
    active env location : C:\Users\*\Anaconda3
            shell level : 1
       user config file : C:\Users\*\.condarc
 populated config files : C:\Users\*\.condarc
          conda version : 4.7.10
    conda-build version : 3.18.8
         python version : 3.7.3.final.0
       virtual packages : __cuda=10.0
       base environment : C:\Users\*\Anaconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\*\Anaconda3\pkgs
                          C:\Users\*\.conda\pkgs
                          C:\Users\*\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\*\Anaconda3\envs
                          C:\Users\*\.conda\envs
                          C:\Users\*\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.7.10 requests/2.22.0 CPython/3.7.3 Windows/10 Windows/10.0.17763
          administrator : False
             netrc file : None
           offline mode : False

Create Anaconda Environment

(base) C:\Users\*>conda list anaconda
# packages in environment at C:\Users\*\Anaconda3:
#
# Name                    Version                   Build  Channel
anaconda                  2019.07                  py37_0
anaconda-client           1.7.2                    py37_0
anaconda-navigator        1.9.7                    py37_0
anaconda-project          0.8.3                      py_0

(base) C:\Users\*>conda create --name ds-unit3
Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: C:\Users\*\Anaconda3\envs\ds-unit3



Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate ds-unit3
#
# To deactivate an active environment, use
#
#     $ conda deactivate

Conda Install Packages

(base) C:\Users\*>conda activate ds-unit3

(ds-unit3) C:\Users\*>conda install numpy pandas matplotlib
Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: C:\Users\*\Anaconda3\envs\ds-unit3

  added / updated specs:
    - matplotlib
    - numpy
    - pandas


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    certifi-2019.6.16          |           py37_1         156 KB
    pandas-0.25.0              |   py37ha925a31_0         9.8 MB
    ------------------------------------------------------------
                                           Total:        10.0 MB

The following NEW packages will be INSTALLED:

  blas               pkgs/main/win-64::blas-1.0-mkl
  ca-certificates    pkgs/main/win-64::ca-certificates-2019.5.15-0
  certifi            pkgs/main/win-64::certifi-2019.6.16-py37_1
  cycler             pkgs/main/win-64::cycler-0.10.0-py37_0
  freetype           pkgs/main/win-64::freetype-2.9.1-ha9979f8_1
  icc_rt             pkgs/main/win-64::icc_rt-2019.0.0-h0cc432a_1
  icu                pkgs/main/win-64::icu-58.2-ha66f8fd_1
  intel-openmp       pkgs/main/win-64::intel-openmp-2019.4-245
  jpeg               pkgs/main/win-64::jpeg-9b-hb83a4c4_2
  kiwisolver         pkgs/main/win-64::kiwisolver-1.1.0-py37ha925a31_0
  libpng             pkgs/main/win-64::libpng-1.6.37-h2a8f88b_0
  matplotlib         pkgs/main/win-64::matplotlib-3.1.0-py37hc8f65d3_0
  mkl                pkgs/main/win-64::mkl-2019.4-245
  mkl_fft            pkgs/main/win-64::mkl_fft-1.0.12-py37h14836fe_0
  mkl_random         pkgs/main/win-64::mkl_random-1.0.2-py37h343c172_0
  numpy              pkgs/main/win-64::numpy-1.16.4-py37h19fb1c0_0
  numpy-base         pkgs/main/win-64::numpy-base-1.16.4-py37hc3f5095_0
  openssl            pkgs/main/win-64::openssl-1.1.1c-he774522_1
  pandas             pkgs/main/win-64::pandas-0.25.0-py37ha925a31_0
  pip                pkgs/main/win-64::pip-19.1.1-py37_0
  pyparsing          pkgs/main/noarch::pyparsing-2.4.0-py_0
  pyqt               pkgs/main/win-64::pyqt-5.9.2-py37h6538335_2
  python             pkgs/main/win-64::python-3.7.3-h8c8aaf0_1
  python-dateutil    pkgs/main/win-64::python-dateutil-2.8.0-py37_0
  pytz               pkgs/main/noarch::pytz-2019.1-py_0
  qt                 pkgs/main/win-64::qt-5.9.7-vc14h73c81de_0
  setuptools         pkgs/main/win-64::setuptools-41.0.1-py37_0
  sip                pkgs/main/win-64::sip-4.19.8-py37h6538335_0
  six                pkgs/main/win-64::six-1.12.0-py37_0
  sqlite             pkgs/main/win-64::sqlite-3.29.0-he774522_0
  tornado            pkgs/main/win-64::tornado-6.0.3-py37he774522_0
  vc                 pkgs/main/win-64::vc-14.1-h0510ff6_4
  vs2015_runtime     pkgs/main/win-64::vs2015_runtime-14.15.26706-h3a45250_4
  wheel              pkgs/main/win-64::wheel-0.33.4-py37_0
  wincertstore       pkgs/main/win-64::wincertstore-0.2-py37_0
  zlib               pkgs/main/win-64::zlib-1.2.11-h62dcd97_3


Proceed ([y]/n)? y


Downloading and Extracting Packages
pandas-0.25.0        | 9.8 MB    | ####################################################################################################### | 100%
certifi-2019.6.16    | 156 KB    | ####################################################################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

View the environment in Windows 10, Anaconda Navigator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment