Internal Proj Error: proj_create: no database context specified #1262
Replies: 5 comments 15 replies
-
|
This is likely due to installation issues. Mind providing this information? Installation method/steps
Environment Information
|
Beta Was this translation helpful? Give feedback.
-
|
I'm running into the same issue. I've installed via Here are the contents of my |
Beta Was this translation helpful? Give feedback.
-
|
Yes
…On Tue, 5 Nov 2024 at 15:21, Alan D. Snow ***@***.***> wrote:
Did you call mamba activate to activate your virtual environment?
—
Reply to this email directly, view it on GitHub
<#1262 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQLWMSQFT6AWK5S74NA4DZ3Z7DO7JAVCNFSM6AAAAABRGVMFB2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMJVGYZDIMQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Hi all, I recently ran into this same issue trying to run on Windows in VS Code. I found that when I activated my environment in the Anaconda Powershell Prompt using I also found that there was something weird going on with the order in which you import pyproj and rasterio, but it sounds like that's still an open issue here. TLDR; an ad-hoc fix for this is to I hope that helps! |
Beta Was this translation helpful? Give feedback.
-
|
@djhoese, thanks very much for sharing that link. I hadn't come across this resource. It's also good to know that PROJ_DATA is the variable for setting the PROJ location now. I'm similar to the original poster here in that I'm fairly new to using python geopspatial packages (and conda). I've found that the documentation can sometimes be difficult to decipher so I wanted to post what worked for me in case someone came across this GitHub page in a similar manner as I had. Are these scripts in the repo you shared typically installed automatically when PROJ is installed with conda? If not, where do you recommend implementing the scripts in the link you provided or if are they designed to sit in a directory in my environment and run when the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Everyone,
Its already been a long time since I have had this error when executing the code, and I was not able to find a solution on the internet.
So the problem is the following, I created the new conda environment and installed geopandas. When I import geopandas, I get this warning:
Whenever I want to do a simple operation, for example, import shape file and change crs, I get the following error:
I searched for the problem, and it seems pyproj database is mixed, and that's causes the error. There is something mentioned on pyproj FAQ about the database directories, but it was difficult for me to fully understand how to solve it. Any suggestion?
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions