03 February 2020

How to install keras and matplotlib in Anaconda with tensorflow_env

- activate tensorflow_env
- conda install -c anaconda keras
- conda install -c conda-forge matplotlib

### KERAS
WARNING: The conda.compat module is deprecated and will be removed in a future release.
Collecting package metadata: done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 4.6.11
  latest version: 4.6.14

Please update conda by running

    $ conda update -n base -c defaults conda



## Package Plan ##

  environment location: C:\Anaconda3\envs\tensorflow_env

  added / updated specs:
    - keras


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    ca-certificates-2019.1.23  |                0         158 KB  anaconda
    certifi-2019.3.9           |           py37_0         155 KB  anaconda
    keras-2.2.4                |                0           5 KB  anaconda
    keras-base-2.2.4           |           py37_0         489 KB  anaconda
    ------------------------------------------------------------
                                           Total:         808 KB

The following NEW packages will be INSTALLED:

  keras              anaconda/win-64::keras-2.2.4-0
  keras-base         anaconda/win-64::keras-base-2.2.4-py37_0

The following packages will be UPDATED:

  openssl              pkgs/main::openssl-1.1.1b-he774522_1 --> anaconda::openssl-1.1.1-he774522_0

The following packages will be SUPERSEDED by a higher-priority channel:

  ca-certificates                                 pkgs/main --> anaconda
  certifi                                         pkgs/main --> anaconda


Proceed ([y]/n)? y


Downloading and Extracting Packages
certifi-2019.3.9     | 155 KB    | ############################################################################ | 100%
keras-2.2.4          | 5 KB      | ############################################################################ | 100%
keras-base-2.2.4     | 489 KB    | ############################################################################ | 100%
ca-certificates-2019 | 158 KB    | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done





### MATPLOTLIB
WARNING: The conda.compat module is deprecated and will be removed in a future release.
Collecting package metadata: done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 4.6.11
  latest version: 4.6.14

Please update conda by running

    $ conda update -n base -c defaults conda



## Package Plan ##

  environment location: C:\Anaconda3\envs\tensorflow_env

  added / updated specs:
    - matplotlib


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    ca-certificates-2019.3.9   |       hecc5488_0         184 KB  conda-forge
    certifi-2019.3.9           |           py37_0         149 KB  conda-forge
    cycler-0.10.0              |             py_1           8 KB  conda-forge
    kiwisolver-1.1.0           |   py37he980bc4_0          61 KB  conda-forge
    matplotlib-3.0.3           |           py37_1           6 KB  conda-forge
    matplotlib-base-3.0.3      |   py37h3e3dc42_1         6.6 MB  conda-forge
    openssl-1.1.1b             |       hfa6e2cd_2         4.8 MB  conda-forge
    ------------------------------------------------------------
                                           Total:        11.7 MB

The following NEW packages will be INSTALLED:

  cycler             conda-forge/noarch::cycler-0.10.0-py_1
  kiwisolver         conda-forge/win-64::kiwisolver-1.1.0-py37he980bc4_0
  matplotlib         conda-forge/win-64::matplotlib-3.0.3-py37_1
  matplotlib-base    conda-forge/win-64::matplotlib-base-3.0.3-py37h3e3dc42_1

The following packages will be UPDATED:

  ca-certificates     anaconda::ca-certificates-2019.1.23-0 --> conda-forge::ca-certificates-2019.3.9-hecc5488_0

The following packages will be SUPERSEDED by a higher-priority channel:

  certifi                                          anaconda --> conda-forge
  openssl                anaconda::openssl-1.1.1-he774522_0 --> conda-forge::openssl-1.1.1b-hfa6e2cd_2


Proceed ([y]/n)? y


Downloading and Extracting Packages
ca-certificates-2019 | 184 KB    | ############################################################################ | 100%
kiwisolver-1.1.0     | 61 KB     | ############################################################################ | 100%
openssl-1.1.1b       | 4.8 MB    | ############################################################################ | 100%
matplotlib-3.0.3     | 6 KB      | ############################################################################ | 100%
matplotlib-base-3.0. | 6.6 MB    | ############################################################################ | 100%
certifi-2019.3.9     | 149 KB    | ############################################################################ | 100%
cycler-0.10.0        | 8 KB      | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done


Share:

0 komentar:

Post a Comment

Blog Archive