Python ModuleNotFoundError after system update, though it's installed

import yfinance as yf
Error on python execution:
ModuleNotFoundError: No module named ‘yfinance’

$ sudo pacman -Syu python-yfinance
[sudo] Mot de passe de x245 :
:: Synchronisation des bases de données de paquets…
core est à jour
extra est à jour
multilib est à jour
erreur : impossible de trouver la cible : python-yfinance

Thanks

But:
pacman -Qqe

python-matplotlib
python-pandas
python-pip
python-schedule
python-scipy
python-yfinance

This package is available from the AUR. pacman does not access the AUR. You’ll need pamac or yay for that. :point_down:

pamac build python-yfinance

… or… :point_down:

yay -Syu python-yfinance

Notes:

  • Do not use sudo with these commands; they will prompt you for a password when needed.

  • See the following note. :point_down:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.