安装allennlp(v2.10)失败,从spacy安装就开始失败

从spacy安装就开始失败,还说缺少longintrepr.h头文件
即使对应文件夹加入这个longintrepr.h头文件,也会报其它错误

问题原因:allennlp不支持Windows,所以Windows安装会有问题
所以趁早放弃在Windows上安装allennlp吧,不要浪费时间了

出现的报错信息:

(base) PS D:\Users\admin\Desktop\Code\HNetGO-master> pip install allennlp
Defaulting to user installation because normal site-packages is not writeable
Collecting allennlp
  Using cached allennlp-2.10.1-py3-none-any.whl.metadata (21 kB)
INFO: pip is looking at multiple versions of allennlp to determine which version is compatible with other requirements. This could take a while.
  Using cached allennlp-2.10.0-py3-none-any.whl.metadata (20 kB)
  Using cached allennlp-2.9.3-py3-none-any.whl.metadata (19 kB)
  Using cached allennlp-2.9.2-py3-none-any.whl.metadata (19 kB)
  Using cached allennlp-2.9.1-py3-none-any.whl.metadata (19 kB)
  Using cached allennlp-2.9.0-py3-none-any.whl.metadata (18 kB)
  Using cached allennlp-2.8.0-py3-none-any.whl.metadata (17 kB)
  Using cached allennlp-2.7.0-py3-none-any.whl.metadata (17 kB)
INFO: pip is still looking at multiple versions of allennlp to determine which version is compatible with other requirements. This could take a while.
  Using cached allennlp-2.6.0-py3-none-any.whl.metadata (17 kB)
  Using cached allennlp-2.5.0-py3-none-any.whl.metadata (17 kB)
  Using cached allennlp-2.4.0-py3-none-any.whl.metadata (17 kB)
  Using cached allennlp-2.3.1-py3-none-any.whl.metadata (17 kB)
  Using cached allennlp-2.3.0-py3-none-any.whl.metadata (17 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
  Using cached allennlp-2.2.0-py3-none-any.whl.metadata (17 kB)
  Using cached allennlp-2.1.0-py3-none-any.whl.metadata (17 kB)
  Using cached allennlp-2.0.1-py3-none-any.whl.metadata (15 kB)
  Using cached allennlp-2.0.0-py3-none-any.whl.metadata (15 kB)
  Using cached allennlp-1.5.0-py3-none-any.whl.metadata (15 kB)
  Using cached allennlp-1.4.1-py3-none-any.whl.metadata (15 kB)
  Using cached allennlp-1.4.0-py3-none-any.whl.metadata (15 kB)
  Using cached allennlp-1.3.0-py3-none-any.whl.metadata (15 kB)
  Using cached allennlp-1.2.2-py3-none-any.whl.metadata (15 kB)
  Using cached allennlp-1.2.1-py3-none-any.whl.metadata (14 kB)
  Using cached allennlp-1.2.0-py3-none-any.whl.metadata (13 kB)
  Using cached allennlp-1.1.0-py3-none-any.whl.metadata (13 kB)
  Using cached allennlp-1.0.0-py3-none-any.whl.metadata (11 kB)
  Using cached allennlp-0.9.0-py3-none-any.whl.metadata (11 kB)
Requirement already satisfied: torch>=1.2.0 in c:\users\admin\appdata\roaming\python\python311\site-packages (from allennlp) (2.2.2)
Collecting overrides (from allennlp)
  Using cached overrides-7.7.0-py3-none-any.whl.metadata (5.8 kB)
Requirement already satisfied: nltk in c:\users\admin\appdata\roaming\python\python311\site-packages (from allennlp) (3.8.1)
Collecting spacy<2.2,>=2.1.0 (from allennlp)
  Using cached spacy-2.1.9.tar.gz (30.7 MB)
  Installing build dependencies ... error
  error: subprocess-exited-with-error

  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [342 lines of output]
      Collecting setuptools
        Using cached setuptools-70.3.0-py3-none-any.whl.metadata (5.8 kB)
      Collecting wheel<0.33.0,>0.32.0
        Using cached wheel-0.32.3-py2.py3-none-any.whl.metadata (2.1 kB)
      Collecting Cython
        Using cached Cython-3.0.10-cp311-cp311-win_amd64.whl.metadata (3.2 kB)
      Collecting cymem<2.1.0,>=2.0.2
        Using cached cymem-2.0.8-cp311-cp311-win_amd64.whl.metadata (8.6 kB)
      Collecting preshed<2.1.0,>=2.0.1
        Using cached preshed-2.0.1.tar.gz (113 kB)
        Preparing metadata (setup.py): started
        Preparing metadata (setup.py): finished with status 'done'
      Collecting murmurhash<1.1.0,>=0.28.0
        Using cached murmurhash-1.0.10-cp311-cp311-win_amd64.whl.metadata (2.0 kB)
      Collecting thinc<7.1.0,>=7.0.8
        Using cached thinc-7.0.8.tar.gz (1.9 MB)
        Preparing metadata (setup.py): started
        Preparing metadata (setup.py): finished with status 'done'
      Collecting blis<0.3.0,>=0.2.1 (from thinc<7.1.0,>=7.0.8)
        Using cached blis-0.2.4.tar.gz (1.5 MB)
        Preparing metadata (setup.py): started
        Preparing metadata (setup.py): finished with status 'done'
      Collecting wasabi<1.1.0,>=0.0.9 (from thinc<7.1.0,>=7.0.8)
        Using cached wasabi-0.10.1-py3-none-any.whl.metadata (28 kB)
      Collecting srsly<1.1.0,>=0.0.6 (from thinc<7.1.0,>=7.0.8)
        Using cached srsly-1.0.7-cp311-cp311-win_amd64.whl.metadata (14 kB)
      Collecting numpy>=1.7.0 (from thinc<7.1.0,>=7.0.8)
        Using cached numpy-2.0.0-cp311-cp311-win_amd64.whl.metadata (60 kB)
      Collecting plac<1.0.0,>=0.9.6 (from thinc<7.1.0,>=7.0.8)
        Using cached plac-0.9.6-py2.py3-none-any.whl.metadata (1.5 kB)
      Collecting tqdm<5.0.0,>=4.10.0 (from thinc<7.1.0,>=7.0.8)
        Using cached tqdm-4.66.4-py3-none-any.whl.metadata (57 kB)
      Collecting colorama (from tqdm<5.0.0,>=4.10.0->thinc<7.1.0,>=7.0.8)
        Using cached colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)
      Using cached setuptools-70.3.0-py3-none-any.whl (931 kB)
      Using cached wheel-0.32.3-py2.py3-none-any.whl (21 kB)
      Using cached Cython-3.0.10-cp311-cp311-win_amd64.whl (2.8 MB)
      Using cached cymem-2.0.8-cp311-cp311-win_amd64.whl (39 kB)
      Using cached murmurhash-1.0.10-cp311-cp311-win_amd64.whl (25 kB)
      Using cached numpy-2.0.0-cp311-cp311-win_amd64.whl (16.5 MB)
      Using cached plac-0.9.6-py2.py3-none-any.whl (20 kB)
      Using cached srsly-1.0.7-cp311-cp311-win_amd64.whl (354 kB)
      Using cached tqdm-4.66.4-py3-none-any.whl (78 kB)
      Using cached wasabi-0.10.1-py3-none-any.whl (26 kB)
      Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
      Building wheels for collected packages: preshed, thinc, blis
        Building wheel for preshed (setup.py): started
        Building wheel for preshed (setup.py): finished with status 'error'
        error: subprocess-exited-with-error

        python setup.py bdist_wheel did not run successfully.
        exit code: 1

        [37 lines of output]
        D:\ProgramData\miniconda3\Lib\site-packages\setuptools\__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
        !!

                ********************************************************************************
                Requirements should be satisfied by a PEP 517 installer.
                If you are using pip, you can try `pip install --use-pep517`.
                ********************************************************************************

        !!
          dist.fetch_build_eggs(dist.setup_requires)
        running bdist_wheel
        running build
        running build_py
        creating build
        creating build\lib.win-amd64-cpython-311
        creating build\lib.win-amd64-cpython-311\preshed
        copying preshed\about.py -> build\lib.win-amd64-cpython-311\preshed
        copying preshed\__init__.py -> build\lib.win-amd64-cpython-311\preshed
        creating build\lib.win-amd64-cpython-311\preshed\tests
        copying preshed\tests\test_counter.py -> build\lib.win-amd64-cpython-311\preshed\tests
        copying preshed\tests\test_hashing.py -> build\lib.win-amd64-cpython-311\preshed\tests
        copying preshed\tests\test_pop.py -> build\lib.win-amd64-cpython-311\preshed\tests
        copying preshed\tests\__init__.py -> build\lib.win-amd64-cpython-311\preshed\tests
        copying preshed\counter.pyx -> build\lib.win-amd64-cpython-311\preshed
        copying preshed\maps.pyx -> build\lib.win-amd64-cpython-311\preshed
        copying preshed\counter.pxd -> build\lib.win-amd64-cpython-311\preshed
        copying preshed\maps.pxd -> build\lib.win-amd64-cpython-311\preshed
        copying preshed\__init__.pxd -> build\lib.win-amd64-cpython-311\preshed
        running build_ext
        building 'preshed.maps' extension
        creating build\temp.win-amd64-cpython-311
        creating build\temp.win-amd64-cpython-311\Release
        creating build\temp.win-amd64-cpython-311\Release\preshed
        "D:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.40.33807\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -ID:\ProgramData\miniconda3\include -ID:\ProgramData\miniconda3\include -ID:\ProgramData\miniconda3\Include "-ID:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.40.33807\include" "-ID:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" /EHsc /Tppreshed/maps.cpp /Fobuild\temp.win-amd64-cpython-311\Release\preshed/maps.obj /Ox /EHsc
        maps.cpp
        preshed/maps.cpp(181): fatal error C1083: 无法打开包括文件: “longintrepr.h”: No such file or directory
        error: command 'D:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.40.33807\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
        [end of output]

        note: This error originates from a subprocess, and is likely not a problem with pip.
        ERROR: Failed building wheel for preshed
        Running setup.py clean for preshed
        Building wheel for thinc (setup.py): started
        Building wheel for thinc (setup.py): finished with status 'error'
        error: subprocess-exited-with-error

        python setup.py bdist_wheel did not run successfully.
        exit code: 1

        [183 lines of output]
        D:\ProgramData\miniconda3\Lib\site-packages\setuptools\__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
        !!

                ********************************************************************************
                Requirements should be satisfied by a PEP 517 installer.
                If you are using pip, you can try `pip install --use-pep517`.
                ********************************************************************************

        !!
          dist.fetch_build_eggs(dist.setup_requires)
        running bdist_wheel
        running build
        running build_py
        creating build
        creating build\lib.win-amd64-cpython-311
        creating build\lib.win-amd64-cpython-311\thinc
        copying thinc\about.py -> build\lib.win-amd64-cpython-311\thinc
        copying thinc\api.py -> build\lib.win-amd64-cpython-311\thinc
        copying thinc\check.py -> build\lib.win-amd64-cpython-311\thinc
        copying thinc\compat.py -> build\lib.win-amd64-cpython-311\thinc
        copying thinc\describe.py -> build\lib.win-amd64-cpython-311\thinc
        copying thinc\exceptions.py -> build\lib.win-amd64-cpython-311\thinc
        copying thinc\i2v.py -> build\lib.win-amd64-cpython-311\thinc
        copying thinc\loss.py -> build\lib.win-amd64-cpython-311\thinc
        copying thinc\misc.py -> build\lib.win-amd64-cpython-311\thinc
        copying thinc\rates.py -> build\lib.win-amd64-cpython-311\thinc
        copying thinc\t2t.py -> build\lib.win-amd64-cpython-311\thinc
        copying thinc\t2v.py -> build\lib.win-amd64-cpython-311\thinc
        copying thinc\v2v.py -> build\lib.win-amd64-cpython-311\thinc
        copying thinc\__init__.py -> build\lib.win-amd64-cpython-311\thinc
        creating build\lib.win-amd64-cpython-311\thinc\tests
        copying thinc\tests\conftest.py -> build\lib.win-amd64-cpython-311\thinc\tests
        copying thinc\tests\strategies.py -> build\lib.win-amd64-cpython-311\thinc\tests
        copying thinc\tests\test_api_funcs.py -> build\lib.win-amd64-cpython-311\thinc\tests
        copying thinc\tests\test_util.py -> build\lib.win-amd64-cpython-311\thinc\tests
        copying thinc\tests\util.py -> build\lib.win-amd64-cpython-311\thinc\tests
        copying thinc\tests\__init__.py -> build\lib.win-amd64-cpython-311\thinc\tests
        creating build\lib.win-amd64-cpython-311\thinc\tests\unit
        copying thinc\tests\unit\test_about.py -> build\lib.win-amd64-cpython-311\thinc\tests\unit
        copying thinc\tests\unit\test_affine.py -> build\lib.win-amd64-cpython-311\thinc\tests\unit
        copying thinc\tests\unit\test_beam_search.py -> build\lib.win-amd64-cpython-311\thinc\tests\unit
        copying thinc\tests\unit\test_check_exceptions.py -> build\lib.win-amd64-cpython-311\thinc\tests\unit
        copying thinc\tests\unit\test_difference.py -> build\lib.win-amd64-cpython-311\thinc\tests\unit
        copying thinc\tests\unit\test_feature_extracter.py -> build\lib.win-amd64-cpython-311\thinc\tests\unit
        copying thinc\tests\unit\test_hash_embed.py -> build\lib.win-amd64-cpython-311\thinc\tests\unit
        copying thinc\tests\unit\test_imports.py -> build\lib.win-amd64-cpython-311\thinc\tests\unit
        copying thinc\tests\unit\test_linear.py -> build\lib.win-amd64-cpython-311\thinc\tests\unit
        copying thinc\tests\unit\test_loss.py -> build\lib.win-amd64-cpython-311\thinc\tests\unit
        copying thinc\tests\unit\test_mem.py -> build\lib.win-amd64-cpython-311\thinc\tests\unit
        copying thinc\tests\unit\test_model.py -> build\lib.win-amd64-cpython-311\thinc\tests\unit
        copying thinc\tests\unit\test_ops.py -> build\lib.win-amd64-cpython-311\thinc\tests\unit
        copying thinc\tests\unit\test_pickle.py -> build\lib.win-amd64-cpython-311\thinc\tests\unit
        copying thinc\tests\unit\test_pooling.py -> build\lib.win-amd64-cpython-311\thinc\tests\unit
        copying thinc\tests\unit\test_pytorch_wrapper.py -> build\lib.win-amd64-cpython-311\thinc\tests\unit
        copying thinc\tests\unit\test_rates.py -> build\lib.win-amd64-cpython-311\thinc\tests\unit
        copying thinc\tests\unit\test_rnn.py -> build\lib.win-amd64-cpython-311\thinc\tests\unit
        copying thinc\tests\unit\__init__.py -> build\lib.win-amd64-cpython-311\thinc\tests\unit
        creating build\lib.win-amd64-cpython-311\thinc\tests\integration
        copying thinc\tests\integration\test_affine_learns.py -> build\lib.win-amd64-cpython-311\thinc\tests\integration
        copying thinc\tests\integration\test_basic_tagger.py -> build\lib.win-amd64-cpython-311\thinc\tests\integration
        copying thinc\tests\integration\test_batch_norm.py -> build\lib.win-amd64-cpython-311\thinc\tests\integration
        copying thinc\tests\integration\test_feed_forward.py -> build\lib.win-amd64-cpython-311\thinc\tests\integration
        copying thinc\tests\integration\test_mnist.py -> build\lib.win-amd64-cpython-311\thinc\tests\integration
        copying thinc\tests\integration\test_pickle.py -> build\lib.win-amd64-cpython-311\thinc\tests\integration
        copying thinc\tests\integration\test_roundtrip_bytes.py -> build\lib.win-amd64-cpython-311\thinc\tests\integration
        copying thinc\tests\integration\test_shape_check.py -> build\lib.win-amd64-cpython-311\thinc\tests\integration
        copying thinc\tests\integration\__init__.py -> build\lib.win-amd64-cpython-311\thinc\tests\integration
        creating build\lib.win-amd64-cpython-311\thinc\tests\linear
        copying thinc\tests\linear\test_avgtron.py -> build\lib.win-amd64-cpython-311\thinc\tests\linear
        copying thinc\tests\linear\test_linear.py -> build\lib.win-amd64-cpython-311\thinc\tests\linear
        copying thinc\tests\linear\test_sparse_array.py -> build\lib.win-amd64-cpython-311\thinc\tests\linear
        copying thinc\tests\linear\__init__.py -> build\lib.win-amd64-cpython-311\thinc\tests\linear
        creating build\lib.win-amd64-cpython-311\thinc\linear
        copying thinc\linear\__init__.py -> build\lib.win-amd64-cpython-311\thinc\linear
        creating build\lib.win-amd64-cpython-311\thinc\neural
        copying thinc\neural\mem.py -> build\lib.win-amd64-cpython-311\thinc\neural
        copying thinc\neural\pooling.py -> build\lib.win-amd64-cpython-311\thinc\neural
        copying thinc\neural\train.py -> build\lib.win-amd64-cpython-311\thinc\neural
        copying thinc\neural\util.py -> build\lib.win-amd64-cpython-311\thinc\neural
        copying thinc\neural\vec2vec.py -> build\lib.win-amd64-cpython-311\thinc\neural
        copying thinc\neural\vecs2vec.py -> build\lib.win-amd64-cpython-311\thinc\neural
        copying thinc\neural\vecs2vecs.py -> build\lib.win-amd64-cpython-311\thinc\neural
        copying thinc\neural\_lsuv.py -> build\lib.win-amd64-cpython-311\thinc\neural
        copying thinc\neural\__init__.py -> build\lib.win-amd64-cpython-311\thinc\neural
        creating build\lib.win-amd64-cpython-311\thinc\extra
        copying thinc\extra\datasets.py -> build\lib.win-amd64-cpython-311\thinc\extra
        copying thinc\extra\hpbff.py -> build\lib.win-amd64-cpython-311\thinc\extra
        copying thinc\extra\load_nlp.py -> build\lib.win-amd64-cpython-311\thinc\extra
        copying thinc\extra\visualizer.py -> build\lib.win-amd64-cpython-311\thinc\extra
        copying thinc\extra\wrappers.py -> build\lib.win-amd64-cpython-311\thinc\extra
        copying thinc\extra\__init__.py -> build\lib.win-amd64-cpython-311\thinc\extra
        creating build\lib.win-amd64-cpython-311\thinc\neural\_classes
        copying thinc\neural\_classes\affine.py -> build\lib.win-amd64-cpython-311\thinc\neural\_classes
        copying thinc\neural\_classes\attention.py -> build\lib.win-amd64-cpython-311\thinc\neural\_classes
        copying thinc\neural\_classes\batchnorm.py -> build\lib.win-amd64-cpython-311\thinc\neural\_classes
        copying thinc\neural\_classes\convolution.py -> build\lib.win-amd64-cpython-311\thinc\neural\_classes
        copying thinc\neural\_classes\difference.py -> build\lib.win-amd64-cpython-311\thinc\neural\_classes
        copying thinc\neural\_classes\elu.py -> build\lib.win-amd64-cpython-311\thinc\neural\_classes
        copying thinc\neural\_classes\embed.py -> build\lib.win-amd64-cpython-311\thinc\neural\_classes
        copying thinc\neural\_classes\encoder_decoder.py -> build\lib.win-amd64-cpython-311\thinc\neural\_classes
        copying thinc\neural\_classes\feature_extracter.py -> build\lib.win-amd64-cpython-311\thinc\neural\_classes
        copying thinc\neural\_classes\feed_forward.py -> build\lib.win-amd64-cpython-311\thinc\neural\_classes
        copying thinc\neural\_classes\function_layer.py -> build\lib.win-amd64-cpython-311\thinc\neural\_classes
        copying thinc\neural\_classes\hash_embed.py -> build\lib.win-amd64-cpython-311\thinc\neural\_classes
        copying thinc\neural\_classes\layernorm.py -> build\lib.win-amd64-cpython-311\thinc\neural\_classes
        copying thinc\neural\_classes\maxout.py -> build\lib.win-amd64-cpython-311\thinc\neural\_classes
        copying thinc\neural\_classes\model.py -> build\lib.win-amd64-cpython-311\thinc\neural\_classes
        copying thinc\neural\_classes\multiheaded_attention.py -> build\lib.win-amd64-cpython-311\thinc\neural\_classes
        copying thinc\neural\_classes\relu.py -> build\lib.win-amd64-cpython-311\thinc\neural\_classes
        copying thinc\neural\_classes\resnet.py -> build\lib.win-amd64-cpython-311\thinc\neural\_classes
        copying thinc\neural\_classes\rnn.py -> build\lib.win-amd64-cpython-311\thinc\neural\_classes
        copying thinc\neural\_classes\selu.py -> build\lib.win-amd64-cpython-311\thinc\neural\_classes
        copying thinc\neural\_classes\softmax.py -> build\lib.win-amd64-cpython-311\thinc\neural\_classes
        copying thinc\neural\_classes\static_vectors.py -> build\lib.win-amd64-cpython-311\thinc\neural\_classes
        copying thinc\neural\_classes\__init__.py -> build\lib.win-amd64-cpython-311\thinc\neural\_classes
        creating build\lib.win-amd64-cpython-311\thinc\extra\_vendorized
        copying thinc\extra\_vendorized\keras_datasets.py -> build\lib.win-amd64-cpython-311\thinc\extra\_vendorized
        copying thinc\extra\_vendorized\keras_data_utils.py -> build\lib.win-amd64-cpython-311\thinc\extra\_vendorized
        copying thinc\extra\_vendorized\keras_generic_utils.py -> build\lib.win-amd64-cpython-311\thinc\extra\_vendorized
        copying thinc\extra\_vendorized\__init__.py -> build\lib.win-amd64-cpython-311\thinc\extra\_vendorized
        creating build\lib.win-amd64-cpython-311\thinc\extra\wrapt
        copying thinc\extra\wrapt\decorators.py -> build\lib.win-amd64-cpython-311\thinc\extra\wrapt
        copying thinc\extra\wrapt\importer.py -> build\lib.win-amd64-cpython-311\thinc\extra\wrapt
        copying thinc\extra\wrapt\wrappers.py -> build\lib.win-amd64-cpython-311\thinc\extra\wrapt
        copying thinc\extra\wrapt\__init__.py -> build\lib.win-amd64-cpython-311\thinc\extra\wrapt
        copying thinc\linalg.pyx -> build\lib.win-amd64-cpython-311\thinc
        copying thinc\structs.pyx -> build\lib.win-amd64-cpython-311\thinc
        copying thinc\typedefs.pyx -> build\lib.win-amd64-cpython-311\thinc
        copying thinc\cpu.pxd -> build\lib.win-amd64-cpython-311\thinc
        copying thinc\linalg.pxd -> build\lib.win-amd64-cpython-311\thinc
        copying thinc\structs.pxd -> build\lib.win-amd64-cpython-311\thinc
        copying thinc\typedefs.pxd -> build\lib.win-amd64-cpython-311\thinc
        copying thinc\__init__.pxd -> build\lib.win-amd64-cpython-311\thinc
        copying thinc\compile_time_constants.pxi -> build\lib.win-amd64-cpython-311\thinc
        copying thinc\linalg.cpp -> build\lib.win-amd64-cpython-311\thinc
        copying thinc\structs.cpp -> build\lib.win-amd64-cpython-311\thinc
        copying thinc\typedefs.cpp -> build\lib.win-amd64-cpython-311\thinc
        copying thinc\linear\avgtron.pyx -> build\lib.win-amd64-cpython-311\thinc\linear
        copying thinc\linear\features.pyx -> build\lib.win-amd64-cpython-311\thinc\linear
        copying thinc\linear\linear.pyx -> build\lib.win-amd64-cpython-311\thinc\linear
        copying thinc\linear\serialize.pyx -> build\lib.win-amd64-cpython-311\thinc\linear
        copying thinc\linear\sparse.pyx -> build\lib.win-amd64-cpython-311\thinc\linear
        copying thinc\linear\avgtron.pxd -> build\lib.win-amd64-cpython-311\thinc\linear
        copying thinc\linear\features.pxd -> build\lib.win-amd64-cpython-311\thinc\linear
        copying thinc\linear\serialize.pxd -> build\lib.win-amd64-cpython-311\thinc\linear
        copying thinc\linear\sparse.pxd -> build\lib.win-amd64-cpython-311\thinc\linear
        copying thinc\linear\__init__.pxd -> build\lib.win-amd64-cpython-311\thinc\linear
        copying thinc\linear\avgtron.cpp -> build\lib.win-amd64-cpython-311\thinc\linear
        copying thinc\linear\features.cpp -> build\lib.win-amd64-cpython-311\thinc\linear
        copying thinc\linear\linear.cpp -> build\lib.win-amd64-cpython-311\thinc\linear
        copying thinc\linear\serialize.cpp -> build\lib.win-amd64-cpython-311\thinc\linear
        copying thinc\linear\sparse.cpp -> build\lib.win-amd64-cpython-311\thinc\linear
        copying thinc\neural\ops.pyx -> build\lib.win-amd64-cpython-311\thinc\neural
        copying thinc\neural\optimizers.pyx -> build\lib.win-amd64-cpython-311\thinc\neural
        copying thinc\neural\_aligned_alloc.pyx -> build\lib.win-amd64-cpython-311\thinc\neural
        copying thinc\neural\cpu.pxd -> build\lib.win-amd64-cpython-311\thinc\neural
        copying thinc\neural\ops.pxd -> build\lib.win-amd64-cpython-311\thinc\neural
        copying thinc\neural\__init__.pxd -> build\lib.win-amd64-cpython-311\thinc\neural
        copying thinc\neural\ops.cpp -> build\lib.win-amd64-cpython-311\thinc\neural
        copying thinc\neural\optimizers.cpp -> build\lib.win-amd64-cpython-311\thinc\neural
        copying thinc\neural\_aligned_alloc.cpp -> build\lib.win-amd64-cpython-311\thinc\neural
        copying thinc\extra\cache.pyx -> build\lib.win-amd64-cpython-311\thinc\extra
        copying thinc\extra\eg.pyx -> build\lib.win-amd64-cpython-311\thinc\extra
        copying thinc\extra\mb.pyx -> build\lib.win-amd64-cpython-311\thinc\extra
        copying thinc\extra\search.pyx -> build\lib.win-amd64-cpython-311\thinc\extra
        copying thinc\extra\cache.pxd -> build\lib.win-amd64-cpython-311\thinc\extra
        copying thinc\extra\eg.pxd -> build\lib.win-amd64-cpython-311\thinc\extra
        copying thinc\extra\mb.pxd -> build\lib.win-amd64-cpython-311\thinc\extra
        copying thinc\extra\search.pxd -> build\lib.win-amd64-cpython-311\thinc\extra
        copying thinc\extra\__init__.pxd -> build\lib.win-amd64-cpython-311\thinc\extra
        copying thinc\extra\cache.cpp -> build\lib.win-amd64-cpython-311\thinc\extra
        copying thinc\extra\eg.cpp -> build\lib.win-amd64-cpython-311\thinc\extra
        copying thinc\extra\mb.cpp -> build\lib.win-amd64-cpython-311\thinc\extra
        copying thinc\extra\search.cpp -> build\lib.win-amd64-cpython-311\thinc\extra
        running build_ext
        building 'thinc.linalg' extension
        creating build\temp.win-amd64-cpython-311
        creating build\temp.win-amd64-cpython-311\Release
        creating build\temp.win-amd64-cpython-311\Release\thinc
        "D:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.40.33807\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -ID:\ProgramData\miniconda3\include -IC:\Users\admin\AppData\Local\Temp\pip-install-yv2a7i51\thinc_320fab49017541e2b8ea5c5062b5e693\include -ID:\ProgramData\miniconda3\include -ID:\ProgramData\miniconda3\Include "-ID:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.40.33807\include" "-ID:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" /EHsc /Tpthinc/linalg.cpp /Fobuild\temp.win-amd64-cpython-311\Release\thinc/linalg.obj /Ox /EHsc
        linalg.cpp
        thinc/linalg.cpp(196): fatal error C1083: 无法打开包括文件: “longintrepr.h”: No such file or directory
        error: command 'D:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.40.33807\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
        [end of output]

        note: This error originates from a subprocess, and is likely not a problem with pip.
        ERROR: Failed building wheel for thinc
        Running setup.py clean for thinc
        Building wheel for blis (setup.py): started
        Building wheel for blis (setup.py): finished with status 'error'
        error: subprocess-exited-with-error

        python setup.py bdist_wheel did not run successfully.
        exit code: 1

        [35 lines of output]
        BLIS_COMPILER? None
        D:\ProgramData\miniconda3\Lib\site-packages\setuptools\__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
        !!

                ********************************************************************************
                Requirements should be satisfied by a PEP 517 installer.
                If you are using pip, you can try `pip install --use-pep517`.
                ********************************************************************************

        !!
          dist.fetch_build_eggs(dist.setup_requires)
        running bdist_wheel
        running build
        running build_py
        creating build
        creating build\lib.win-amd64-cpython-311
        creating build\lib.win-amd64-cpython-311\blis
        copying blis\about.py -> build\lib.win-amd64-cpython-311\blis
        copying blis\benchmark.py -> build\lib.win-amd64-cpython-311\blis
        copying blis\__init__.py -> build\lib.win-amd64-cpython-311\blis
        creating build\lib.win-amd64-cpython-311\blis\tests
        copying blis\tests\common.py -> build\lib.win-amd64-cpython-311\blis\tests
        copying blis\tests\test_dotv.py -> build\lib.win-amd64-cpython-311\blis\tests
        copying blis\tests\test_gemm.py -> build\lib.win-amd64-cpython-311\blis\tests
        copying blis\tests\__init__.py -> build\lib.win-amd64-cpython-311\blis\tests
        copying blis\cy.pyx -> build\lib.win-amd64-cpython-311\blis
        copying blis\py.pyx -> build\lib.win-amd64-cpython-311\blis
        copying blis\cy.pxd -> build\lib.win-amd64-cpython-311\blis
        copying blis\__init__.pxd -> build\lib.win-amd64-cpython-311\blis
        running build_ext
        msvc
        py_compiler msvc
        {'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:', 'HOSTTYPE': 'x86_64', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'LANG': 'C.UTF-8', 'OLDPWD': '/home/matt/repos/flame-blis', 'VIRTUAL_ENV': '/home/matt/repos/cython-blis/env3.6', 'USER': 'matt', 'PWD': '/home/matt/repos/cython-blis', 'HOME': '/home/matt', 'NAME': 'LAPTOP-OMKOB3VM', 'XDG_DATA_DIRS': '/usr/local/share:/usr/share:/var/lib/snapd/desktop', 'SHELL': '/bin/bash', 'TERM': 'xterm-256color', 'SHLVL': '1', 'LOGNAME': 'matt', 'PATH': '/home/matt/repos/cython-blis/env3.6/bin:/tmp/google-cloud-sdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5/ConEmu/Scripts:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5/ConEmu:/mnt/c/Python37/Scripts:/mnt/c/Python37:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/WiFi/bin:/mnt/c/Program Files/Common Files/Intel/WirelessCommon:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/LLVM/bin:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Program Files/nodejs:/mnt/c/Users/matt/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/matt/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/matt/AppData/Roaming/npm:/snap/bin:/mnt/c/Program Files/Oracle/VirtualBox', 'PS1': '(env3.6) \\[\\e]0;\\u@\\h: \\w\\a\\]${debian_chroot:+($debian_chroot)}\\[\\033[01;32m\\]\\u@\\h\\[\\033[00m\\]:\\[\\033[01;34m\\]\\w\\[\\033[00m\\]\\$ ', 'VAGRANT_HOME': '/home/matt/.vagrant.d/', 'LESSOPEN': '| /usr/bin/lesspipe %s', '_': '/home/matt/repos/cython-blis/env3.6/bin/python'}
        clang -c C:\Users\admin\AppData\Local\Temp\pip-install-yv2a7i51\blis_d3c4bb611f0e4173891a642a7d17deab\blis\_src\config\bulldozer\bli_cntx_init_bulldozer.c -o C:\Users\admin\AppData\Local\Temp\tmpxck57ocn\bli_cntx_init_bulldozer.o -O2 -funroll-all-loops -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.0-6" -DBLIS_IS_BUILDING_LIBRARY -Iinclude\windows-x86_64 -I.\frame\3\ -I.\frame\ind\ukernels\ -I.\frame\1m\ -I.\frame\1f\ -I.\frame\1\ -I.\frame\include -IC:\Users\admin\AppData\Local\Temp\pip-install-yv2a7i51\blis_d3c4bb611f0e4173891a642a7d17deab\blis\_src\include\windows-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
        Running setup.py clean for blis
      Failed to build preshed thinc blis
      ERROR: Could not build wheels for preshed, thinc, blis, which is required to install pyproject.toml-based projects
      [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.
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值