On 8/10/24 7:22 PM, Kusoneko wrote:
You can probably just delete it and any other file that conflicts for
this. It was likely installed through `pip install -g` which is why
pacman isn't tracking it or what package it's from, if you're replacing
it with python-tqdm from the pacman repository, whatever installed it
through pip shouldn't be able to tell the difference.
Thank you!
I also found https://bbs.archlinux.org/viewtopic.php?id=285543 after I sent
the e-mail. I've just moved it to tqdm-orphan and installed python-tqdm.
The files are identical. It's some damn pip file that got pulled in from
some app. I hate that insecure python software supply-chain. I attempted to
remove it with pip and it gave a horrible warning:
<quote>
# pip uninstall /usr/bin/tqdm
ERROR: Invalid requirement: '/usr/bin/tqdm': Expected package name at the
start of dependency specifier
/usr/bin/tqdm
^
Hint: It looks like a path. The path does exist.
[19:21 valkyrie:.../pkg/bld/zchunk-git] # pip uninstall python-tqdm
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try 'pacman -S
python-xyz', where xyz is the package you are trying to
install.
If you wish to install a non-Arch-packaged Python package,
create a virtual environment using 'python -m venv path/to/venv'.
Then use path/to/venv/bin/python and path/to/venv/bin/pip.
If you wish to install a non-Arch packaged Python application,
it may be easiest to use 'pipx install xyz', which will manage a
virtual environment for you. Make sure you have python-pipx
installed via pacman.
note: If you believe this is a mistake, please contact your Python
installation or OS distribution provider. You can override this, at the risk
of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
</quote>
I'll have to find and remove the rest of the trash that slithered into my
box through pip.
--
David C. Rankin, J.D.,P.E.