Open In App

How to Install GoogleMaps Package in Python?

Improve
Improve
Like Article
Like
Save
Share
Report

GoogleMaps library is a python-based library that offers Web Services of Google Maps platform onto your Python application. You can access the Google Maps services like Places, Directions, Distance Matrix, etc. with APIs. GoogleMaps library is the cross-platformed library. You can plot the map by giving the appropriate coordinates. This can be useful in the projects of Data Visualization. So, in this article, we will be installing GoogleMaps library in Python on Linux Operating System.

Requirements:

Installing GoogleMaps package on Linux using PIP

To install the GoogleMaps package in Linux we have to follow the following steps:

Step 1: First of all, we will install Python3 on our Linux Machine. Use the following command in the terminal to install Python3.

sudo apt-get install python3

Installing-Python3

Step 2: Now, install the pip module which is required to install the packages in Python3. So we use the following command for installation:

sudo apt install python3-pip

Installing-pip

Step 3: Now, install the GoogleMaps package by using the pip module. Use the following command to install the GoogleMaps package.

sudo pip3 install googlemaps

 Install-the-GoogleMaps-package

Verifying GoogleMaps package Installation on Linux using PIP

To verify if the GoogleMaps package has been successfully installed in your system run the below command in the Linux terminal:

python3 -m pip show googlemaps

You’ll get the below message if the installation is complete:

Verifying-the-installation-of-GoogleMaps


Last Updated : 31 Jan, 2022
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads