Cannot find pip3, please install it on your system

I have Elementary OS 8 installed. PIP is installed.
I installed KDEnlive. In the settings I try to add enviroment. But I get an error (on the screen) " Cannot find pip3, please install it on your system.
How can I fix this?

If already installed, check it is installed in a directory listed in PATH environment variable"

Okay, this is not really a KDE issue, as it pertains to your distribution, but here goes:

You need to install pip3 (i.e. pip for Python 3) from your distro’s software repositories. Try with the graphical software manager, if not, as Elementary is based on Ubuntu, try

sudo apt update
apt search pip

from a terminal. This will show you your options. It will be a package called something like python3-pip.

When you have located the package, install it with

sudo apt install python3-pip

I have this package installed (I think).
Here is a screenshot below.
Or is this not it?
I would be grateful if you could help me figure this out.

It looks like you have pip3 already installed. What does

pip3 --version 

say?

alex@elemos:~$ pip3 --version 
pip 24.0 from /usr/lib/python3/dist-packages/pip (python 3.12)

Okay… So now try this:

which pip3
alex@elemos:~$ which pip3
/usr/bin/pip3

Okay… And what does

echo $PATH

say?

We are trying to determine whether the second part of the error message on Kdenlive is correct, that is, whether pip3 is not on your $PATH.

My suspicion is that Kdenlive is not correct, and there is something else going on here.

alex@elemos:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

Right, so pip3 is installed and is in a directory listed by PATH.

So… Where did you install Kdenlive from? Your distro’s repo, Flatpak, Snap, AppImage?

First I installed from Snap. Didn’t work.
Now the app is installed from Flatpak.

image

In your settings, what happens if you uncheck “Use python virtual environment”? Does it work then?

Found this solution in the docos:

Please read through it. It should solve your problem.

Bear in mind Flatpaks get executed in a container environment and cannot always reach resources outside their container, hence the problem you are seeing.

2 Likes

If I uncheck the box, what should work or not work?
I just want to try how enviroment works.
And not to clutter the OS with unnecessary libraries. )
So I unchecked the box and restarted the application:

Then is it easier to install Whisper first?
And then figure everything out?
What do you recommend Whisper or VOSK?

Or reinstall the app from Snap?
But it’s an old version.

started downloading.
I initially pressed the wrong button.

thank you! I understand this is what I need? )

In my experience, Whisper works better.

1 Like

Looks correct, yeah.

1 Like