You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to deploy an API implemented in Python that leverages Metpy for some calculations and unit transformations behind the scenes. I am using poetry instead of conda as my package manager, and by doing so when I try to add Metpy to my project I'm receiving various environment issues related to pyproj and proj.
The README.md indicates that pyproj is an optional dependency, which makes sense, because as I mentioned above I just want to use metpy to do some calculations. But then it links to the Installation Guide, which has no mention about how to install Metpy without pyproj. Are there explicit instructions on how to install Metpy without pyproj to bypass environment issues in non-Conda situations?
The text was updated successfully, but these errors were encountered:
Since pyproj is in the project.dependencies section rather than the project.optional-dependencies one, poetry will always try to install pyproj. With pip, I would install the rest of the dependencies in that list, then install MetPy without dependencies, that is:
pyproj has been a required dependency since 53776c1, so unfortunately the only thing to do here is update the README to reflect the current set of dependencies.
I'm curious what problems you're running into with pyproj/PROJ? In my experience those aren't usually too problematic.
What can be better?
I'm trying to deploy an API implemented in Python that leverages Metpy for some calculations and unit transformations behind the scenes. I am using poetry instead of conda as my package manager, and by doing so when I try to add Metpy to my project I'm receiving various environment issues related to
pyproj
andproj
.The
README.md
indicates thatpyproj
is an optional dependency, which makes sense, because as I mentioned above I just want to use metpy to do some calculations. But then it links to the Installation Guide, which has no mention about how to install Metpy withoutpyproj
. Are there explicit instructions on how to install Metpy withoutpyproj
to bypass environment issues in non-Conda situations?The text was updated successfully, but these errors were encountered: