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 working on adding Pyproj to my app that embeds its own Python environment, and it looks like Pyproj doesn't work well with pickle. Not sure if this is a known issue — I've tried searching, but didn't find anything (apologies if this has been mentioned somewhere).
Here is a couple of examples that reproduce the issue, where I create Pyproj objects and try to pickle and unpickle them. Let me know if these need to be treated as separate issues, I wasn't sure so figured I'd include both here for now:
I'm working on adding Pyproj to my app that embeds its own Python environment, and it looks like Pyproj doesn't work well with
pickle
. Not sure if this is a known issue — I've tried searching, but didn't find anything (apologies if this has been mentioned somewhere).Here is a couple of examples that reproduce the issue, where I create Pyproj objects and try to pickle and unpickle them. Let me know if these need to be treated as separate issues, I wasn't sure so figured I'd include both here for now:
Example 1:
Example 2:
Problem description
Both examples throw errors while loading the object from pickle file.
Example 1 throws multiple
CRSError
s ("Invalid coordinate operation name", "Invalid coordinate operation string"):Example 2 throws a
TypeError
:Expected Output
Both examples are expected to load their pickled objects successfully.
Environment Information
I'm running these examples in a Jupyter notebook on macOS, if that's of any importance.
Installation method
Installed from
pip
.The text was updated successfully, but these errors were encountered: