Deleting .idea
folder, restarting pycharm and selecting the interpreter again did the trick for me.
I think in my case the issue might have occurred due to deleting the old .venv
folder created with poetry and re-creating .venv
with uv. Maybe pycharm caches something in .idea