Can't install pyTsetlinMachine
Leamistrik opened this issue · 0 comments
Hello, error:
PS C:\Users\DENIS\PycharmProjects\pythonProject> pip install pyTsetlinMachine
Collecting pyTsetlinMachine
Using cached pyTsetlinMachine-0.6.2.tar.gz (24 kB)
Preparing metadata (setup.py) ... done
Installing collected packages: pyTsetlinMachine
DEPRECATION: pyTsetlinMachine is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559
Running setup.py install for pyTsetlinMachine ... error
error: subprocess-exited-with-error
× Running setup.py install for pyTsetlinMachine did not run successfully.
│ exit code: 1
╰─> [27 lines of output]
running install
C:\Users\DENIS\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-310
creating build\lib.win-amd64-cpython-310\pyTsetlinMachine
copying pyTsetlinMachine\tm.py -> build\lib.win-amd64-cpython-310\pyTsetlinMachine
copying pyTsetlinMachine\tools.py -> build\lib.win-amd64-cpython-310\pyTsetlinMachine
copying pyTsetlinMachine_init_.py -> build\lib.win-amd64-cpython-310\pyTsetlinMachine
running build_ext
building 'libTM' extension
creating build\temp.win-amd64-cpython-310
creating build\temp.win-amd64-cpython-310\Release
creating build\temp.win-amd64-cpython-310\Release\pyTsetlinMachine
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IpyTsetlinMachine -IC:\Users\DENIS\AppData\Local\Programs\Python\Python310\include
-IC:\Users\DENIS\AppData\Local\Programs\Python\Python310\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC
\14.33.31629\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\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\um" "-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\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /TcpyTsetlinMachine/ConvolutionalTsetlinMachine.c /Fobuild\temp.win-amd64-cpython-310\Release\pyTsetlinMachine/ConvolutionalTsetlinMachine.obj
ConvolutionalTsetlinMachine.c
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IpyTsetlinMachine -IC:\Users\DENIS\AppData\Local\Programs\Python\Python310\include
-IC:\Users\DENIS\AppData\Local\Programs\Python\Python310\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC
\14.33.31629\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\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\um" "-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\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /TcpyTsetlinMachine/EmbeddingTsetlinMachine.c /Fobuild\temp.win-amd64-cpython-310\Release\pyTsetlinMachine/EmbeddingTsetlinMachine.obj
EmbeddingTsetlinMachine.c
pyTsetlinMachine/EmbeddingTsetlinMachine.c(149): warning C4244: =: ЇаҐ®Ўа §®ў ЁҐ "double" ў "unsigned int", ў®§¬®¦ Ї®вҐап ¤ ле
pyTsetlinMachine/EmbeddingTsetlinMachine.c(147): warning C4244: ЁЁжЁ «Ё§ жЁп: ЇаҐ®Ўа §®ў ЁҐ "double" ў "unsigned int", ў®§¬®¦ Ї®вҐап ¤ ле
pyTsetlinMachine/EmbeddingTsetlinMachine.c(353): warning C4244: return: ЇаҐ®Ўа §®ў ЁҐ "double" ў "float", ў®§¬®¦ Ї®вҐап ¤ ле
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IpyTsetlinMachine -IC:\Users\DENIS\AppData\Local\Programs\Python\Python310\include
-IC:\Users\DENIS\AppData\Local\Programs\Python\Python310\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC
\14.33.31629\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\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\um" "-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\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /TcpyTsetlinMachine/IndexedTsetlinMachine.c /Fobuild\temp.win-amd64-cpython-310\Release\pyTsetlinMachine/IndexedTsetlinMachine.obj
IndexedTsetlinMachine.c
pyTsetlinMachine/IndexedTsetlinMachine.c(32): fatal error C1083: ЌҐ г¤ Ґвбп ®вЄалвм д ©« ўЄ«о票Ґ: sys/time.h: No such file or directory,
error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\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.
╰─> pyTsetlinMachine
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.