Open chfite opened 6 months ago
Have you tried downgrading cartopy? The error seems to be in this library
@julian-belina I ended up following the direction of https://github.com/proplot-dev/proplot/pull/450 which identifies this issue. @riley-brady mentions there he got a similar version error when importing proplot. Seems like it's all tied to incompatibility with newer matplotlib versions? I guess I am still not sure how this all ties back to the cartopy error above, but I am no developer by any means. I ran pip install git+https://github.com/proplot-dev/proplot.git
and it seems that it downgraded my matplotlib to 3.5.3 and my proplot to 0.9.5, and things at least appear to be working for now...hopefully a full resolution is found for future versions.
A solution is being worked on https://github.com/proplot-dev/proplot/pull/459
Please see https://github.com/proplot-dev/proplot/pull/459! Until this gets merged in and released as an official version, you can install proplot
via the following command to have compatibility with modern python versions and modern versions of matplotlib
, cartopy
, etc.
pip install git+https://github.com/proplot-dev/proplot.git@refs/pull/459/head
I have received the following error when trying to import proplot. I have tried switching to prior versions of the "packaging" module (with no luck) since it seems to have an issue with that in cartopy when proplot is imported. Is this a proplot issue, cartopy issue, or some other issue? Any advice on how to fix it?
proplot version is 0.9.7 cartopy version is 0.22.0 packing versions 21.3 up to 24.0 have been tested matplotlib version 3.4.3 python version is 3.9