Python: Difference between revisions

From DWIKI
mNo edit summary
(One intermediate revision by the same user not shown)
Line 13: Line 13:
  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==
deactivate


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

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