PyCharm: Refresh virtual environment for a project
For PyCharm 2018.3.4, I solved this by verifying that the correct source locations are specified under File/Settings/Project::Project Structure. All of the valid source directories should be marked as "Sources" and the venv directory should marked as Excluded, at least that's what worked for me.