Installation problem
Closed this issue · 1 comments
aloboa commented
After apparentely successful installation with:
conda install -c conda-forge scipy cython pykdtree netcdf4
conda install -c conda-forge cartopy
pip install ncvue
I get:
(base) alobo@pop-os:~$ ncvue
Traceback (most recent call last):
File "/home/alobo/.local/bin/ncvue", line 5, in <module>
from ncvue.__main__ import main
File "/home/alobo/.local/lib/python3.9/site-packages/ncvue/__init__.py", line 91, in <module>
from .ncvscatter import ncvScatter
File "/home/alobo/.local/lib/python3.9/site-packages/ncvue/ncvscatter.py", line 50, in <module>
from matplotlib import pyplot as plt
File "/home/alobo/.local/lib/python3.9/site-packages/matplotlib/pyplot.py", line 66, in <module>
from matplotlib.figure import Figure, FigureBase, figaspect
File "/home/alobo/.local/lib/python3.9/site-packages/matplotlib/figure.py", line 43, in <module>
from matplotlib import _blocking_input, backend_bases, _docstring, projections
File "/home/alobo/.local/lib/python3.9/site-packages/matplotlib/projections/__init__.py", line 58, in <module>
from mpl_toolkits.mplot3d import Axes3D
File "/usr/lib/python3/dist-packages/mpl_toolkits/mplot3d/__init__.py", line 1, in <module>
from .axes3d import Axes3D
File "/usr/lib/python3/dist-packages/mpl_toolkits/mplot3d/axes3d.py", line 25, in <module>
import matplotlib.docstring as docstring
ModuleNotFoundError: No module named 'matplotlib.docstring'
I tried already after:
alobo@pop-os:~$ conda install matplotlib
mcuntz commented
Dear @aloboa
From a first view this looks like matplotlib is not well installed. You could try:
conda uninstall matplotlib
conda install matplotlib
or perhaps:
conda uninstall matplotlib
conda update --all
conda install matplotlib
Note that ncvue is also on conda-forge:
conda install -c conda-forge ncvue
It is always a good idea to work in virtual environments, here, for example, ncenv
:
conda install -n ncenv pip
conda activate ncenv
With a bit of luck, ncvue installs then just like this :-)
conda install -c conda-forge ncvue