安装python包spacy失败
回答
收藏

安装python包spacy失败

一杯空气
2023-10-10 14:22·浏览量:1760
一杯空气
发布于 2023-10-10 14:221760浏览
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/
Looking in links: e:\Program Files (x86)\ShadowBot\shadowbot-5.13.33\python\\whls
Collecting spacy
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/ca/16/843e55cfae62c0608c5caf939e1a080d6291487fcced65eab62da5a557d1/spacy-3.7.1.tar.gz (1.3 MB)
     ---------------------------------------- 1.3/1.3 MB 3.5 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: still running...
  Installing build dependencies: finished with status 'error'
  error: subprocess-exited-with-error
  
  pip subprocess to install build dependencies did not run successfully.
  exit code: 1
  
  [138 lines of output]
  Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/
  Looking in links: e:\Program Files (x86)\ShadowBot\shadowbot-5.13.33\python\\whls
  Ignoring numpy: markers 'python_version >= "3.9"' don't match your environment
  Collecting setuptools
    Downloading https://pypi.tuna.tsinghua.edu.cn/packages/c7/42/be1c7bbdd83e1bfb160c94b9cafd8e25efc7400346cf7ccdbdb452c467fa/setuptools-68.0.0-py3-none-any.whl (804 kB)
       -------------------------------------- 804.0/804.0 kB 3.6 MB/s eta 0:00:00
  Collecting cython<3.0,>=0.25
    Downloading https://pypi.tuna.tsinghua.edu.cn/packages/3f/d6/9eed523aeaca42acbaa3e6d3850edae780dc7f8da9df1bf6a2ceb851839c/Cython-0.29.36-py2.py3-none-any.whl (988 kB)
       -------------------------------------- 988.3/988.3 kB 3.5 MB/s eta 0:00:00
  Collecting cymem<2.1.0,>=2.0.2
    Downloading https://pypi.tuna.tsinghua.edu.cn/packages/36/32/f4a457fc6c160a9e72b15dab1ca14ca5c8869074638bca8bfc26120c04e9/cymem-2.0.8.tar.gz (9.8 kB)
    Installing build dependencies: started
    Installing build dependencies: finished with status 'done'
    Getting requirements to build wheel: started
    Getting requirements to build wheel: finished with status 'done'
    Installing backend dependencies: started
    Installing backend dependencies: finished with status 'done'
    Preparing metadata (pyproject.toml): started
    Preparing metadata (pyproject.toml): finished with status 'done'
  Collecting preshed<3.1.0,>=3.0.2
    Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f2/4e/76dbf784e7d4ed069f91a4c249b1d6ec6856ef0c0b2fd96992895d458b15/preshed-3.0.9.tar.gz (14 kB)
    Installing build dependencies: started
    Installing build dependencies: finished with status 'done'
    Getting requirements to build wheel: started
    Getting requirements to build wheel: finished with status 'done'
    Installing backend dependencies: started
    Installing backend dependencies: finished with status 'done'
    Preparing metadata (pyproject.toml): started
    Preparing metadata (pyproject.toml): finished with status 'done'
  Collecting murmurhash<1.1.0,>=0.28.0
    Using cached murmurhash-1.0.10-cp37-cp37m-win32.whl
  Collecting thinc<8.3.0,>=8.1.8
    Downloading https://pypi.tuna.tsinghua.edu.cn/packages/b2/c8/9641507cde8ef43ece2b0267f9c9d558c4d463e2d0a56aa4d11438687c3e/thinc-8.2.1.tar.gz (192 kB)
       -------------------------------------- 192.1/192.1 kB 2.9 MB/s eta 0:00:00
    Installing build dependencies: started
    Installing build dependencies: finished with status 'error'
    error: subprocess-exited-with-error
  
    pip subprocess to install build dependencies did not run successfully.
    exit code: 1
  
    [82 lines of output]
    Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/
    Looking in links: e:\Program Files (x86)\ShadowBot\shadowbot-5.13.33\python\\whls
    Ignoring numpy: markers 'python_version >= "3.9"' don't match your environment
    Collecting setuptools
      Using cached https://pypi.tuna.tsinghua.edu.cn/packages/c7/42/be1c7bbdd83e1bfb160c94b9cafd8e25efc7400346cf7ccdbdb452c467fa/setuptools-68.0.0-py3-none-any.whl (804 kB)
    Collecting cython<3.0,>=0.25
      Using cached https://pypi.tuna.tsinghua.edu.cn/packages/3f/d6/9eed523aeaca42acbaa3e6d3850edae780dc7f8da9df1bf6a2ceb851839c/Cython-0.29.36-py2.py3-none-any.whl (988 kB)
    Collecting murmurhash<1.1.0,>=1.0.2
      Using cached murmurhash-1.0.10-cp37-cp37m-win32.whl
    Collecting cymem<2.1.0,>=2.0.2
      Using cached cymem-2.0.8-cp37-cp37m-win32.whl
    Collecting preshed<3.1.0,>=3.0.2
      Using cached https://pypi.tuna.tsinghua.edu.cn/packages/f2/4e/76dbf784e7d4ed069f91a4c249b1d6ec6856ef0c0b2fd96992895d458b15/preshed-3.0.9.tar.gz (14 kB)
      Installing build dependencies: started
      Installing build dependencies: finished with status 'done'
      Getting requirements to build wheel: started
      Getting requirements to build wheel: finished with status 'done'
      Installing backend dependencies: started
      Installing backend dependencies: finished with status 'done'
      Preparing metadata (pyproject.toml): started
      Preparing metadata (pyproject.toml): finished with status 'done'
    Collecting blis<0.8.0,>=0.7.8
      Downloading https://pypi.tuna.tsinghua.edu.cn/packages/51/8c/60c85350f2e1c9647df580083a0f6acc686ef32d1a91f4ab0c624b3ff867/blis-0.7.11.tar.gz (2.9 MB)
         ---------------------------------------- 2.9/2.9 MB 3.3 MB/s eta 0:00:00
      Installing build dependencies: started
      Installing build dependencies: finished with status 'done'
      Getting requirements to build wheel: started
      Getting requirements to build wheel: finished with status 'done'
      Installing backend dependencies: started
      Installing backend dependencies: finished with status 'done'
      Preparing metadata (pyproject.toml): started
      Preparing metadata (pyproject.toml): finished with status 'done'
    Collecting numpy>=1.15.0
      Using cached https://pypi.tuna.tsinghua.edu.cn/packages/cd/eb/f6f3258e7b0e0cc5c327778312bf4ee4978c8514aa28e97119ee206f6e60/numpy-1.21.6-cp37-cp37m-win32.whl (11.7 MB)
    Building wheels for collected packages: preshed, blis
      Building wheel for preshed (pyproject.toml): started
      Building wheel for preshed (pyproject.toml): finished with status 'done'
      Created wheel for preshed: filename=preshed-3.0.9-cp37-cp37m-win32.whl size=109990 sha256=4428c4d0d1529f79e9aa8c0fd1e51e6f4dbb3cae9aa3ed3b7ea4cecc49b0ef20
      Stored in directory: c:\users\xxx\appdata\local\pip\cache\wheels\e1\ed\a7\26ac5509fcb88f7077df0773ba29943b50695283f78b035d74
      Building wheel for blis (pyproject.toml): started
      Building wheel for blis (pyproject.toml): finished with status 'error'
      error: subprocess-exited-with-error
  
      Building wheel for blis (pyproject.toml) did not run successfully.
      exit code: 1
  
      [25 lines of output]
      BLIS_COMPILER? None
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win32-cpython-37
      creating build\lib.win32-cpython-37\blis
      copying blis\about.py -> build\lib.win32-cpython-37\blis
      copying blis\benchmark.py -> build\lib.win32-cpython-37\blis
      copying blis\__init__.py -> build\lib.win32-cpython-37\blis
      creating build\lib.win32-cpython-37\blis\tests
      copying blis\tests\common.py -> build\lib.win32-cpython-37\blis\tests
      copying blis\tests\test_dotv.py -> build\lib.win32-cpython-37\blis\tests
      copying blis\tests\test_gemm.py -> build\lib.win32-cpython-37\blis\tests
      copying blis\tests\__init__.py -> build\lib.win32-cpython-37\blis\tests
      copying blis\cy.pyx -> build\lib.win32-cpython-37\blis
      copying blis\py.pyx -> build\lib.win32-cpython-37\blis
      copying blis\cy.pxd -> build\lib.win32-cpython-37\blis
      copying blis\__init__.pxd -> build\lib.win32-cpython-37\blis
      running build_ext
      Build options win32 msvc
      BUILD ARCH: x86_64
 error: [WinError 2] ϵͳ�Ҳ���ָ�����ļ���
      [end of output]
  
      note: This error originates from a subprocess, and is likely not a problem with pip.
      ERROR: Failed building wheel for blis
    Successfully built preshed
    Failed to build blis
    ERROR: Could not build wheels for blis, which is required to install pyproject.toml-based projects
  
    [notice] A new release of pip is available: 23.1.2 -> 23.2.1
    [notice] To update, run: C:\Users\xxx\AppData\Local\ShadowBot\users\119638326858039297\apps\f50b1780-353a-4a1f-999d-285dce042325\venv\Scripts\python.exe -m pip install --upgrade pip
    [end of output]
  
    note: This error originates from a subprocess, and is likely not a problem with pip.
  error: subprocess-exited-with-error
  
  pip subprocess to install build dependencies did not run successfully.
  exit code: 1
  
  See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  
  [notice] A new release of pip is available: 23.1.2 -> 23.2.1
  [notice] To update, run: C:\Users\xxx\AppData\Local\ShadowBot\users\119638326858039297\apps\f50b1780-353a-4a1f-999d-285dce042325\venv\Scripts\python.exe -m pip install --upgrade pip
  [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
pip subprocess to install build dependencies did not run successfully.
exit code: 1
See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.

以上是报错信息,我本地安装无问题,尝试切换指定镜像和最新pip无用。

收藏1
全部回答1
最新
发布回答
回答