When I try to upgrade chatterbot, it just does not work. It says get c++ 14.0 or up, and I have it! I have to upgrade it, because it is using time.clock() somewhere in the code, and that doesn't work anymore, so I get an error. But, when I do pip install chatterbot --upgrade, I get this error message:
ERROR: Command errored out with exit status 1:
command: 'c:usersitsuwappdatalocalprogramspythonpython39python.exe' 'c:usersitsuwappdatalocalprogramspythonpython39libsite-packagespip' install --ignore-installed --no-user --prefix 'C:UsersitsuwAppDataLocalTemppip-build-env-10ire469overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools 'wheel>0.32.0,<0.33.0' Cython 'cymem>=2.0.2,<2.1.0' 'preshed>=2.0.1,<2.1.0' 'murmurhash>=0.28.0,<1.1.0' 'thinc>=7.0.8,<7.1.0'
cwd: None
Complete output (60 lines):
Collecting cymem<2.1.0,>=2.0.2
Using cached cymem-2.0.5-cp39-cp39-win_amd64.whl (36 kB)
Collecting murmurhash<1.1.0,>=0.28.0
Using cached murmurhash-1.0.5-cp39-cp39-win_amd64.whl (21 kB)
Collecting preshed<2.1.0,>=2.0.1
Using cached preshed-2.0.1.tar.gz (113 kB)
Collecting thinc<7.1.0,>=7.0.8
Using cached thinc-7.0.8.tar.gz (1.9 MB)
Collecting wheel<0.33.0,>0.32.0
Using cached wheel-0.32.3-py2.py3-none-any.whl (21 kB)
Collecting blis<0.3.0,>=0.2.1
Using cached blis-0.2.4.tar.gz (1.5 MB)
Collecting numpy>=1.7.0
Using cached numpy-1.19.5-cp39-cp39-win_amd64.whl (13.3 MB)
Collecting plac<1.0.0,>=0.9.6
Using cached plac-0.9.6-py2.py3-none-any.whl (20 kB)
Collecting srsly<1.1.0,>=0.0.6
Using cached srsly-1.0.5-cp39-cp39-win_amd64.whl (177 kB)
Collecting tqdm<5.0.0,>=4.10.0
Using cached tqdm-4.55.2-py2.py3-none-any.whl (68 kB)
Collecting wasabi<1.1.0,>=0.0.9
Using cached wasabi-0.8.0-py3-none-any.whl (23 kB)
Collecting Cython
Using cached Cython-0.29.21-py2.py3-none-any.whl (974 kB)
Collecting setuptools
Using cached setuptools-51.1.2-py3-none-any.whl (784 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: numpy, cymem, wasabi, tqdm, srsly, preshed, plac, murmurhash, blis, wheel, thinc, setuptools, Cython
Running setup.py install for preshed: started
Running setup.py install for preshed: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'c:usersitsuwappdatalocalprogramspythonpython39python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\itsuw\AppData\Local\Temp\pip-install-8ufj6imi\preshed_3866268e3dd24ad39617498b96541d5e\setup.py'"'"'; __file__='"'"'C:\Users\itsuw\AppData\Local\Temp\pip-install-8ufj6imi\preshed_3866268e3dd24ad39617498b96541d5e\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'
'"'"', '"'"'
'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:UsersitsuwAppDataLocalTemppip-record-ud66pf2pinstall-record.txt' --single-version-externally-managed --prefix 'C:UsersitsuwAppDataLocalTemppip-build-env-10ire469overlay' --compile --install-headers 'C:UsersitsuwAppDataLocalTemppip-build-env-10ire469overlayIncludepreshed'
cwd: C:UsersitsuwAppDataLocalTemppip-install-8ufj6imipreshed_3866268e3dd24ad39617498b96541d5e
Complete output (22 lines):
WARNING: The wheel package is not available.
running install
running build
running build_py
creating build
creating buildlib.win-amd64-3.9
creating buildlib.win-amd64-3.9preshed
copying preshedabout.py -> buildlib.win-amd64-3.9preshed
copying preshed\__init__.py -> buildlib.win-amd64-3.9preshed
creating buildlib.win-amd64-3.9preshedests
copying preshedestsest_counter.py -> buildlib.win-amd64-3.9preshedests
copying preshedestsest_hashing.py -> buildlib.win-amd64-3.9preshedests
copying preshedestsest_pop.py -> buildlib.win-amd64-3.9preshedests
copying preshedests\__init__.py -> buildlib.win-amd64-3.9preshedests
copying preshedcounter.pyx -> buildlib.win-amd64-3.9preshed
copying preshedmaps.pyx -> buildlib.win-amd64-3.9preshed
copying preshedcounter.pxd -> buildlib.win-amd64-3.9preshed
copying preshedmaps.pxd -> buildlib.win-amd64-3.9preshed
copying preshed\__init__.pxd -> buildlib.win-amd64-3.9preshed
running build_ext
building 'preshed.maps' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:usersitsuwappdatalocalprogramspythonpython39python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\itsuw\AppData\Local\Temp\pip-install-8ufj6imi\preshed_3866268e3dd24ad39617498b96541d5e\setup.py'"'"'; __file__='"'"'C:\Users\itsuw\AppData\Local\Temp\pip-install-8ufj6imi\preshed_3866268e3dd24ad39617498b96541d5e\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'
'"'"', '"'"'
'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:UsersitsuwAppDataLocalTemppip-record-ud66pf2pinstall-record.txt' --single-version-externally-managed --prefix 'C:UsersitsuwAppDataLocalTemppip-build-env-10ire469overlay' --compile --install-headers 'C:UsersitsuwAppDataLocalTemppip-build-env-10ire469overlayIncludepreshed' Check the logs for full command output.
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:usersitsuwappdatalocalprogramspythonpython39python.exe' 'c:usersitsuwappdatalocalprogramspythonpython39libsite-packagespip' install --ignore-installed --no-user --prefix 'C:UsersitsuwAppDataLocalTemppip-build-env-10ire469overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools 'wheel>0.32.0,<0.33.0' Cython 'cymem>=2.0.2,<2.1.0' 'preshed>=2.0.1,<2.1.0' 'murmurhash>=0.28.0,<1.1.0' 'thinc>=7.0.8,<7.1.0' Check the logs for full command output.
Is there a different link to install C++ 14.0 and up, or what, because I am getting real sick of this.