Python basemap installation problem

i tried
this command to test install but no luck i got
this message

from: can’t read /var/mail/ in Python scripts

If you add a Python file to your PATH, maybe you will see this error:

***from: can't read /var/mail/$First_Library_Name***

Then I saw advice for bash scripts, however I am running the command from terminal not in a file so I think this does not apply , anway it did not fix problem any advice please?

This happend, because you need to be explicit with application you want to run your script.
To fix it, just add in the first line of your script the following line:

#! /usr/bin/python

Getting these problems in jupyter:

What you are showing in the notebook is just a warning, not an error. It is saying that a certain method is deprecated, but you can proceed without any problem, it looks like the pachage has been installed.