Difference between revisions of "Python"

From DWIKI
 
Line 12: Line 12:
Try
Try
  update-alternatives --config python
  update-alternatives --config python
===update-alternatives: error: no alternatives for python===
update-alternatives --install /usr/bin/python python $(which python3) 3
==Leave virtualenv==
==Leave virtualenv==
  deactivate
  deactivate


[[Category:Programming]]
[[Category:Programming]]

Latest revision as of 22:21, 20 May 2022

Links


FAQ

-bash: python: command not found

Try

update-alternatives --config python

update-alternatives: error: no alternatives for python

update-alternatives --install /usr/bin/python python $(which python3) 3

Leave virtualenv

deactivate