geoplotlib icon indicating copy to clipboard operation
geoplotlib copied to clipboard

Running taxi example crashes python

Open tjpell opened this issue 6 years ago • 2 comments

Hi Andrea,

I love the idea of this package but have been unlucky when trying to run it on my computer.

When I try to run any file with this package (in jupyter or a .py), a second python process fires up, even when I am only running import statements.

When I get through to a drawing (.show()) step, the kernel or python crashes unexpectedly.

I attempted this and had the process crash with both my own examples that I had worked on and your taxi example. My collaborator, however, had no such issues.

I did have luck getting a still image to pop up using .inline(), but that was it.

Any ideas what might be going wrong?

tjpell avatar May 10 '18 07:05 tjpell

I'm getting the same segfault with regular python=3.6.5 on Mac OS Sierra. (I also get a similar crash with Jupyter/iPython using Anaconda)

This is my env:

future==0.16.0 geoplotlib==0.3.2 numpy==1.14.5 pyglet==1.3.2

--- code ---

>>> import geoplotlib
>>> data = geoplotlib.utils.read_csv('bus.csv')
>>> geoplotlib.dot(data)
>>> geoplotlib.show()
Segmentation fault: 11

clembie avatar Jun 25 '18 19:06 clembie

Hi Andrea,

Same here, OSX 10.14, MBP 2018, Anaconda, Python 3.7.1. I run the example, the various maps show, when I try closing the window, Python crashes. Let me know what I can provide you with.

Sebs-EOS-MBP:examples seb$ python choropleth.py
Traceback (most recent call last):
  File "/Users/seb/anaconda3/envs/ee/lib/python3.7/site-packages/pyglet/libs/darwin/cocoapy/runtime.py", line 755, in __call__
    result = f(objc_id, self.selector, *args)

Thanks

e5k avatar Dec 01 '18 07:12 e5k