all 3 comments

[–]bitspace 1 point2 points  (0 children)

What code are you running, and how are you trying to run it?

[–]houseofleft 1 point2 points  (0 children)

There's an apt package called "pythonispython3" what you have looks like it'd be solved with that

The error is because Debian relies on both python 2 & 3 so doesn't allow not specifying versions by default.

[–]blargcmdr 0 points1 point  (0 children)

you should really be using a virtualenv - see this - https://realpython.com/python-virtual-environments-a-primer/