py3compile not found
sudo dpkg –configure -a sudo apt install -f –reinstall python3-minimal sudo apt install -f –reinstall python3-pip
Iordanis Kazanas – Virtual Systems Administrator
sudo dpkg –configure -a sudo apt install -f –reinstall python3-minimal sudo apt install -f –reinstall python3-pip
pycuda fatal error: pyconfig.h: No such file or directory sudo apt-get install python3-dev pip3 install pycuda
sudo apt install python3.11-venv python3 -m venv my-project-env source ~/my-project-env/bin/activate (my-project-env) $ Once you are done with your work to deactivate the environment, simply type deactivate and you will return to your normal shell. deactivate
Check python version on terminal: python –version Execute this command to switch to python 3.11: sudo update-alternatives –install /usr/bin/python3 python3 /usr/bin/python3.11 1 Check python version: python –version