tata1661 / FSL-Mate

FSL-Mate: A collection of resources for few-shot learning (FSL).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ModuleNotFoundError: No module named 'pahelix'

JoanSF opened this issue · comments

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'

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

commented

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

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.

@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.

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

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

commented

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