79408047

Date: 2025-02-03 07:10:05
Score: 1
Natty:
Report link

Have you looked at sys.path?
(i.e. poetry run python -c "import sys; print (sys.path)")
A very quick&dirty solution could be appending the sys.path with wherever poetry installed the packages (probably a venv depending on how you configured your poetry according to this: https://python-poetry.org/docs/cli/#install).

If you see tensorflow installed in the project specifc venv (e.g. in <PROJECT-DIR>/.venv/Lib/site-packages/) my best bet is that something is fishy with your project installation or poetry installation.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: stalbrec