Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyproj UserWarning when loading argopy #301

Closed
gmaze opened this issue Oct 9, 2023 · 1 comment
Closed

pyproj UserWarning when loading argopy #301

gmaze opened this issue Oct 9, 2023 · 1 comment

Comments

@gmaze
Copy link
Member

gmaze commented Oct 9, 2023

EVERY TIME I import argopy from my jupyterlab notebooks I have the following warning:

/Users/gmaze/miniconda3/envs/argopy-base/lib/python3.8/site-packages/pyproj/__init__.py:89: 
UserWarning: pyproj unable to set database path.
  _pyproj_global_context_initialize()

Could this be removed ??

@gmaze
Copy link
Member Author

gmaze commented Oct 10, 2023

The warning was coming from the fact that I had "proj" installed on my base environment. I guess "pyproj" and "proj" should be installed on the same env.
I also noticed that I had to put pyproj and cartopy in the conda env definition for python 3.8

@gmaze gmaze closed this as completed Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant