Skip to content
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

ModuleNotFoundError: No module named 'pahelix' #25

Open
JoanSF opened this issue Apr 19, 2022 · 7 comments
Open

ModuleNotFoundError: No module named 'pahelix' #25

JoanSF opened this issue Apr 19, 2022 · 7 comments

Comments

@JoanSF
Copy link

JoanSF commented Apr 19, 2022

Install problem 1.1.0

File "/home/fangsifan/Few_Shot/FSL-Mate/PaddleFSL/paddlefsl/backbones/gin.py", line 17, in
from pahelix.model_zoo.pretrain_gnns_model import PretrainGNNModel

ModuleNotFoundError: No module named 'pahelix'

@mycccc0821
Copy link

Wow, I have the same problem here. May I ask you what operating system you used? Or just running in the AI studio?

@businiaon
Copy link

I have the same problem. I have tried different platform, windows and Linux, both of them don't work at all.
image

@mycccc0821
Copy link

I have the same problem. I have tried different platform, windows and Linux, both of them don't work at all. image
Do you also have the problem after modifying the file in paddlefsl? I don't get an error when I don't modify the code at all, but I get an error when I try to call the paddlefsl after a custom modification.

@tata1661
Copy link
Owner

@Phoenix0510 @JoanSF @mycccc0821 , thanks for the interests in PaddleFSL.
To use GIN, you have to first install paddlehelix-1.0.1 or later versions. Please see README.md(https://github.com/tata1661/FSL-Mate/tree/master/PaddleFSL/examples/molecular_property_prediction#environment) for details.

@JoanSF
Copy link
Author

JoanSF commented Apr 20, 2022

@mycccc0821 @Phoenix0510
install version 1.0.0,or install paddlehelix according to @tata1661 answer

@wj-Mcat
Copy link
Contributor

wj-Mcat commented May 8, 2022

If I don't use the gin module, can I not install pahelix which increased the difficulty of the installation ? If it support this feature, I think it will make the support more easier for beginner.


This is my illusion: the package support different way to install

pip install paddlefsl

# this command will install gin included packages
pip install paddlefsl[bio]

also, there is way: checking the package at runtime which is not elegant but useful.

How do you think about it ?

or

@Ren-Xin
Copy link

Ren-Xin commented Mar 26, 2024

@JoanSF @businiaon @mycccc0821 @wj-Mcat
export SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True
pip install rdkit-pypi
pip install pgl
pip install paddlehelix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants