XCoder
XCoder copied to clipboard
pylzham installation error (Python v3.11)
Need Help Defaulting to user installation because normal site-packages is not writeable Collecting pylzham Using cached pylzham-0.1.3.tar.gz (112 kB) Preparing metadata (setup.py) ... done Installing collected packages: pylzham DEPRECATION: pylzham 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 https://github.com/pypa/pip/issues/8559 Running setup.py install for pylzham ... error error: subprocess-exited-with-error
× Running setup.py install for pylzham did not run successfully. │ exit code: 1 ╰─> [22 lines of output] WARNING: '' not a valid package name; please use only .-separated package names in setup.py running install C:\Program Files\Python311\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-311 creating build\lib.win-amd64-cpython-311\lzham copying src\lzham\compress.py -> build\lib.win-amd64-cpython-311\lzham copying src\lzham\decompress.py -> build\lib.win-amd64-cpython-311\lzham copying src\lzham_init_.py -> build\lib.win-amd64-cpython-311\lzham running build_ext building '_lzham' extension creating build\temp.win-amd64-cpython-311 creating build\temp.win-amd64-cpython-311\Release creating build\temp.win-amd64-cpython-311\Release\src creating build\temp.win-amd64-cpython-311\Release\src\lib "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD "-IC:\Program Files\Python311\include" "-IC:\Program Files\Python311\Include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" /EHsc /Tpsrc/lib/lzham_api.cpp /Fobuild\temp.win-amd64-cpython-311\Release\src/lib/lzham_api.obj lzham_api.cpp C:\Users\komar\AppData\Local\Temp\pip-install-olv8x8kn\pylzham_2da7e0719a7a478f8529a8fe698927b1\src\lib\lzham_core.h(61): fatal error C1083: ЌҐ г¤ Ґвбп ®вЄалвм д ©« ўЄ«о票Ґ: windows.h: No such file or directory, error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\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. ╰─> pylzham
note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.
Try just not to install pylzham. the sc compression module may use a native windows library for this compression type
How do i not install pylzham?
what the command prompt are you using
What do you mean by that?
how did you install the requirements
pip install -r requirements.txt
If you have discord can you add me 3D Printing Guy#9881 I think it will be easier to discuss this.
Hello I have sent you a friend request, hope you can respond
Have you solved your problem?