Bug#1013186: python3-geopandas: geopandas is missing PROJ data directory

Akkana Peck dev at shallowsky.com
Sat Jun 18 18:41:34 BST 2022


Package: python3-geopandas
Version: 0.10.2-1
Severity: normal
X-Debbugs-Cc: dev at shallowsky.com

Dear Maintainer,

import geopandas
results in the following warning:

/usr/lib/python3/dist-packages/pyproj/__init__.py:91: UserWarning: Valid PROJ data directory not found. Either set the path using the environmental variable PROJ_LIB or with `pyproj.datadir.set_data_dir`.
  warnings.warn(str(err))

If I create a new pythonenv and install geopandas there, e.g.:

python3 -m venv /path/to/new/env
source /path/to/new/env/bin/activate
pip install geopandas

then I can import geopandas without the warning.

I'm new to geopandas, just trying to work through some tutorials,
so I'm not sure yet how often this proj dir will be needed or how
important it is; the cartopy tutorial still works without it (I
guess it's getting its projections from cartopy instead of
geopandas).


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (600, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-geopandas depends on:
ii  python3          3.10.4-1+b1
ii  python3-fiona    1.8.21-1+b1
ii  python3-numpy    1:1.21.5-1
ii  python3-pandas   1.3.5+dfsg-4
ii  python3-pyproj   3.3.1-1
ii  python3-shapely  1.8.0-1+b1
ii  python3-six      1.16.0-3

Versions of packages python3-geopandas recommends:
pn  python3-descartes   <none>
pn  python3-geopy       <none>
ii  python3-matplotlib  3.5.1-2+b1
ii  python3-psycopg2    2.9.2-2
pn  python3-rtree       <none>

python3-geopandas suggests no packages.

-- no debconf information



More information about the Pkg-grass-devel mailing list