GSEApy icon indicating copy to clipboard operation
GSEApy copied to clipboard

No module named 'gseapy.gse'

Open ShriHarshaAdapalaThirumala opened this issue 11 months ago • 6 comments

Setup

I am reporting a problem with GSEApy version, Python version, and operating system as follows:

import sys; print(sys.version)
import platform; print(platform.python_implementation()); print(platform.platform())

3.11.4 | packaged by conda-forge | (main, Jun 10 2023, 18:08:41) [Clang 15.0.7 ]
CPython
macOS-13.4.1-arm64-arm-64bit

(Please copy and run the above in your Python, and copy-and-paste the output)

Expected behaviour

import gseapy as gp

Should get import without any issue

Actual behaviour


ModuleNotFoundError Traceback (most recent call last) Cell In[57], line 1 ----> 1 import gseapy as gp

File ~/Documents/programming_environments/bio_env/lib/python3.11/site-packages/gseapy/init.py:9 7 from .biomart import Biomart 8 from .enrichr import Enrichr ----> 9 from .gsea import GSEA, Prerank, Replot, SingleSampleGSEA 10 from .parser import get_library_name 11 from .plot import barplot, dotplot, gseaplot, heatmap

File ~/Documents/programming_environments/bio_env/lib/python3.11/site-packages/gseapy/gsea.py:15 12 import pandas as pd 14 from gseapy.base import GSEAbase ---> 15 from gseapy.gse import Metric, gsea_rs, prerank_rs, ssgsea_rs # import gseapy rust lib 16 from gseapy.parser import gsea_cls_parser 17 from gseapy.plot import gseaplot

ModuleNotFoundError: No module named 'gseapy.gse'

Steps to reproduce

Just imported.