Coder Social home page Coder Social logo

Comments (9)

andrea-cuttone avatar andrea-cuttone commented on August 15, 2024

Hi

is this solved if you install matplotlib?

from geoplotlib.

sudheesh001 avatar sudheesh001 commented on August 15, 2024

Hi looks like this is resolved. it was a strange issue which seems to appear randomly. I am closing this as of now as it works for me in this case. Sorry for the trouble 👍

from geoplotlib.

andrea-cuttone avatar andrea-cuttone commented on August 15, 2024

No worries. Happy to hear you got it to work :)

from geoplotlib.

hitpotato avatar hitpotato commented on August 15, 2024

@sudheesh001 Hi, I am having ImportError: cannot import name get_cmap too, How did you solve it?

Thanks,

from geoplotlib.

andrea-cuttone avatar andrea-cuttone commented on August 15, 2024

Hi

as mentioned before, do you have matplotlib installed?

from geoplotlib.

hitpotato avatar hitpotato commented on August 15, 2024

Yes, I did, and import matplotlib did work in python. I actually can import numpy, scipy, pylab and pyglet in python too.

Here is the error message I got(Windows 10, pip installation):
error

from geoplotlib.

andrea-cuttone avatar andrea-cuttone commented on August 15, 2024

if you run a python console and execute the following:

import matplotlib
print matplotlib.__version__

what does it show?

and if you run the following:

from pylab import get_cmap

do you get the same error?

from geoplotlib.

hitpotato avatar hitpotato commented on August 15, 2024

For the first one, I got:
1.5.2
For the sec, I got:

Traceback (most recent call last):
   File"<stdin>", line 1, in <module>
ImportError: cannot import name get_camp

from geoplotlib.

andrea-cuttone avatar andrea-cuttone commented on August 15, 2024

I looked at the released versions, and the closest versions in pip are 1.5.1 and 2.0.0b1, but I do not see this 1.5.2.
I tried the 1.5.1 and then 2.0.0b1 versions, and both work fine since the get_cmap method is there.

How did you install matplotlib?

If you do a pip list, which version of matplotlib is shown?

from geoplotlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.