Open Santoshkumbhkar1 opened 2 years ago
Same problem happened with me!
what i did is?
I forked chatterbot then I made some changes in setup.py, chatterbot/languages.py and dev-requirements.txt.
Then it worked fine.
The installation procedure is shown below:
Make an virtual environment & source it
git clone git@github.com:feignbird/ChatterBot-spacy_fixed.git
pip install ./ChatterBot-spacy_fixed
pip install chatterbot-corpus
pip uninstall pyYAML
pip install pyYAML==5.3.1
python -m spacy download en_core_web_sm
What change did you applied can you explain please
On Wed, 10 Aug, 2022, 9:14 PM feignbird, @.***> wrote:
Same problem happened with me! what i did is? I forked chatterbot then I made some changes in setup.cfg and setup.py.
— Reply to this email directly, view it on GitHub https://github.com/gunthercox/ChatterBot/issues/2262#issuecomment-1210893149, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV2YSJ2OYKMEQZR7LJDJ3ZTVYPE7JANCNFSM55YPM2PA . You are receiving this because you authored the thread.Message ID: @.***>
--
*
Indore Institute of Science & Technology (IIST)Indore Institute of Management & Research (IIMR) Indore Institute of Pharmacy (IIP) Opposite IIM, Pithampur Road, Rau, Indore. Madhya Pradesh Toll Free: 1800 103 3069 | @. @.> | www.indoreinstitute.com http://www.indoreinstitute.com* This message contains confidential information and is intended for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. Shail Group of Institutions, opposite IIM, Pithampur Road, Rau, Indore. Madhya Pradesh. www.indoreinstitute.com http://www.indoreinstitute.com
Should be running now? Just follow the procedure.
- git clone git@github.com:feignbird/ChatterBot-spacy_fixed.git
it says "Please make sure you have the correct access rights and the repository exists."
@Santoshkumbhkar1 you can check the commits
Ok, thanks.
On Fri, 9 Sep, 2022, 1:21 PM Martin Breuss, @.***> wrote:
@Santoshkumbhkar1 https://github.com/Santoshkumbhkar1 you can check the commits https://github.com/gunthercox/ChatterBot/compare/master...feignbird:ChatterBot-spacy_fixed:my-pull-request
— Reply to this email directly, view it on GitHub https://github.com/gunthercox/ChatterBot/issues/2262#issuecomment-1241629359, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV2YSJYXM7CYHXRIQ4NLVWLV5LUAJANCNFSM55YPM2PA . You are receiving this because you were mentioned.Message ID: @.***>
--
*
Indore Institute of Science & Technology (IIST)Indore Institute of Management & Research (IIMR) Indore Institute of Pharmacy (IIP) Opposite IIM, Pithampur Road, Rau, Indore. Madhya Pradesh Toll Free: 1800 103 3069 | @. @.> | www.indoreinstitute.com http://www.indoreinstitute.com* This message contains confidential information and is intended for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. Shail Group of Institutions, opposite IIM, Pithampur Road, Rau, Indore. Madhya Pradesh. www.indoreinstitute.com http://www.indoreinstitute.com
Using
git clone https://github.com/feignbird/ChatterBot-spacy_fixed
makes you happy :)
That is,
git clone https://github.com/feignbird/ChatterBot-spacy_fixed
pip install ./ChatterBot-spacy_fixed
pip install chatterbot-corpus
pip uninstall pyYAML
pip install pyYAML==5.3.1
python -m spacy download en_core_web_sm
pip install pyYAML==5.3.1 git+https://github.com/feignbird/ChatterBot-spacy_fixed
@gunthercox Can you please have a look? I hope, this can be sorted out, soon. Possibly, it is also sensible to move this to a GitHub organization in the future, so the maintenance can be spread between different people.
@feignbird Have you opened a PR from your fork?
Temporary workaround not relying on third party repos: pip install chatterbot==1.0.4
. This version still works. But apparently requires an older Python version.
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.0-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 Building wheel for preshed (setup.py): started Building wheel for preshed (setup.py): finished with status 'error'
error: subprocess-exited-with-error
d\tests copying preshed\tests\test_hashing.py -> build\lib.win-amd64-3.9\preshe d\tests copying preshed\tests\test_pop.py -> build\lib.win-amd64-3.9\preshed\te sts copying preshed\tests__init.py -> build\lib.win-amd64-3.9\preshed\te sts copying preshed\counter.pyx -> build\lib.win-amd64-3.9\preshed copying preshed\maps.pyx -> build\lib.win-amd64-3.9\preshed copying preshed\counter.pxd -> build\lib.win-amd64-3.9\preshed copying preshed\maps.pxd -> build\lib.win-amd64-3.9\preshed copying preshed\init__.pxd -> build\lib.win-amd64-3.9\preshed
running build_ext building 'preshed.maps' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "M icrosoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build- tools/ [end of output]
lem 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
s copying thinc\tests\test_api_funcs.py -> build\lib.win-amd64-3.9\thinc\ tests copying thinc\tests\test_util.py -> build\lib.win-amd64-3.9\thinc\tests copying thinc\tests\util.py -> build\lib.win-amd64-3.9\thinc\tests
copying thinc\tests__init.py -> build\lib.win-amd64-3.9\thinc\tests creating build\lib.win-amd64-3.9\thinc\tests\unit copying thinc\tests\unit\test_about.py -> build\lib.win-amd64-3.9\thinc \tests\unit copying thinc\tests\unit\test_affine.py -> build\lib.win-amd64-3.9\thin c\tests\unit copying thinc\tests\unit\test_beam_search.py -> build\lib.win-amd64-3.9 \thinc\tests\unit copying thinc\tests\unit\test_check_exceptions.py -> build\lib.win-amd6 4-3.9\thinc\tests\unit copying thinc\tests\unit\test_difference.py -> build\lib.win-amd64-3.9\ thinc\tests\unit copying thinc\tests\unit\test_feature_extracter.py -> build\lib.win-amd 64-3.9\thinc\tests\unit copying thinc\tests\unit\test_hash_embed.py -> build\lib.win-amd64-3.9\ thinc\tests\unit copying thinc\tests\unit\test_imports.py -> build\lib.win-amd64-3.9\thi nc\tests\unit copying thinc\tests\unit\test_linear.py -> build\lib.win-amd64-3.9\thin c\tests\unit copying thinc\tests\unit\test_loss.py -> build\lib.win-amd64-3.9\thinc\ tests\unit copying thinc\tests\unit\test_mem.py -> build\lib.win-amd64-3.9\thinc\t ests\unit copying thinc\tests\unit\test_model.py -> build\lib.win-amd64-3.9\thinc \tests\unit copying thinc\tests\unit\test_ops.py -> build\lib.win-amd64-3.9\thinc\t ests\unit copying thinc\tests\unit\test_pickle.py -> build\lib.win-amd64-3.9\thin c\tests\unit copying thinc\tests\unit\test_pooling.py -> build\lib.win-amd64-3.9\thi nc\tests\unit copying thinc\tests\unit\test_pytorch_wrapper.py -> build\lib.win-amd64 -3.9\thinc\tests\unit copying thinc\tests\unit\test_rates.py -> build\lib.win-amd64-3.9\thinc \tests\unit copying thinc\tests\unit\test_rnn.py -> build\lib.win-amd64-3.9\thinc\t ests\unit copying thinc\tests\unit__init.py -> build\lib.win-amd64-3.9\thinc\t ests\unit creating build\lib.win-amd64-3.9\thinc\tests\integration copying thinc\tests\integration\test_affine_learns.py -> build\lib.win- amd64-3.9\thinc\tests\integration copying thinc\tests\integration\test_basic_tagger.py -> build\lib.win-a md64-3.9\thinc\tests\integration copying thinc\tests\integration\test_batch_norm.py -> build\lib.win-amd 64-3.9\thinc\tests\integration copying thinc\tests\integration\test_feed_forward.py -> build\lib.win-a md64-3.9\thinc\tests\integration copying thinc\tests\integration\test_mnist.py -> build\lib.win-amd64-3. 9\thinc\tests\integration copying thinc\tests\integration\test_pickle.py -> build\lib.win-amd64-3 .9\thinc\tests\integration copying thinc\tests\integration\test_roundtrip_bytes.py -> build\lib.wi n-amd64-3.9\thinc\tests\integration copying thinc\tests\integration\test_shape_check.py -> build\lib.win-am d64-3.9\thinc\tests\integration copying thinc\tests\integration__init.py -> build\lib.win-amd64-3.9\ thinc\tests\integration creating build\lib.win-amd64-3.9\thinc\tests\linear copying thinc\tests\linear\test_avgtron.py -> build\lib.win-amd64-3.9\t hinc\tests\linear copying thinc\tests\linear\test_linear.py -> build\lib.win-amd64-3.9\th inc\tests\linear copying thinc\tests\linear\test_sparse_array.py -> build\lib.win-amd64- 3.9\thinc\tests\linear copying thinc\tests\linear__init__.py -> build\lib.win-amd64-3.9\thinc \tests\linear creating build\lib.win-amd64-3.9\thinc\linear copying thinc\linear__init__.py -> build\lib.win-amd64-3.9\thinc\linea r creating build\lib.win-amd64-3.9\thinc\neural copying thinc\neural\mem.py -> build\lib.win-amd64-3.9\thinc\neural
copying thinc\neural\pooling.py -> build\lib.win-amd64-3.9\thinc\neural copying thinc\neural\train.py -> build\lib.win-amd64-3.9\thinc\neural
copying thinc\neural\util.py -> build\lib.win-amd64-3.9\thinc\neural
copying thinc\neural\vec2vec.py -> build\lib.win-amd64-3.9\thinc\neural copying thinc\neural\vecs2vec.py -> build\lib.win-amd64-3.9\thinc\neura l copying thinc\neural\vecs2vecs.py -> build\lib.win-amd64-3.9\thinc\neur al copying thinc\neural_lsuv.py -> build\lib.win-amd64-3.9\thinc\neural
copying thinc\neural__init__.py -> build\lib.win-amd64-3.9\thinc\neura l creating build\lib.win-amd64-3.9\thinc\extra copying thinc\extra\datasets.py -> build\lib.win-amd64-3.9\thinc\extra copying thinc\extra\hpbff.py -> build\lib.win-amd64-3.9\thinc\extra
copying thinc\extra\load_nlp.py -> build\lib.win-amd64-3.9\thinc\extra copying thinc\extra\visualizer.py -> build\lib.win-amd64-3.9\thinc\extr a copying thinc\extra\wrappers.py -> build\lib.win-amd64-3.9\thinc\extra copying thinc\extra__init__.py -> build\lib.win-amd64-3.9\thinc\extra creating build\lib.win-amd64-3.9\thinc\neural_classes copying thinc\neural_classes\affine.py -> build\lib.win-amd64-3.9\thin c\neural_classes copying thinc\neural_classes\attention.py -> build\lib.win-amd64-3.9\t hinc\neural_classes copying thinc\neural_classes\batchnorm.py -> build\lib.win-amd64-3.9\t hinc\neural_classes copying thinc\neural_classes\convolution.py -> build\lib.win-amd64-3.9 \thinc\neural_classes copying thinc\neural_classes\difference.py -> build\lib.win-amd64-3.9\ thinc\neural_classes copying thinc\neural_classes\elu.py -> build\lib.win-amd64-3.9\thinc\n eural_classes copying thinc\neural_classes\embed.py -> build\lib.win-amd64-3.9\thinc \neural_classes copying thinc\neural_classes\encoder_decoder.py -> build\lib.win-amd64 -3.9\thinc\neural_classes copying thinc\neural_classes\feature_extracter.py -> build\lib.win-amd 64-3.9\thinc\neural_classes copying thinc\neural_classes\feed_forward.py -> build\lib.win-amd64-3. 9\thinc\neural_classes copying thinc\neural_classes\function_layer.py -> build\lib.win-amd64- 3.9\thinc\neural_classes copying thinc\neural_classes\hash_embed.py -> build\lib.win-amd64-3.9\ thinc\neural_classes copying thinc\neural_classes\layernorm.py -> build\lib.win-amd64-3.9\t hinc\neural_classes copying thinc\neural_classes\maxout.py -> build\lib.win-amd64-3.9\thin c\neural_classes copying thinc\neural_classes\model.py -> build\lib.win-amd64-3.9\thinc \neural_classes copying thinc\neural_classes\multiheaded_attention.py -> build\lib.win -amd64-3.9\thinc\neural_classes copying thinc\neural_classes\relu.py -> build\lib.win-amd64-3.9\thinc\ neural_classes copying thinc\neural_classes\resnet.py -> build\lib.win-amd64-3.9\thin c\neural_classes copying thinc\neural_classes\rnn.py -> build\lib.win-amd64-3.9\thinc\n eural_classes copying thinc\neural_classes\selu.py -> build\lib.win-amd64-3.9\thinc\ neural_classes copying thinc\neural_classes\softmax.py -> build\lib.win-amd64-3.9\thi nc\neural_classes copying thinc\neural_classes\static_vectors.py -> build\lib.win-amd64- 3.9\thinc\neural_classes copying thinc\neural_classes\init__.py -> build\lib.win-amd64-3.9\th inc\neural_classes creating build\lib.win-amd64-3.9\thinc\extra_vendorized copying thinc\extra_vendorized\keras_datasets.py -> build\lib.win-amd6 4-3.9\thinc\extra_vendorized copying thinc\extra_vendorized\keras_data_utils.py -> build\lib.win-am d64-3.9\thinc\extra_vendorized copying thinc\extra_vendorized\keras_generic_utils.py -> build\lib.win -amd64-3.9\thinc\extra_vendorized copying thinc\extra_vendorized\init__.py -> build\lib.win-amd64-3.9\ thinc\extra_vendorized creating build\lib.win-amd64-3.9\thinc\extra\wrapt copying thinc\extra\wrapt\decorators.py -> build\lib.win-amd64-3.9\thin c\extra\wrapt copying thinc\extra\wrapt\importer.py -> build\lib.win-amd64-3.9\thinc\ extra\wrapt copying thinc\extra\wrapt\wrappers.py -> build\lib.win-amd64-3.9\thinc\ extra\wrapt copying thinc\extra\wrapt\init.py -> build\lib.win-amd64-3.9\thinc\ extra\wrapt copying thinc\linalg.pyx -> build\lib.win-amd64-3.9\thinc copying thinc\structs.pyx -> build\lib.win-amd64-3.9\thinc copying thinc\typedefs.pyx -> build\lib.win-amd64-3.9\thinc copying thinc\cpu.pxd -> build\lib.win-amd64-3.9\thinc copying thinc\linalg.pxd -> build\lib.win-amd64-3.9\thinc copying thinc\structs.pxd -> build\lib.win-amd64-3.9\thinc copying thinc\typedefs.pxd -> build\lib.win-amd64-3.9\thinc copying thinc\init.pxd -> build\lib.win-amd64-3.9\thinc copying thinc\compile_time_constants.pxi -> build\lib.win-amd64-3.9\thi nc copying thinc\linalg.cpp -> build\lib.win-amd64-3.9\thinc copying thinc\structs.cpp -> build\lib.win-amd64-3.9\thinc copying thinc\typedefs.cpp -> build\lib.win-amd64-3.9\thinc copying thinc\linear\avgtron.pyx -> build\lib.win-amd64-3.9\thinc\linea r copying thinc\linear\features.pyx -> build\lib.win-amd64-3.9\thinc\line ar copying thinc\linear\linear.pyx -> build\lib.win-amd64-3.9\thinc\linear copying thinc\linear\serialize.pyx -> build\lib.win-amd64-3.9\thinc\lin ear copying thinc\linear\sparse.pyx -> build\lib.win-amd64-3.9\thinc\linear copying thinc\linear\avgtron.pxd -> build\lib.win-amd64-3.9\thinc\linea r copying thinc\linear\features.pxd -> build\lib.win-amd64-3.9\thinc\line ar copying thinc\linear\serialize.pxd -> build\lib.win-amd64-3.9\thinc\lin ear copying thinc\linear\sparse.pxd -> build\lib.win-amd64-3.9\thinc\linear copying thinc\linear\init.pxd -> build\lib.win-amd64-3.9\thinc\line ar copying thinc\linear\avgtron.cpp -> build\lib.win-amd64-3.9\thinc\linea r copying thinc\linear\features.cpp -> build\lib.win-amd64-3.9\thinc\line ar copying thinc\linear\linear.cpp -> build\lib.win-amd64-3.9\thinc\linear copying thinc\linear\serialize.cpp -> build\lib.win-amd64-3.9\thinc\lin ear copying thinc\linear\sparse.cpp -> build\lib.win-amd64-3.9\thinc\linear copying thinc\neural\ops.pyx -> build\lib.win-amd64-3.9\thinc\neural
copying thinc\neural\optimizers.pyx -> build\lib.win-amd64-3.9\thinc\ne ural copying thinc\neural_aligned_alloc.pyx -> build\lib.win-amd64-3.9\thin c\neural copying thinc\neural\cpu.pxd -> build\lib.win-amd64-3.9\thinc\neural
copying thinc\neural\ops.pxd -> build\lib.win-amd64-3.9\thinc\neural
copying thinc\neural\init.pxd -> build\lib.win-amd64-3.9\thinc\neur al copying thinc\neural\ops.cpp -> build\lib.win-amd64-3.9\thinc\neural
copying thinc\neural\optimizers.cpp -> build\lib.win-amd64-3.9\thinc\ne ural copying thinc\neural_aligned_alloc.cpp -> build\lib.win-amd64-3.9\thin c\neural copying thinc\extra\cache.pyx -> build\lib.win-amd64-3.9\thinc\extra
copying thinc\extra\eg.pyx -> build\lib.win-amd64-3.9\thinc\extra
copying thinc\extra\mb.pyx -> build\lib.win-amd64-3.9\thinc\extra
copying thinc\extra\search.pyx -> build\lib.win-amd64-3.9\thinc\extra
copying thinc\extra\cache.pxd -> build\lib.win-amd64-3.9\thinc\extra
copying thinc\extra\eg.pxd -> build\lib.win-amd64-3.9\thinc\extra
copying thinc\extra\mb.pxd -> build\lib.win-amd64-3.9\thinc\extra
copying thinc\extra\search.pxd -> build\lib.win-amd64-3.9\thinc\extra
copying thinc\extra\init__.pxd -> build\lib.win-amd64-3.9\thinc\extra copying thinc\extra\cache.cpp -> build\lib.win-amd64-3.9\thinc\extra
copying thinc\extra\eg.cpp -> build\lib.win-amd64-3.9\thinc\extra
copying thinc\extra\mb.cpp -> build\lib.win-amd64-3.9\thinc\extra
copying thinc\extra\search.cpp -> build\lib.win-amd64-3.9\thinc\extra
running build_ext error: Microsoft Visual C++ 14.0 or greater is required. Get it with "M icrosoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build- tools/ [end of output]
lem 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
icrosoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build- tools/ [end of output]
lem with pip. ERROR: Failed building wheel for blis Running setup.py clean for blis Failed to build preshed thinc blis Installing collected packages: wasabi, srsly, plac, murmurhash, cymem, wh eel, 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
icrosoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build- tools/ [end of output]
lem with pip. error: legacy-install-failure
ilable. You should consider upgrading via the 'C:\Users\kumbh\AppData\Local\Progr ams\Python\Python39\python.exe -m pip install --upgrade pip' command. [end of output]
note: This error originates from a subprocess, and is likely not a problem wi th 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. WARNING: You are using pip version 22.0.4; however, version 22.2.1 is availablethon\Python39\python.exe -m pip install --upgrade pip' command. . You should consider upgrading via the 'C:\Users\kumbh\AppData\Local\Programs\Py thon\Python39\python.exe -m pip install --upgrade pip' command. note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure. WARNING: You are using pip version 22.0.4; however, version 22.2.1 is ava ilable. You should consider upgrading via the 'C:\Users\kumbh\AppData\Local\Progr ams\Python\Python39\python.exe -m pip install --upgrade pip' command. [end of output]
note: This error originates from a subprocess, and is likely not a problem wi th 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. WARNING: You are using pip version 22.0.4; however, version 22.2.1 is available.