Closed yoan34 closed 6 months ago
Maybe these issues before can help you? #30 #155
I already see the 30 and the 155 doesn't help me
Or maybe suggestions below?
Check tenacity
Version Compatibility: Sometimes, new versions of packages may not be compatible with other dependencies used in your project. It's a good idea to review the version history and changelog of tenacity
to identify any known compatibility issues. If you're unsure, consider testing with an earlier version of tenacity
.
Check Environment Variables: Ensure there are no incorrect environment variable or path settings that could interfere with Python's dependency lookup. Pay special attention to the PYTHONPATH
environment variable.
Rebuild the Virtual Environment: Occasionally, recreating the virtual environment can solve elusive issues. Try deleting the current virtual environment and let Poetry recreate and reinstall all dependencies.
Hi,
I'm encountering a ModuleNotFoundError that I've been unable to resolve despite attempting several solutions. I've detailed the steps I've taken below and am seeking guidance on what might be causing this issue and how to fix it.
Steps I've followed:
poetry run uvicorn new_app.main:api --reload
poetry show | grep tenacity
which confirms the package is installedDespite these steps, when I attempt to run my application, I still face a ModuleNotFoundError for the tenacity package. All other modules are imported correctly, and this issue seems to be isolated to tenacity.
Does anyone have any suggestions on what might be causing this issue or additional steps I could take to resolve it?