-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No module named 'gseapy.gse' #214
Comments
please use pip install. Bioconda don't have py311 build yet. # install rust compiler
curl https://sh.rustup.rs -sSf | sh -s -- -y
# export rust compiler
export PATH="$PATH:$HOME/.cargo/bin"
# install gseapy
pip install gseapy |
On trying to install via pip I am getting following error:
***@***.***
From: Zhuoqing Fang ***@***.***>
Date: Wednesday, July 12, 2023 at 2:26 PM
To: zqfang/GSEApy ***@***.***>
Cc: Shri Harsha Adapala Thirumala ***@***.***>, Author ***@***.***>
Subject: Re: [zqfang/GSEApy] No module named 'gseapy.gse' (Issue #214)
please use pip install. Bioconda don't have py311 build yet.
pip install gseapy
—
Reply to this email directly, view it on GitHub<#214 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A7ASRMZGZWWT4MID3AMDOM3XP3T3FANCNFSM6AAAAAA2HTKIVU>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I'm sorry, I just notice you're using "ARM-Macos". I don't have a M1-chip Mac to build the binary. In this case, you have to install rust additionally, see here: https://www.rust-lang.org/tools/install |
Hi, sorry I'm having exactly the same issue. I installed Rust and then gseapy using conda but I still get the same error: |
@mari-ga, uninstall the gseapy and run pip install gseapy since v1.0.6, MacOS-ARM64 pre-compiled binaries are shipped. if it still failed, then follow the code below # install rust compiler
curl https://sh.rustup.rs -sSf | sh -s -- -y
# export rust compiler
export PATH="$PATH:$HOME/.cargo/bin"
# install gseapy
pip install gseapy |
You shoud use
```
pip install gseapy
```
Not `gseasy`
Zhuoqing
From: 77 ***@***.***>
Date: Thursday, July 18, 2024 at 08:14
To: zqfang/GSEApy ***@***.***>
Cc: Zhuoqing Fang ***@***.***>, Comment ***@***.***>
Subject: Re: [zqfang/GSEApy] No module named 'gseapy.gse' (Issue #214)
Excuse me. I have tried the methods you mentioned above,
curl https://sh.rustup.rs -sSf | sh -s -- -y
. "$HOME/.cargo/env"
export PATH="$PATH:$HOME/.cargo/bin"
pip install gseasy
and got an error
ERROR: Could not find a version that satisfies the requirement gseasy (from versions: none)
ERROR: No matching distribution found for gseasy
My system info
3.9.18 (main, Sep 11 2023, 13:41:44)
[GCC 11.2.0]
CPython
Linux-5.4.0-165-generic-x86_64-with-glibc2.31
Could you please help with this installation issue? Thank you.
—
Reply to this email directly, view it on GitHub<#214 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABM52OEPKBUNRO5QORZQP2LZM7LUPAVCNFSM6AAAAABLC4RKL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZWHAZTCMBVGY>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Yes. I realized that it was my mistake, and the issue was not actually valid. As soon as I recognized this, I proceeded to delete the issue from the repository.
Sorry for any confusion or inconvenience.
And thank you for developing the nice tool!
…________________________________
From: Zhuoqing Fang ***@***.***>
Sent: Thursday, July 18, 2024 11:55 PM
To: zqfang/GSEApy ***@***.***>
Cc: 77 ***@***.***>; Comment ***@***.***>
Subject: Re: [zqfang/GSEApy] No module named 'gseapy.gse' (Issue #214)
You shoud use
```
pip install gseapy
```
Not `gseasy`
Zhuoqing
From: 77 ***@***.***>
Date: Thursday, July 18, 2024 at 08:14
To: zqfang/GSEApy ***@***.***>
Cc: Zhuoqing Fang ***@***.***>, Comment ***@***.***>
Subject: Re: [zqfang/GSEApy] No module named 'gseapy.gse' (Issue #214)
Excuse me. I have tried the methods you mentioned above,
curl https://sh.rustup.rs -sSf | sh -s -- -y
. "$HOME/.cargo/env"
export PATH="$PATH:$HOME/.cargo/bin"
pip install gseasy
and got an error
ERROR: Could not find a version that satisfies the requirement gseasy (from versions: none)
ERROR: No matching distribution found for gseasy
My system info
3.9.18 (main, Sep 11 2023, 13:41:44)
[GCC 11.2.0]
CPython
Linux-5.4.0-165-generic-x86_64-with-glibc2.31
Could you please help with this installation issue? Thank you.
—
Reply to this email directly, view it on GitHub<#214 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABM52OEPKBUNRO5QORZQP2LZM7LUPAVCNFSM6AAAAABLC4RKL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZWHAZTCMBVGY>.
You are receiving this because you commented.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub<#214 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ARAYIEPB5BALPIZRT5P24ALZM7QNRAVCNFSM6AAAAABLC4RKL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZWHEYTQMBZGE>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Setup
I am reporting a problem with GSEApy version, Python version, and operating
system as follows:
(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.
The text was updated successfully, but these errors were encountered: