bfGraph / STGraph

🌟 Vertex Centric approach for building GNN/TGNNs
MIT License
15 stars 0 forks source link

Error when building seastar #141

Open Leo9660 opened 2 weeks ago

Leo9660 commented 2 weeks ago

I'm trying to build and install STGraph with some local changes. I'm following the README.md, with the command

python3 -m build && pip uninstall stgraph -y && pip install dist/stgraph-1.0.0-py3-none-any.whl

I have run the build scripts for static and dynamic graphs. However, error occurs at the first step

/root/anaconda3/envs/seastar/bin/python3: No module named build

I wonder if there's some files missing, perhaps setup.py? I would like to know how can I build local files, in the stgraph fold. Thank you!

github-actions[bot] commented 2 weeks ago

💌 Thanks for raising the issue. We appreciate your keen eye and look forward to resolving it together.

nithinmanoj10 commented 2 weeks ago

Hey @Leo9660

Thank you for trying out STGraph. We will look into your installation issue and get back to you very soon

nithinmanoj10 commented 1 week ago

Hey @Leo9660

We have recently released our latest version of STGraph v1.1.0. I would recommend you to try installing the latest version.

Since you are trying to install STGraph in your local machine and make some changes, you can try installing it via pip editable mode. Please follow this installation tutorial to do the same: Installation for STGraph Package Developers. With this, you wouldn't have to rebuild STGraph each time you make a change. So the following command in which you were facing the issue, is no longer necessary:

python3 -m build && pip uninstall stgraph -y && pip install dist/stgraph-1.0.0-py3-none-any.whl

Since you installed it via editable mode, the changes you made will be reflected in the STGraph module present inside your virtual environment.

Please do let us know if you are still facing any issues during installation.


Maybe once you are done with your installation, you can go ahead and check out our tutorial, Cora Publication Prediction using Graph Convolutional Networks (GCN), to get a better understanding on how to use STGraph.