pyrpipe icon indicating copy to clipboard operation
pyrpipe copied to clipboard

'matplotlib' has no attribute 'get_data_path'`

Open Celine-075 opened this issue 5 months ago • 1 comments

Hi,

I downloaded the Pyrpipe package through git clone, but when I want to import it using from pyrpipe import sra,qc,mapping,assembly get the following:

`Traceback (most recent call last):

Cell In[2], line 1 from pyrpipe import sra,qc,mapping,assembly

File c:\users\celin\pyrpipe\pyrpipe_init_.py:28 from pyrpipe import reports

File c:\users\celin\pyrpipe\pyrpipe\reports.py:18 from pyrpipe import benchmark as bm

File c:\users\celin\pyrpipe\pyrpipe\benchmark.py:12 import seaborn as sns

File ~\anaconda3\Lib\site-packages\seaborn_init_.py:2 from .rcmod import * # noqa: F401,F403

File ~\anaconda3\Lib\site-packages\seaborn\rcmod.py:3 import matplotlib as mpl

File ~\anaconda3\Lib\site-packages\matplotlib_init_.py:964 cbook._get_data_path("matplotlibrc"),

File ~\anaconda3\Lib\site-packages\matplotlib\cbook.py:545 in _get_data_path return Path(matplotlib.get_data_path(), *args)

File ~\anaconda3\Lib\site-packages\matplotlib_api_init_.py:217 in getattr raise AttributeError(

AttributeError: module 'matplotlib' has no attribute 'get_data_path'`

What can I do to solve this?

Celine-075 avatar Jan 30 '24 15:01 Celine-075