CRSError: The EPSG code is unknown. PROJ: proj_create_from_database: C:\Program Files\PostgreSQL\10\share\contrib\postgis-3.2\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 0 whereas a number >= 2 is expected. It comes from another PROJ installation. #2721
Unanswered
mikaelagordon
asked this question in
Q&A
Replies: 2 comments 7 replies
-
The error you are running into is the same error mentioned here: https://pyproj4.github.io/pyproj/stable/gotchas.html#internal-proj-error-sqlite-error-on-select Since you are using conda, the solution is to make sure you are using the |
Beta Was this translation helpful? Give feedback.
7 replies
-
Hi, check the FAQs of rasterio packages to ensure libraries incompatibilies are dealt with: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I'm getting an error that my crs isn't valid (see this issue here.) I'm having the same issue as the second to most recent comment, using conda and with the Proj pointing to the postGIS installation of the proj.db. The issue runs all the way up the stack: pyproj, rasterio, etc. Are there any other ways to fix this than to uninstall postGIS? I need to be able to use both around the same time. Is there a way I can set the pointer in my env to the correct path? for me this would be
C:\Users\mikae\anaconda3\envs\geo_env\Library\share\proj.
I'm new to this and can't seem to figure out how to make it point to the correct proj.db file. Let me know what I can do/if more information is needed!
The error I get for reference:
CRSError: The EPSG code is unknown. PROJ: proj_create_from_database: C:\Program Files\PostgreSQL\10\share\contrib\postgis-3.2\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 0 whereas a number >= 2 is expected. It comes from another PROJ installation.
Beta Was this translation helpful? Give feedback.
All reactions