nicoboss / nsz

NSZ - Homebrew compatible NSP/XCI compressor/decompressor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trying to install GUI

Kaffu093 opened this issue · comments

Hello, I hope I'm not a bother, I happen to have a problem, I'm new to Python and I don't know what causes this error that appears when trying to install the GUI

PS C:\Users\Cappuccino> pip3 install --upgrade nsz[gui]
Requirement already satisfied: nsz[gui] in c:\programas\python\lib\site-packages (4.5.0)
Requirement already satisfied: pycryptodome in c:\programas\python\lib\site-packages (from nsz[gui]) (3.19.0)
Requirement already satisfied: zstandard in c:\programas\python\lib\site-packages (from nsz[gui]) (0.22.0)
Requirement already satisfied: enlighten in c:\programas\python\lib\site-packages (from nsz[gui]) (1.12.2)
Collecting kivy (from nsz[gui])
  Using cached Kivy-2.2.1.tar.gz (24.0 MB)
  Installing build dependencies ... error
  error: subprocess-exited-with-error

  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [10 lines of output]
      Collecting setuptools
        Using cached setuptools-68.2.2-py3-none-any.whl.metadata (6.3 kB)
      Collecting wheel
        Using cached wheel-0.41.3-py3-none-any.whl.metadata (2.2 kB)
      Collecting packaging
        Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB)
      Collecting cython!=0.27,!=0.27.2,<=0.29.33,>=0.24
        Using cached Cython-0.29.33-py2.py3-none-any.whl (987 kB)
      ERROR: Could not find a version that satisfies the requirement kivy_deps.gstreamer_dev~=0.3.3 (from versions: none)
      ERROR: No matching distribution found for kivy_deps.gstreamer_dev~=0.3.3
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with 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.

Anyone know why is happening this error?
I installed NSZ without GUI successfully, but with GUI I have this problem
Thanks in advance, if you need more details I can give them!

Likely your Python version is too new for the Kivy framework used for the GUI. Uninstall whatever Python version you have installed. Then install Python 3.10.11 instead (https://www.python.org/downloads/release/python-31011/).

Alternatively it would be way easier for you to just use the Portable Windows version. For this just download and extract https://github.com/nicoboss/nsz/releases/download/4.5.0/nsz_v4.5.0_win64_portable.zip and everything will just work.

Thanks for responding @nicoboss

Surely is that because I recently installed Python 3.12.0 just now so, probably is that

Thank you so much!