Python Forum
error: invalid command 'egg_info'
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
error: invalid command 'egg_info'
#1
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 .` `/
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [ERROR] ParamValidationError: Parameter validation failed: Invalid type for parameter gdbengo 3 11,099 Dec-26-2022, 08:48 AM
Last Post: ibreeden
  Command error - cursor.executemany(comandoSQL,valoresInserir) TecInfo 2 1,360 Nov-18-2022, 01:57 PM
Last Post: TecInfo
  Invalid format specifier Error Led_Zeppelin 2 7,861 Jul-11-2022, 03:55 PM
Last Post: Led_Zeppelin
Exclamation Invalid syntax error(Predict Ethereum Price) lulu43366 2 3,183 Sep-24-2021, 01:24 PM
Last Post: lulu43366
  Unexplained Invalid syntax Error cybertooth 5 3,283 Aug-02-2021, 10:05 AM
Last Post: cybertooth
  Invalid syntax error - need help fixing calgk01 3 3,303 Feb-23-2021, 08:41 PM
Last Post: nilamo
  Error on nested loop : Invalid syntax dvazquezgu 3 3,243 Nov-25-2020, 10:04 AM
Last Post: palladium
  ERROR: Command errored out with exit status 1 calesii 3 7,193 Oct-23-2020, 05:39 PM
Last Post: snippsat
  Invalid Syntax error Dave1835 2 2,180 Sep-21-2020, 04:38 AM
Last Post: perfringo
  Error when running mktorrent subprocess command pythonnewbie138 4 3,878 Sep-16-2020, 01:55 AM
Last Post: pythonnewbie138

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020