bpython-urwid command not found
In this troubleshooting guide we learn how to fix bpython-urwid command not found error message
Introduction
When you run more command in linux terminal / console, you get the following error message
bpython-urwid: command not found
or when using sudo you get the following error message
sudo: bpython-urwid: command not found
Solutions to bpython-urwid: command not found
How To Fix bpython-urwid: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu bpython-urwid is provided by bpython package.
bpython is:
bpython is a fancy interface to the Python interpreter, and has the following features:
- In-line syntax highlighting.
- Readline-like autocomplete with suggestions displayed as you type
- Expected parameter list for any Python function. Uses pydoc to attempt to divine params for C functions.
- “Rewind” function to pop the last line of code from memory and re-evaluate. Note: this is only really useful when laying out classes and functions, since a true “undo” function is impossible, so be careful when using this.
- Send the code you’ve entered off to a pastebin and display the pastebin URL for copying, etc.
- Save the code you’ve entered to a file.
- Auto-indentation.
- Anti-Crash Mode.
This package contains bpython for Python 3.
To fix this problem, we can install more using the command below.
sudo apt-get -y install bpython
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install bpython.
sudo apt -y install bpython
Or if you have aptitude installed you can use the following command.
sudo aptitude install bpython
Summary
In this tutorial we learn how to fix bpython-urwid command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.