what is the process of installing and working with

2019-03-07 02:02发布

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 'pip' is not recognized as an internal or external command, operable program or batch file.

1条回答
女痞
2楼-- · 2019-03-07 02:59

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.

查看更多
登录 后发表回答