Opened 10 years ago
Closed 10 years ago
#1428 closed enhancement (fixed)
Include GeoPandas on Live 8.5
Reported by: | darkblueb | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | OSGeoLive8.5 |
Component: | OSGeoLive | Keywords: | python, GeoPandas |
Cc: |
Description
on a current nightly, adding GeoPandas looked like this:
user@live12014:~$ sudo pip install geopandas [sudo] password for user: Downloading/unpacking geopandas Downloading geopandas-0.1.1.tar.gz Running setup.py (path:/tmp/pip_build_root/geopandas/setup.py) egg_info for package geopandas Requirement already satisfied (use --upgrade to upgrade): pandas in /usr/lib/python2.7/dist-packages (from geopandas) Requirement already satisfied (use --upgrade to upgrade): shapely in /usr/lib/python2.7/dist-packages (from geopandas) Requirement already satisfied (use --upgrade to upgrade): fiona in /usr/lib/python2.7/dist-packages (from geopandas) Downloading/unpacking descartes (from geopandas) Downloading descartes-1.0.1.tar.gz Running setup.py (path:/tmp/pip_build_root/descartes/setup.py) egg_info for package descartes Requirement already satisfied (use --upgrade to upgrade): pyproj in /usr/lib/python2.7/dist-packages (from geopandas) Requirement already satisfied (use --upgrade to upgrade): python-dateutil in /usr/lib/python2.7/dist-packages (from pandas->geopandas) Requirement already satisfied (use --upgrade to upgrade): pytz>=2011k in /usr/lib/python2.7/dist-packages (from pandas->geopandas) Requirement already satisfied (use --upgrade to upgrade): numpy>=1.6.1 in /usr/lib/python2.7/dist-packages (from pandas->geopandas) Requirement already satisfied (use --upgrade to upgrade): six in /usr/lib/python2.7/dist-packages (from fiona->geopandas) Installing collected packages: geopandas, descartes Running setup.py install for geopandas Running setup.py install for descartes Successfully installed geopandas descartes Cleaning up...
Change History (5)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
GeoPandas is now in the nightly PPA
python-geopandas 0.1.1-0~trusty Johan Van de Wauw (2014-12-22)
however, it fails to load (with this msg)
In [1]: import geopandas --------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-1-c9ee6bd24dbc> in <module>() ----> 1 import geopandas /usr/lib/python2.7/dist-packages/geopandas/__init__.py in <module>() 4 __version__ = '0.1.1' 5 ----> 6 from geopandas.geoseries import GeoSeries 7 from geopandas.geodataframe import GeoDataFrame 8 /usr/lib/python2.7/dist-packages/geopandas/geoseries.py in <module>() 4 import numpy as np 5 from pandas import Series, DataFrame ----> 6 import pyproj 7 from shapely.geometry import shape, Polygon, Point 8 from shapely.geometry.collection import GeometryCollection ImportError: No module named pyproj
comment:3 by , 10 years ago
Temporary workaround is to install python-pyproj and/or python3-pyproj manually, the permanent fix is to add the dependency to the geopandas package.
comment:4 by , 10 years ago
works fine in nightly build [12107] since python-pyproj is required by pycsw, so it is installed.
import geopandas works for me.
comment:5 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
kalxas has added a GeoPandas package earlier this year, but it is one version previous.. the Descarte plotting utility may need to be added as a dependancy.. Here is a detailed comparison between the GeoPandas package and what is commonly available today: