Greetings,
How are you instantiating miniconda? If you are just manually setting a $PATH
variable, then your shell is missing out on other variables that miniconda may
be wishing to set at activation time. In this case PROJ_LIB. see:
etc/conda/activate.d/proj4-activate.sh
Additionally, a best practice is to install packages into a dedicated
environment and not the base environment.
Now for LDM, having each shell invocation run a conda environment activation
can create horrible latency for some workflows. In such case, just add the
needed PROJ_LIB setting when you set your PATH. For your example I am setting
export PROJ_LIB=/home/ldm/miniconda3/share/proj
daryl
________________________________________
From: python-users <python-users-bounces@xxxxxxxxxxxxxxxx> on behalf of Weber,
Jim <Jim.Weber@xxxxxxx>
Sent: Tuesday, May 17, 2022 2:15 PM
To: python-users@xxxxxxxxxxxxxxxx
Subject: [python-users] miniconda error message
Hi,
I upgraded to metpy 1.3.0 last month and notice a little after I was getting a
warning message. It does not seem to affect the end result of anything that I
run, but it throws it out for anything that I run. Any idea of how I can
resolve the issue for this error:
/home/ldm/miniconda3/lib/python3.9/site-packages/pyproj/__init__.py:89:
UserWarning: pyproj unable to set database path.
Thanks for any help!
Jim Weber
This message and its attachments may contain legally privileged or confidential
information. It is intended solely for the named addressee(s). If you are not
an addressee indicated in this message (or responsible for delivery of the
message to an addressee), you may not copy or deliver this message or its
attachments to anyone. Rather, you should permanently delete this message and
its attachments and kindly notify the sender by reply e-mail. Any content of
this message and its attachments that does not relate to the official business
of Fox Corporation, or its subsidiaries must be taken not to have been sent or
endorsed by any of them. No representation is made that this email or its
attachments are without defect.