This forum has been archived. All content is frozen. Please use KDE Discuss instead.

pip3 not found

Tags: opentimelineio, path, kdenlive, pip3 opentimelineio, path, kdenlive, pip3 opentimelineio, path, kdenlive, pip3
(comma "," separated)
chubbant
Registered Member
Posts
1
Karma
0

pip3 not found

Sat Jul 02, 2022 6:35 am
When attempting to export a file using OpenTimelineIO export, I get an error message that pip3 can not be found.
Cannot find pip3, please install it on your system.
If already installed, check it is installed in a directory listed in PATH environment variable


I installed Kdenlive 22.04.2 on Ubuntu 22.04 using flatpak.

I have pip3 installed inside my standard conda environment:

(base) <>:~$ whereis pip3
pip3: /usr/bin/pip3 /home/<>/anaconda3/bin/pip3
(base) <>:~$ echo $PATH
/home/<>/anaconda3/bin:/home/<>/anaconda3/condabin:/home/<>/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin


It's also installed in 'standard' bash and available in PATH:

<>:~$ whereis pip3
pip3: /usr/bin/pip3 /home/<>/anaconda3/bin/pip3 /usr/share/man/man1/pip3.1.gz
<>:~$ echo $PATH
/home/<>/anaconda3/condabin:/home/<>/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin


Sadly Kdenlive does not see pip3 or the PATH correctly. I have searched all possible config files (not sure exactly where to look) and can't find a way to hard code the full path.
frdbr
Registered Member
Posts
9
Karma
1

Re: pip3 not found

Sat Jul 02, 2022 1:43 pm
Yes, this is a regression and it should be fixed for next release.
waldirio
Registered Member
Posts
6
Karma
0
OS

Re: pip3 not found

Wed Mar 01, 2023 5:43 am
Hello folks,

I hope this helps.

I'll add here the steps on linux, but it will be very similar to windows box as well.

Code: Select all
$ python3 -m venv ~/.venv/otio
$ source ~/.venv/otio/bin/activate
(otio) [user@ironman ~]$
(otio) [user@ironman ~]$ pip install --upgrade pip
(otio) [user@ironman ~]$ pip install opentimelineio


Using the same terminal, you can open the kdenlive binary, create your track and try to export it.

If you still facing issues on windows, I'll check real quick how you can do it.

Ps.: pip3 will be available inside your virtual environment.

btw, you can see some info here about virtual environment in python - youtube/@waldirio, it will clarify any questions that you may have about it.

Thanks
Waldirio


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]