show me error in installing chatterbot
See original GitHub issuePS C:\Users\lkrja\Desktop\lkrjangid\yaara> pip install chatterbot
Collecting chatterbot
Using cached ChatterBot-1.0.5-py2.py3-none-any.whl (67 kB)
Collecting spacy<2.2,>=2.1
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
╰─> [79 lines of output]
Collecting setuptools
Using cached setuptools-61.1.0-py3-none-any.whl (1.1 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.28-py2.py3-none-any.whl (983 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.6-cp310-cp310-win_amd64.whl (21 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.9.0-py3-none-any.whl (25 kB)
Collecting srsly<1.1.0,>=0.0.6
Using cached srsly-1.0.5-cp310-cp310-win_amd64.whl
Collecting numpy>=1.7.0
Using cached numpy-1.22.3-cp310-cp310-win_amd64.whl (14.7 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.63.1-py2.py3-none-any.whl (76 kB)
Collecting colorama
Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Using legacy 'setup.py install' for preshed, since package 'wheel' is not installed.
Using legacy 'setup.py install' for thinc, since package 'wheel' is not installed.
Using legacy 'setup.py install' for blis, since package 'wheel' is not installed.
Installing collected packages: wasabi, srsly, plac, murmurhash, cymem, wheel, setuptools, preshed, numpy, Cython, colorama, tqdm, blis, thinc
Running setup.py install for preshed: started
Running setup.py install for preshed: finished with status 'error'
error: subprocess-exited-with-error
Running setup.py install for preshed did not run successfully.
exit code: 1
[22 lines of output]
WARNING: The wheel package is not available.
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.10
creating build\lib.win-amd64-3.10\preshed
copying preshed\about.py -> build\lib.win-amd64-3.10\preshed
copying preshed\__init__.py -> build\lib.win-amd64-3.10\preshed
creating build\lib.win-amd64-3.10\preshed\tests
copying preshed\tests\test_counter.py -> build\lib.win-amd64-3.10\preshed\tests
copying preshed\tests\test_hashing.py -> build\lib.win-amd64-3.10\preshed\tests
copying preshed\tests\test_pop.py -> build\lib.win-amd64-3.10\preshed\tests
copying preshed\tests\__init__.py -> build\lib.win-amd64-3.10\preshed\tests
copying preshed\counter.pyx -> build\lib.win-amd64-3.10\preshed
copying preshed\maps.pyx -> build\lib.win-amd64-3.10\preshed
copying preshed\counter.pxd -> build\lib.win-amd64-3.10\preshed
copying preshed\maps.pxd -> build\lib.win-amd64-3.10\preshed
copying preshed\__init__.pxd -> build\lib.win-amd64-3.10\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: legacy-install-failure
Encountered error while trying to install package.
preshed
Collecting python-dateutil<2.8,>=2.7
Using cached python_dateutil-2.7.5-py2.py3-none-any.whl (225 kB)
Collecting pyyaml<5.2,>=5.1
Using cached PyYAML-5.1.2.tar.gz (265 kB)
Preparing metadata (setup.py) ... done
Collecting spacy<2.2,>=2.1
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
╰─> [101 lines of output]
Collecting setuptools
Using cached setuptools-61.1.0-py3-none-any.whl (1.1 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.28-py2.py3-none-any.whl (983 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.6-cp310-cp310-win_amd64.whl (21 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.9.0-py3-none-any.whl (25 kB)
Collecting srsly<1.1.0,>=0.0.6
Using cached srsly-1.0.5-cp310-cp310-win_amd64.whl
Collecting numpy>=1.7.0
Using cached numpy-1.22.3-cp310-cp310-win_amd64.whl (14.7 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.63.1-py2.py3-none-any.whl (76 kB)
Collecting colorama
Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Using legacy 'setup.py install' for preshed, since package 'wheel' is not installed.
Using legacy 'setup.py install' for thinc, since package 'wheel' is not installed.
Using legacy 'setup.py install' for blis, since package 'wheel' is not installed.
Installing collected packages: wasabi, srsly, plac, murmurhash, cymem, wheel, setuptools, preshed, numpy, Cython, colorama, tqdm, blis, thinc
Running setup.py install for preshed: started
Running setup.py install for preshed: finished with status 'error'
error: subprocess-exited-with-error
Running setup.py install for preshed did not run successfully.
exit code: 1
[44 lines of output]
WARNING: The wheel package is not available.
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.10
creating build\lib.win-amd64-3.10\preshed
copying preshed\about.py -> build\lib.win-amd64-3.10\preshed
copying preshed\__init__.py -> build\lib.win-amd64-3.10\preshed
creating build\lib.win-amd64-3.10\preshed\tests
copying preshed\tests\test_counter.py -> build\lib.win-amd64-3.10\preshed\tests
copying preshed\tests\test_hashing.py -> build\lib.win-amd64-3.10\preshed\tests
copying preshed\tests\test_pop.py -> build\lib.win-amd64-3.10\preshed\tests
copying preshed\tests\__init__.py -> build\lib.win-amd64-3.10\preshed\tests
copying preshed\counter.pyx -> build\lib.win-amd64-3.10\preshed
copying preshed\maps.pyx -> build\lib.win-amd64-3.10\preshed
copying preshed\counter.pxd -> build\lib.win-amd64-3.10\preshed
copying preshed\maps.pxd -> build\lib.win-amd64-3.10\preshed
copying preshed\__init__.pxd -> build\lib.win-amd64-3.10\preshed
running build_ext
building 'preshed.maps' extension
creating build\temp.win-amd64-3.10
creating build\temp.win-amd64-3.10\Release
creating build\temp.win-amd64-3.10\Release\preshed
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64__qbz5n2kfra8p0\include -IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64__qbz5n2kfra8p0\include -IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64__qbz5n2kfra8p0\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /EHsc /Tppreshed/maps.cpp /Fobuild\temp.win-amd64-3.10\Release\preshed/maps.obj /Ox /EHsc
maps.cpp
preshed/maps.cpp(5728): error C2039: 'tp_print': is not a member of '_typeobject'
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64__qbz5n2kfra8p0\include\cpython/object.h(191): note: see declaration of '_typeobject'
preshed/maps.cpp(5740): error C2039: 'tp_print': is not a member of '_typeobject'
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64__qbz5n2kfra8p0\include\cpython/object.h(191): note: see declaration of '_typeobject'
preshed/maps.cpp(5749): error C2039: 'tp_print': is not a member of '_typeobject'
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64__qbz5n2kfra8p0\include\cpython/object.h(191): note: see declaration of '_typeobject'
preshed/maps.cpp(5755): error C2039: 'tp_print': is not a member of '_typeobject'
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64__qbz5n2kfra8p0\include\cpython/object.h(191): note: see declaration of '_typeobject'
preshed/maps.cpp(5761): error C2039: 'tp_print': is not a member of '_typeobject'
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64__qbz5n2kfra8p0\include\cpython/object.h(191): note: see declaration of '_typeobject'
preshed/maps.cpp(5767): error C2039: 'tp_print': is not a member of '_typeobject'
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64__qbz5n2kfra8p0\include\cpython/object.h(191): note: see declaration of '_typeobject'
preshed/maps.cpp(6129): warning C4996: '_PyUnicode_get_wstr_length': deprecated in 3.3
preshed/maps.cpp(6145): warning C4996: '_PyUnicode_get_wstr_length': deprecated in 3.3
preshed/maps.cpp(8447): error C3861: '_PyGen_Send': identifier not found
preshed/maps.cpp(8452): error C3861: '_PyGen_Send': identifier not found
preshed/maps.cpp(8536): error C3861: '_PyGen_Send': identifier not found
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\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: legacy-install-failure
Encountered error while trying to install package.
preshed
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
[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.
Issue Analytics
- State:
- Created a year ago
- Comments:12
Top Results From Across the Web
Error while installing chatterBot - Stack Overflow
You are getting this error because you have not installed required package. I think you need download them and install them ...
Read more >pip install chatterbot error · Issue #1854 - GitHub
i am using python 3.8 64 bit and trying to install chatterbot using the command: pip install chatterbot. but it shows following error:....
Read more >Problems to install chatterbot : r/learnpython - Reddit
Guys, I 'm having difficulties installing chatterbot. After updating Python to current version, all what I get is Installing build ...
Read more >Installation — ChatterBot 1.0.8 documentation - Read the Docs
If you already have ChatterBot installed and you want to check what version you have installed you can run the following command. python...
Read more >Trouble installing chatterbot - python - Super User
Not 100%, but it looks as if the builds from piwheels for Chatterbot are all Python 3.4+. You may want to try downloading...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
pip install chatterbot==1.0.4
This will work
how you solve this?