venv broken after Ubuntu 22.04, or Pycharm 2022.1 upgrade

 

This is the state of python interpreter:

 

The suggested command produces:

```

andre@andre-wks:~$ source /home/andre/prog/PycharmProjects/garasjelys/venv/bin/activate
(venv) andre@andre-wks:~$ null
Command 'null' not found, but can be installed with:
sudo snap install null
(venv) (venv) andre@andre-wks:~$ pip install 
bash: /home/andre/prog/PycharmProjects/garasjelys/venv/bin/pip: /home/andre/prog/PycharmProjects/garasjelys/venv/bin/python: bad interpreter: No such file or directory

```

 

When changing to another python interpreter from the droplist, I also get:

 

 

I *suspect* this may have happened during the upgrade from Ubuntu 21.10 to 22.04

Please sign in to leave a comment.