You need to install whatever Python libraries using e.g. pip
or easy_install
before you can import the googlemaps
module in your Python code. This is because there is no GoogleMaps library that is built in to the Python standard library. I see you've already gotten started with using virtualenv, which is good. Also, perhaps you already installed a library, but maybe you installed the wrong one, or you installed it globally and then created a virtualenv, which by default is isolated from your globally installed packages. So either create a non-isolated virtualenv (not recommended) or install the package into the virtualenv (and uninstall globally).
Also, the second line you posted attempts to execute Python code directly on Bash, which doesn't work for obvious reasons, and gives a cryptic error message because Bash thinks you're expecting it to be a Bash command, and it just so happens that from
actually is a command.