FeTS-AI / Algorithms

This repo contains the model architectures to be used in the OpenFL backend.
Other
7 stars 11 forks source link

Install error while conduct setup.py in 'https://github.com/FETS-AI/Challenge/tree/main/Task_1' #94

Closed danny0628 closed 3 months ago

danny0628 commented 4 months ago

Hello, @sarthakpati When I run pip install . , the following error occurs. I know this error occur in setup.py line 34 'fets @ git+https://github.com/FETS-AI/Algorithms.git@fets_challenge' Can you help me with this? Screenshot from 2024-05-14 17-07-08

Thank you.

sarthakpati commented 4 months ago

Hi @danny0628, thank you for your interest in FeTS!

Pleaser be advised that we are in the process of updating all of the challenge codebase, so my support in this time will be limited.

In the file .gitmodules, can you try changing the url to https://github.com/mlcommons/GANDLF.git?

danny0628 commented 3 months ago

I did git cloned the Algorithms repository and placed it inside Task_1. The problem is solved

sarthakpati commented 3 months ago

Glad to hear that. Can you provide exact steps to that others can benefit as well?

danny0628 commented 3 months ago

In my case, First, Place the file structure as follows: Screenshot from 2024-05-21 10-31-00

Second, Task_1/Algorithms/.gitmodules file change it to:

[submodule "GANDLF_module"] 
    path = GANDLF_module
    url = https://github.com/mlcommons/GANDLF.git

Last, Task_1/setup.py line 33 'fets @ git+https://github.com/FETS-AI/Algorithms.git@fets_challenge' --> remove it