what is the process of installing and working with PIL - Python Imaging Library ?

前端 未结 1 1043
闹比i
闹比i 2021-01-29 11:39

I tried installing PIL with pip it gives me this error:

C:\\Users\\AppData\\Local\\pip>pip install http://effbot.org/downloads/Imaging-1.1.6.tar.gz \'pi

1条回答
  •  粉色の甜心
    2021-01-29 12:33

    I've had these issues as well. There could be many reasons, one of these should fix:

    1. PIP not added to system PATH

    This being the most common issue and is easily missed by new users. check this for answers.

    2. When you're using a python IDE such as Anaconda but haven't actually installed python directly

    You can open the Anaconda Prompt (in the Anaconda file group in your start menu) and then use pip.

    3. You have installed python for only the installing user (mostly admin)

    Your system has multiple accounts and if you have installed using admin or similar account and missed 'install for all users', you'll need to open the CMD using 'Right click > Run as Administrator' option with a valid admin username/pwd.

    0 讨论(0)
提交回复
热议问题