Installing basemap on Mac / Python. Ask Question Asked 3 years, 8 months ago. Active 8 days ago. Viewed 22k times 20. I'm having trouble to get the basemap to work in Python in my Mac. I keep receiving: from mpltoolkits.basemap import basemap ImportError: No module named basemap What I. Go to Download python official website and Download Python lastest version. Because you may see different version on python.org. Next double-click on the downloaded file and follow the instructions to install it. When it successfully install. You will see the “Installation was successful” message when Python is successfully installed. After this, download a good text editor in your system. When the download is complete, your Mac automatically opens the disk image for you. The disk image actually looks like a folder. Inside this folder, you see a number of files, including python.mpkg. The python.mpkg file is the one that contains the Python application. The text files contain information about the build, licensing, and any late. Python is a widely-used general-purpose, high-level programming language. This article will serve as a complete tutorial on How to download and install Python latest version on macOS / Mac OS X.
Note that the python.org releases only support versions of Windows that are supported by Microsoft (at the time of the release), so no recent release from python.org can be used on WIndows XP. See the Python for Mac OS X page. MacOS from 10.2 (Jaguar) to 10.15 (Catalina) includes a system version of Python 2, but it is best not to consider.
Install Xcode
Xcode is Apple's Integrated Development Environment (IDE). You might already have Xcode on your Mac. If not, you can get Xcode from Apple appstore.
Install Brew
Homebrew installs the stuff you need. Homebrew is a package manager for Mac OS
Usually your Python installation directory looks like this, add it to your PATH
Looking for Python 2.7? See below for specific releases. Python 3.8.3 May 13, 2020 Download Release Notes; Python 2.7.18 April 20, 2020 Download Release Notes; Python 3.7.7 March 10. The same source code archive can also be used to build the Windows and Mac versions, and is the starting point for ports to all other platforms. Download python 2.7 for pc. Python 2.7.11 - Dec. Download Mac OS X 32-bit i386/PPC installer; Download Mac OS X 64-bit/32-bit installer; Python 3.5.0 - Sept. Download Mac OS X 32-bit i386/PPC installer; Download Mac OS X 64-bit/32-bit installer; Python 2.7.10 - May 23, 2015. Download Mac OS X 32-bit i386/PPC installer; Download Mac OS X 64-bit/32-bit.