Open abd-adhyatma opened 3 months ago
Hi Abdurrahman,
Thank you for bringing this to my attention. I have had a look at the problem and it is nothing wrong on your end. The code was missing an __init__.py
file and discrepancy in naming in the setup.py
. I am not a collaborator on the repo so I cannot push any change to this currently so for now I will describe what needs to be done.
In the setup.py
file, change the name on line 18 to name="XASNet",
and you then need to create an __init__.py
file in the src/XASNet
repository with the following text
from XASNet.trainer import *
from XASNet.utils import *
from XASNet.XASNet_GAT import *
from XASNet.XASNet_GraphNet import *
from .models import *
You should then repeat the installation and this should work.
Let me know if there are any problems with this.
Hey! Thank you for supporting your publication with the code and in an easily accessible manner, to boot. I followed the installation instructions in the readme, and it seems everything was installed correctly. However, when I tried to use the modules in a python code, python was unable to call the XASNet module. When I checked the site packages folder, it seems like the XASNet package wasn't installed correctly as well.
Kindly find the code I used to call the package below:
Code:
Output:
Kindly find the output for
pip list -v
andls
in thesite-packages
directory below:I would really love some assistance with this issue. Cheers!