Closed lflowers39 closed 5 months ago
Thanks for posting. It may take a bit of time due to holiday season but we'll look into it. It may be that the problem is with the python 3.12 version which a few months back still had some compatibility issues. 3.11 is likely to work. We'll check it out.
I found that this issue was closed. Did you manage to solve it? What was the solution? I may be able to improve code or documentation.
I reinstalled from conda-forge as opposed to using pypi.
OS: Windows 10 Enterprise (OS Build = 19045.4291). python version 3.12.3 Installed from pypi with pip
conda activate
conda install -c conda-forge cartopy geopandas rasterio
pip install pyopenrivercam
Full Error:
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "", line 1, in
File "C:\Users\lflores\Anaconda3\envs\EAsPyORC\Lib\site-packages\pyorc__init__.py", line 2, in
from .api.cameraconfig import CameraConfig, load_camera_config, get_camera_config
File "C:\Users\lflores\Anaconda3\envs\EAsPyORC\Lib\site-packages\pyorc\api\cameraconfig.py", line 17, in
from .. import cv, helpers
File "C:\Users\lflores\Anaconda3\envs\EAsPyORC\Lib\site-packages\pyorc\cv.py", line 6, in
from pyorc import helpers
File "C:\Users\lflores\Anaconda3\envs\EAsPyORC\Lib\site-packages\pyorc\helpers.py", line 227, in
def get_lons_lats(xs, ys, src_crs, dst_crs=CRS.from_epsg(4326)):
^^^^^^^^^^^^^^^^^^^
File "rasterio\crs.pyx", line 590, in rasterio.crs.CRS.from_epsg
rasterio.errors.CRSError: The EPSG code is unknown. PROJ: proj_create_from_database: Cannot find proj.db