Jul-27-2023, 07:30 AM
I have update pip and setuptools, but I still can't install pak from .tar.gz
Error:❯ pip install ./qt-json-setting-0.7.tar.gz
Looking in indexes: https://mirrors.cloud.tencent.com/pypi/simple
Processing ./qt-json-setting-0.7.tar.gz
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
/home/tim/mambaforge/lib/python3.10/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'egg_info'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
My system information:Output:❯ neofetch
-` tim@TimTu-Arch
.o+` --------------
`ooo/ OS: Arch Linux x86_64
`+oooo: Host: Code01 Ver2.0 1
`+oooooo: Kernel: 6.4.4-arch1-1
-+oooooo+: Uptime: 2 days, 3 hours, 9 mins
`/:-:++oooo+: Packages: 1122 (pacman)
`/++++/+++++++: Shell: bash 5.1.16
`/++++++++++++++: Resolution: 2560x1600
`/+++ooooooooooooo/` DE: Plasma 5.27.6
./ooosssso++osssssso+` WM: kwin
.oossssso-````/ossssss+` Theme: NephriteLight [Plasma], Breeze [GTK2/3]
-osssssso. :ssssssso. Icons: [Plasma], Colloid [GTK2/3]
:osssssss/ osssso+++. Terminal: konsole
/ossssssss/ +ssssooo/- Terminal Font: Hack [SRC] 10
`/ossssso+/:- -:/+osssso+- CPU: AMD Ryzen 7 6800H with Radeon Graphics (16) @ 3.200GHz
`+sso+:-` `.-/+oso: GPU: AMD ATI Radeon 680M
`++:. `-/+/ Memory: 17361MiB / 30808MiB
.` `/