This error originates from a subprocess, and is likely not a problem with pip when pip install chatterbot

Viewed 74

I have tried pip install chatterbot then this error occurred..what should i do to overcome this?

 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
  ╰─> [377 lines of output]
      Collecting setuptools
        Using cached setuptools-65.3.0-py3-none-any.whl (1.2 MB)
      Collecting wheel<0.33.0,>0.32.0
        Using cached wheel-0.32.3-py2.py3-none-any.whl (21 kB)
      Collecting Cython
        Using cached Cython-0.29.32-py2.py3-none-any.whl (986 kB)
      Collecting cymem<2.1.0,>=2.0.2
        Using cached cymem-2.0.6-cp310-cp310-win_amd64.whl (36 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.8-cp310-cp310-win_amd64.whl (18 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
        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
        Using cached wasabi-0.10.1-py3-none-any.whl (26 kB)
      Collecting srsly<1.1.0,>=0.0.6
        Using cached srsly-1.0.5.tar.gz (86 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 numpy>=1.7.0
        Using cached numpy-1.23.3-cp310-cp310-win_amd64.whl (14.6 MB)
      Collecting plac<1.0.0,>=0.9.6
        Using cached plac-0.9.6-py2.py3-none-any.whl (20 kB)
      Collecting tqdm<5.0.0,>=4.10.0
        Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB)
      Collecting colorama
        Using cached colorama-0.4.5-py2.py3-none-any.whl (16 kB)
      Building wheels for collected packages: preshed, thinc, blis, srsly
        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
     
        [23 lines of output]
        C:\Users\joseph antony\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
          warnings.warn(
        running bdist_wheel
        running build
        running build_py
        creating build
        creating build\lib.win-amd64-cpython-310
        creating build\lib.win-amd64-cpython-310\preshed
        copying preshed\about.py -> build\lib.win-amd64-cpython-310\preshed
        copying preshed\__init__.py -> build\lib.win-amd64-cpython-310\preshed
        creating build\lib.win-amd64-cpython-310\preshed\tests
        copying preshed\tests\test_counter.py -> build\lib.win-amd64-cpython-310\preshed\tests
        copying preshed\tests\test_hashing.py -> build\lib.win-amd64-cpython-310\preshed\tests
        copying preshed\tests\test_pop.py -> build\lib.win-amd64-cpython-310\preshed\tests
        copying preshed\tests\__init__.py -> build\lib.win-amd64-cpython-310\preshed\tests
        copying preshed\counter.pyx -> build\lib.win-amd64-cpython-310\preshed
        copying preshed\maps.pyx -> build\lib.win-amd64-cpython-310\preshed
        copying preshed\counter.pxd -> build\lib.win-amd64-cpython-310\preshed
        copying preshed\maps.pxd -> build\lib.win-amd64-cpython-310\preshed
        copying preshed\__init__.pxd -> build\lib.win-amd64-cpython-310\preshed
        running build_ext
        building 'preshed.maps' extension
        error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
        [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
     
        [166 lines of output]
        running bdist_wheel
        running build
        running build_py
        creating build
        creating build\lib.win-amd64-cpython-310
        creating build\lib.win-amd64-cpython-310\thinc
        copying thinc\about.py -> build\lib.win-amd64-cpython-310\thinc
        copying thinc\api.py -> build\lib.win-amd64-cpython-310\thinc
        copying thinc\check.py -> build\lib.win-amd64-cpython-310\thinc
        copying thinc\compat.py -> build\lib.win-amd64-cpython-310\thinc
        copying thinc\describe.py -> build\lib.win-amd64-cpython-310\thinc
        copying thinc\exceptions.py -> build\lib.win-amd64-cpython-310\thinc
        copying thinc\i2v.py -> build\lib.win-amd64-cpython-310\thinc
        copying thinc\loss.py -> build\lib.win-amd64-cpython-310\thinc
        copying thinc\misc.py -> build\lib.win-amd64-cpython-310\thinc
        copying thinc\rates.py -> build\lib.win-amd64-cpython-310\thinc
        copying thinc\t2t.py -> build\lib.win-amd64-cpython-310\thinc
        copying thinc\t2v.py -> build\lib.win-amd64-cpython-310\thinc
        copying thinc\v2v.py -> build\lib.win-amd64-cpython-310\thinc
        copying thinc\__init__.py -> build\lib.win-amd64-cpython-310\thinc
        creating build\lib.win-amd64-cpython-310\thinc\tests
        copying thinc\tests\conftest.py -> build\lib.win-amd64-cpython-310\thinc\tests
        copying thinc\tests\strategies.py -> build\lib.win-amd64-cpython-310\thinc\tests
        copying thinc\tests\test_api_funcs.py -> build\lib.win-amd64-cpython-310\thinc\tests
        copying thinc\tests\test_util.py -> build\lib.win-amd64-cpython-310\thinc\tests
        copying thinc\tests\util.py -> build\lib.win-amd64-cpython-310\thinc\tests
        copying thinc\tests\__init__.py -> build\lib.win-amd64-cpython-310\thinc\tests
        creating build\lib.win-amd64-cpython-310\thinc\tests\unit
        copying thinc\tests\unit\test_about.py -> build\lib.win-amd64-cpython-310\thinc\tests\unit
        copying thinc\tests\unit\test_affine.py -> build\lib.win-amd64-cpython-310\thinc\tests\unit
        copying thinc\tests\unit\test_beam_search.py -> build\lib.win-amd64-cpython-310\thinc\tests\unit
        copying thinc\tests\unit\test_check_exceptions.py -> build\lib.win-amd64-cpython-310\thinc\tests\unit
        copying thinc\tests\unit\test_difference.py -> build\lib.win-amd64-cpython-310\thinc\tests\unit
        copying thinc\tests\unit\test_feature_extracter.py -> build\lib.win-amd64-cpython-310\thinc\tests\unit
        copying thinc\tests\unit\test_hash_embed.py -> build\lib.win-amd64-cpython-310\thinc\tests\unit
        copying thinc\tests\unit\test_imports.py -> build\lib.win-amd64-cpython-310\thinc\tests\unit
        copying thinc\tests\unit\test_linear.py -> build\lib.win-amd64-cpython-310\thinc\tests\unit
        copying thinc\tests\unit\test_loss.py -> build\lib.win-amd64-cpython-310\thinc\tests\unit
        copying thinc\tests\unit\test_mem.py -> build\lib.win-amd64-cpython-310\thinc\tests\unit
        copying thinc\tests\unit\test_model.py -> build\lib.win-amd64-cpython-310\thinc\tests\unit
        copying thinc\tests\unit\test_ops.py -> build\lib.win-amd64-cpython-310\thinc\tests\unit
        copying thinc\tests\unit\test_pickle.py -> build\lib.win-amd64-cpython-310\thinc\tests\unit
        copying thinc\tests\unit\test_pooling.py -> build\lib.win-amd64-cpython-310\thinc\tests\unit
        copying thinc\tests\unit\test_pytorch_wrapper.py -> build\lib.win-amd64-cpython-310\thinc\tests\unit
        copying thinc\tests\unit\test_rates.py -> build\lib.win-amd64-cpython-310\thinc\tests\unit
        copying thinc\tests\unit\test_rnn.py -> build\lib.win-amd64-cpython-310\thinc\tests\unit
        copying thinc\tests\unit\__init__.py -> build\lib.win-amd64-cpython-310\thinc\tests\unit
        creating build\lib.win-amd64-cpython-310\thinc\tests\integration
        copying thinc\tests\integration\test_affine_learns.py -> build\lib.win-amd64-cpython-310\thinc\tests\integration
        copying thinc\tests\integration\test_basic_tagger.py -> build\lib.win-amd64-cpython-310\thinc\tests\integration
        copying thinc\tests\integration\test_batch_norm.py -> build\lib.win-amd64-cpython-310\thinc\tests\integration
        copying thinc\tests\integration\test_feed_forward.py -> build\lib.win-amd64-cpython-310\thinc\tests\integration
        copying thinc\tests\integration\test_mnist.py -> build\lib.win-amd64-cpython-310\thinc\tests\integration
        copying thinc\tests\integration\test_pickle.py -> build\lib.win-amd64-cpython-310\thinc\tests\integration
        copying thinc\tests\integration\test_roundtrip_bytes.py -> build\lib.win-amd64-cpython-310\thinc\tests\integration
        copying thinc\tests\integration\test_shape_check.py -> build\lib.win-amd64-cpython-310\thinc\tests\integration
        copying thinc\tests\integration\__init__.py -> build\lib.win-amd64-cpython-310\thinc\tests\integration
        creating build\lib.win-amd64-cpython-310\thinc\tests\linear
        copying thinc\tests\linear\test_avgtron.py -> build\lib.win-amd64-cpython-310\thinc\tests\linear
        copying thinc\tests\linear\test_linear.py -> build\lib.win-amd64-cpython-310\thinc\tests\linear
        copying thinc\tests\linear\test_sparse_array.py -> build\lib.win-amd64-cpython-310\thinc\tests\linear
        copying thinc\tests\linear\__init__.py -> build\lib.win-amd64-cpython-310\thinc\tests\linear
        creating build\lib.win-amd64-cpython-310\thinc\linear
        copying thinc\linear\__init__.py -> build\lib.win-amd64-cpython-310\thinc\linear
        creating build\lib.win-amd64-cpython-310\thinc\neural
        copying thinc\neural\mem.py -> build\lib.win-amd64-cpython-310\thinc\neural
        copying thinc\neural\pooling.py -> build\lib.win-amd64-cpython-310\thinc\neural
        copying thinc\neural\train.py -> build\lib.win-amd64-cpython-310\thinc\neural
        copying thinc\neural\util.py -> build\lib.win-amd64-cpython-310\thinc\neural
        copying thinc\neural\vec2vec.py -> build\lib.win-amd64-cpython-310\thinc\neural
        copying thinc\neural\vecs2vec.py -> build\lib.win-amd64-cpython-310\thinc\neural
        copying thinc\neural\vecs2vecs.py -> build\lib.win-amd64-cpython-310\thinc\neural
        copying thinc\neural\_lsuv.py -> build\lib.win-amd64-cpython-310\thinc\neural
        copying thinc\neural\__init__.py -> build\lib.win-amd64-cpython-310\thinc\neural
        creating build\lib.win-amd64-cpython-310\thinc\extra
        copying thinc\extra\datasets.py -> build\lib.win-amd64-cpython-310\thinc\extra
        copying thinc\extra\hpbff.py -> build\lib.win-amd64-cpython-310\thinc\extra
        copying thinc\extra\load_nlp.py -> build\lib.win-amd64-cpython-310\thinc\extra
        copying thinc\extra\visualizer.py -> build\lib.win-amd64-cpython-310\thinc\extra
        copying t
0 Answers
Related