Trying to get Finance Tracker widgit working

Right now this is what it shows.


So I install yfinance using python-pipx.

$ pipx install yfinance
WARNING: Skipping setuptools as it is not installed.
  installed package yfinance 1.4.1, installed using Python 3.14.5
  These apps are now available
    - sample
⚠  Note: '/home/g/.local/bin' is not on your PATH environment variable. These apps will not be globally
    accessible until your PATH is updated. Run `pipx ensurepath` to automatically add it, or manually modify
    your PATH in your shell's config file (e.g. ~/.bashrc).
done! ✨ 🌟 ✨

Now I am not sure what the message at the end means about PATH environment variable. Can someone explain what the message means?

,and adding yfinance did not fix the widgit :face_with_diagonal_mouth:

PATH is a special environment variable that lists directories to search for executable commands. When you type a command (like cd, cp, ls etc.) without a full path, e.g. bash looks in directories like /usr/bin and other directories defined in your PATH to find the program.

In your case, apparently the directory where the app/binary is installed to is not in your PATH according to the message you posted.

You could list your PATH, in a terminal: echo $PATH

You could add the mentioned directory to your PATH:

or,

First make a backup copy of your current .bashrc. Then add the following line at the bottom of .bashrc:


export PATH="$HOME/.local/bin:$PATH"

After that, run source .bashrc in a terminal.

That was about PATH. Now if this will make your widget work, I don’t know. I’m not that familiar with KDE Plasma and its widgets.

I ve given up on trying to make it work. I found a terminal app in AUR, (mop), that shows me what I want. Too bad though. The widgit would have been nice.

Thanks for taking your time to reply! Now I know what that message means and what PATH is.

No doubt the Linux veterans see this thread, and shake there head. Thing is there is a lot of basic stuff I know about, but have never learned or done, like making scripts, the PATH thing, making syslinks, building from source…I just never needed to learn it. Once in a while I have to though. Makes me appreciate this forum.

Yeah, you live and learn. And practice humbleness and thankfulness.