BS4 and BeautifulSoup error from: can't read /var/mail/BeautifulSoup
The way to run a Python program is to type the code into a text file, or use a Python IDE. The error message you are getting suggests that you are typing Python code at the shell prompt; but the shell understanda shell script commands, not Python. (Once you have code in a file, typing python filename.py in the shell will run the Python code in the file filename.py.)
From Beautiful import Beautiful immediately responds with error "from: can't read /var/mail/BeautifulSoup".  Also tried with BS4 same result.
Used synaptic package to uninstall and re-install BS4 and BeautifulSoup. Same result. Tried complete removal and had same result. Used Terminal and it showed that BS4 and BeautifulSoup are not installed.
Using Python 2.7.6
Reviewed questions but only 2 respones and they did not help.
Any suggestions?