Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install pyTsetlinMachine #11

Open
Leamistrik opened this issue Oct 18, 2022 · 0 comments
Open

Can't install pyTsetlinMachine #11

Leamistrik opened this issue Oct 18, 2022 · 0 comments

Comments

@Leamistrik
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant