Question:
I have a repl that seemed to be working fine yesterday but when it ran today I got an error after my first import statement of a package that the package manager says is installed. It is listed in pyproject.toml also.
When the app runs I get a console error of:
Traceback (most recent call last):
File "main.py", line 2, in <module>
import yfinance as yf
ModuleNotFoundError: No module named 'yfinance'
If I try to add via shell:
$ poetry add yfinance==0.1.74
poetry: command not installed. Multiple versions of this command were found in Nix.
Select one to run (or press Ctrl-C to cancel):
>
python39Packages.poetry.out
poetry.out
python38Packages.poetry.out
This is odd to me since it ran fine yesterday without any changes being made.