Problem installing package, how to solve?
Bo Berglund
bo.berglund at gmail.com
Fri Feb 2 09:27:42 UTC 2024
On Tue, 30 Jan 2024 13:37:17 +0000, Colin Watson <cjwatson at ubuntu.com> wrote:
>"pip uninstall streamlink" should be a start, though there are evidently
>some other locally-installed dependencies as well.
>From history I have this sequence before I finally managed to get it working:
10987 2024-01-29 20:54:59 apt policy streamlink
10989 2024-01-29 21:19:50 sudo apt install streamlink
10990 2024-01-29 21:20:41 sudo apt purge streamlink
11000 2024-01-29 21:35:48 pip uninstall streamlink
11002 2024-01-29 21:36:32 pip install streamlink
11005 2024-01-29 21:37:41 pip uninstall streamlink
11008 2024-01-29 21:38:26 sudo apt install streamlink
11009 2024-01-29 21:40:46 sudo apt show streamlink
11015 2024-01-29 21:50:11 sudo apt remove --purge streamlink
11017 2024-01-29 21:50:43 sudo apt install streamlink
11018 2024-01-29 21:51:52 pip uninstall streamlink
11019 2024-01-29 21:52:10 pip install streamlink --ignore-installed <==THIS!
A number of these commands *failed* due to some inconsistencies in my system.
But after doing my best to remove streamlink the final command succeeded and it
now shows the correct version:
$ streamlink -V
streamlink 6.5.1
>Hard to advise without knowing whether you're deliberately using pip outside a
>virtualenv for other things.
I don't know what that statement means...
What is "outside a virtualenv"???
I run my Ubuntu Server on a dedicated Lenovo minitower as one of several
multi-booted systems. But that is hardly called virtualenv, right?
And after initial install I have only seldom started any other of the operating
systems than the server.
There are an Ubuntu 20 desktop and a Windows 10 which came with the PC and is
left there because it is probably the only way to upgrade the system firmware
with Windows.
Plus there is a mini-system running GParted standalone which is (infrequently)
used to image the server partition to a USB drive for backup.
--
Bo Berglund
Developer in Sweden
More information about the ubuntu-users
mailing list