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
Thanks for all your hard work on this open project!
I have a problem with importing proplot on my Ubuntu 18. In README you mentioned that cartopy is used for optional geographic mapping features so I am assuming cartopy is an optional dependency. However, I have a problem with import proplot and this is the error ModuleNotFoundError: No module named 'cartopy' also I have matplotlib and numpy installed. Is this behavior a bug or am I missing something?
Here is the results of import:
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-41f69010d0c1> in <module>()
----> 1 import proplot as plot
/home/vezeli/.local/lib/python3.6/site-packages/proplot/__init__.py in <module>()
10 from .rcmod import * # custom configuration implementation
11 from .utils import * # misc stuffimport cartopy
---> 12 from .axes import * # everything, axes definitions
13 from .subplots import *
14 from .gridspec import *
/home/vezeli/.local/lib/python3.6/site-packages/proplot/axes.py in <module>()
81 # TODO: Import matplotlib docstring func, use it?
82 from .rcmod import rc, _rc_names_nodots
---> 83 from . import utils, projs, colortools, fonttools, axistools
84 from .utils import _default, _timer, _counter, ic, units
85 from .gridspec import FlexibleGridSpec, FlexibleGridSpecFromSubplotSpec
/home/vezeli/.local/lib/python3.6/site-packages/proplot/projs.py in <module>()
77 import matplotlib.path as mpath
78 import warnings
---> 79 import cartopy
80 from .rcmod import rc
81 try:
ModuleNotFoundError: No module named 'cartopy'
Since the problem is in line #79import cartopy in projs.py I tried moving this line inside the try environment in #81 but this didn't solve my problem. Any suggestions on how to import proplot successfully?
The text was updated successfully, but these errors were encountered:
Patch 2ae8fe5 fixed it. I tested import proplot as plot in the regular jupyter notbook and it runs smoothly but when I tested in Ipython there is an issue with the %autosave since I have an old version of Ipython 5.5.0 installed and it does not support %autosave magic function. However, I could solve the problem by changing the nbsetup variable in .proplotrc to False.
Hey!
Thanks for all your hard work on this open project!
I have a problem with importing proplot on my Ubuntu 18. In README you mentioned that cartopy is used for optional geographic mapping features so I am assuming cartopy is an optional dependency. However, I have a problem with
import proplot
and this is the errorModuleNotFoundError: No module named 'cartopy'
also I have matplotlib and numpy installed. Is this behavior a bug or am I missing something?Here is the results of import:
Since the problem is in line #79
import cartopy
in projs.py I tried moving this line inside the try environment in #81 but this didn't solve my problem. Any suggestions on how toimport proplot
successfully?The text was updated successfully, but these errors were encountered: