Closed adrienbanse closed 2 months ago
Do you get the error once you run your main script or is it a message displayed by your IDE ?
The other day I had a problem with VS Code that could be similar.
To solve it in VS Code I did : Ctrl + Shift + P,
searched for Python: Select Interpreter
and selected the python interpreter from my venv file.
If it's not solved, please share your script, I'll see If I have the same issue
If you want to make sure a script runs with the right virtualenv you can do poetry shell
and python ...
or simply poetry run ...
It's solved thanks 🙏
It's probably very basic but any idea why I have to run
poetry install --all-extras --with dev,docs
everytime I make a change in the code to be able to run my__main__.py
script? Otherwise I very often getModuleNotFoundError: No module named 'genai_impact'
.