python命令pip在windows中安装枕头获取错误

python命令pip在windows中安装枕头获取错误,python,python-3.x,Python,Python 3.x,我假设您在x64位的Windows上有 解决方法如下: 如果您安装了32位版本的python:卸载它 安装64位 在安装过程中,选择将python添加到路径 下载64位版本的枕头: 运行安装文件 我假设您在x64位的Windows上有 解决方法如下: 如果您安装了32位版本的python:卸载它 安装64位 在安装过程中,选择将python添加到路径 下载64位版本的枕头: 运行安装文件 检查您的Pip版本,查看是否有最新版本可用 building 'PIL._imaging' extensio

我假设您在x64位的Windows上有

解决方法如下: 如果您安装了32位版本的python:卸载它 安装64位 在安装过程中,选择将python添加到路径 下载64位版本的枕头:
运行安装文件

我假设您在x64位的Windows上有

解决方法如下: 如果您安装了32位版本的python:卸载它 安装64位 在安装过程中,选择将python添加到路径 下载64位版本的枕头:
运行安装文件

检查您的Pip版本,查看是否有最新版本可用

building 'PIL._imaging' extension
  error: [WinError 2] The system cannot find the file specified

  ----------------------------------------
  Failed building wheel for Pillow
Failed to build Pillow
Installing collected packages: Pillow
  Running setup.py install for Pillow
    Complete output from command c:\users\anilkumar.vandrangi\desktop\aspire\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\ANILKU~1.VAN\\AppData\\Local\\Temp\\pip-build-tr4denzb\\Pil
low\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\ANILKU~1.VAN\AppData\Local\Temp\pip-7zffvlgz-record\in
stall-record.txt --single-version-externally-managed --compile:
    Single threaded build, not installing mp_compile: 4 processes
    running install
    running build
    running build_py
    running egg_info
    writing top-level names to Pillow.egg-info\top_level.txt
    writing Pillow.egg-info\PKG-INFO
    writing dependency_links to Pillow.egg-info\dependency_links.txt
    warning: manifest_maker: standard file '-c' not found

    reading manifest file 'Pillow.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'Pillow.egg-info\SOURCES.txt'
    running build_ext
    building 'PIL._imaging' extension
    error: [WinError 2] The system cannot find the file specified

    ----------------------------------------
Command "c:\users\anilkumar.vandrangi\desktop\aspire\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\ANILKU~1.VAN\\AppData\\Local\\Temp\\pip-build-tr4denzb\\Pillow\\setup.py';exec(comp
ile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\ANILKU~1.VAN\AppData\Local\Temp\pip-7zffvlgz-record\install-record.txt --singl
e-version-externally-managed --compile" failed with error code 1 in C:\Users\ANILKU~1.VAN\AppData\Local\Temp\pip-build-tr4denzb\Pillow
您可以使用python或python3,我使用python3是因为我在同一磁盘上有2.7和3.5

如果您的版本不是最新更新,请执行以下操作:

C:\ python3 -m pip install --version
然后现在再次尝试pip安装
Pillow

C:\ python3 -m pip install --upgrade pip

这一次,它必须正常工作。

检查您的Pip版本,看看是否有最新版本可用

building 'PIL._imaging' extension
  error: [WinError 2] The system cannot find the file specified

  ----------------------------------------
  Failed building wheel for Pillow
Failed to build Pillow
Installing collected packages: Pillow
  Running setup.py install for Pillow
    Complete output from command c:\users\anilkumar.vandrangi\desktop\aspire\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\ANILKU~1.VAN\\AppData\\Local\\Temp\\pip-build-tr4denzb\\Pil
low\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\ANILKU~1.VAN\AppData\Local\Temp\pip-7zffvlgz-record\in
stall-record.txt --single-version-externally-managed --compile:
    Single threaded build, not installing mp_compile: 4 processes
    running install
    running build
    running build_py
    running egg_info
    writing top-level names to Pillow.egg-info\top_level.txt
    writing Pillow.egg-info\PKG-INFO
    writing dependency_links to Pillow.egg-info\dependency_links.txt
    warning: manifest_maker: standard file '-c' not found

    reading manifest file 'Pillow.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'Pillow.egg-info\SOURCES.txt'
    running build_ext
    building 'PIL._imaging' extension
    error: [WinError 2] The system cannot find the file specified

    ----------------------------------------
Command "c:\users\anilkumar.vandrangi\desktop\aspire\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\ANILKU~1.VAN\\AppData\\Local\\Temp\\pip-build-tr4denzb\\Pillow\\setup.py';exec(comp
ile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\ANILKU~1.VAN\AppData\Local\Temp\pip-7zffvlgz-record\install-record.txt --singl
e-version-externally-managed --compile" failed with error code 1 in C:\Users\ANILKU~1.VAN\AppData\Local\Temp\pip-build-tr4denzb\Pillow
您可以使用python或python3,我使用python3是因为我在同一磁盘上有2.7和3.5

如果您的版本不是最新更新,请执行以下操作:

C:\ python3 -m pip install --version
然后现在再次尝试pip安装
Pillow

C:\ python3 -m pip install --upgrade pip

这一次,它必须正常工作。

出现此错误是因为您尝试安装的pillow版本与python版本不兼容


最后,尝试升级这两者

出现此错误是因为您尝试安装的枕头版本与python版本不兼容


最后,尝试升级这两者

您好,谢谢您的回复,但这不是解决我的问题。您好,谢谢您的回复,但这不是解决我的问题。