did you move the whole project after you open it with pycharm?
if so, just remove the .idea/* (run rm -r .idea
under you project)
This problem is caused by: pycharm will create a .idea file under the project after the first time you import the project. SO the path in there will remain the old one after you moved the project. Thus the pycharm will keep trying to import ‘old_path/venv/bin/activate’ which is kept in .idea/*