ashutosh karna
ashutosh karna

Reputation: 35

PIL python package removes tensorflow from environment

I am using Tensorflow-gpu in a virtual environment running Python 3.6.8 and Tensorflow 1.13.

I am trying to install PIL using below : conda install -c anaconda pil

However, this removes tensorflow and keras installation and even corrupts the proxy settings as well. Below is the list of packages that it is trying to remove:

  1. grpcio-1.16.1-py37h351948d_1 keras-2.2.4-0
    keras-base-2.2.4-py37_0 mkl_random-1.0.2-py37h343c172_0
    tensorboard-1.13.1-py37h33f27b4_0
    tensorflow-1.13.1-gpu_py37h83e5d6a_0
    tensorflow-base-1.13.1-gpu_py37h871c8ca_0
    tensorflow-gpu-1.13.1-h0d30ee6_0

Upvotes: 0

Views: 707

Answers (1)

Clarence Leung
Clarence Leung

Reputation: 2566

PIL doesn't support Python 3, which is probably why it's trying to remove all of the libraries you have installed.

Use Pillow instead, which is the actively maintained fork of the original PIL library that does support it.

conda install -c anaconda pillow

Upvotes: 2

Related Questions