简体   繁体   中英

Not able to Install Gmplot in python Anaconda

I want to install gmplot on Anaconda ( I am user 64 bit Windows 10)

https://anaconda.org/mlgill/gmplot


run below command:

conda install -c mlgill gmplot=1.1.1

But I get this error message:

PackageNotFoundError: Package not found: '' Package missing in current win-64 channels: - gmplot 1.1.1*

Go to Python console in Anaconda . Use

pip install gmplot

Hello Mayank Khandelwal,

As you send the link is of OSX, for windows you can use below github link.

https://github.com/vgm64/gmplot

Use setup.py to install.

@Zap, after installation, you need to import the library before you can use it. Here is a simple flow. Open an Anaconda Prompt then type following commands

pip install gmplot

once installation is finished. Then launch a python console and import the library,

import gmplot

now you can use it directly as you want. For example,

import gmplot

# Create the map plotter:
gmap = gmplot.GoogleMapPlotter(37.766956, -122.448481, 14, apikey=apikey)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM