Control: tags -1 unreproducible moreinfo

On 6/18/22 19:41, Akkana Peck wrote:
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))

pyproj works as expected:

>>> import pyproj
>>> pyproj.datadir.get_data_dir()
'/usr/share/proj'


geopandas works too:

>>> import geopandas
>>> from geopandas.tools._show_versions import show_versions
>>> show_versions()

SYSTEM INFO
-----------
python     : 3.10.5 (main, Jun  8 2022, 09:26:22) [GCC 11.3.0]
executable : /usr/bin/python3
machine    : Linux-5.17.0-2-amd64-x86_64-with-glibc2.33

GEOS, GDAL, PROJ INFO
---------------------
GEOS       : 3.10.3
GEOS lib   : /usr/lib/x86_64-linux-gnu/libgeos_c.so
GDAL       : 3.5.0
GDAL data dir: /usr/share/gdal
PROJ       : 9.0.0
PROJ data dir: /usr/share/proj

PYTHON DEPENDENCIES
-------------------
geopandas  : 0.10.2
pandas     : 1.3.5
fiona      : 1.8.21
numpy      : 1.21.5
shapely    : 1.8.0
rtree      : 1.0.0
pyproj     : 3.3.1
matplotlib : 3.5.1
mapclassify: None
geopy      : 2.2.0
psycopg2   : 2.9.2 (dt dec pq3 ext lo64)
geoalchemy2: None
pyarrow    : None
pygeos     : None


This suggests something is wrong in your environment.

Kind Regards,

Bas

--
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

Reply via email to