-
Notifications
You must be signed in to change notification settings - Fork 194
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
error during installation windows 11 #141
Comments
Can you provide more about the error log? |
C:\Users\Administrator>pip install deeprobust × Preparing metadata (pyproject.toml) did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while generating package metadata. note: This is an issue with the package mentioned above, not pip. |
It seems that you are having a problem installing the One solution is to install Then you need to modify the Lines 18 to 33 in 122588e
First clone this repository, then modify |
I tried to perform some solutions but the error persists × Preparing metadata (pyproject.toml) did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while generating package metadata. note: This is an issue with the package mentioned above, not pip. |
You may debug on how to install gensim in windows. Here is some answer from ChatGPT. If the issue is hard to resolve, you can remove the file deeprobust/graph/defense/node_embedding.py which uses the |
@ChandlerBang Would you consider updating the version of gensim that is used in DeepRobust? This issue was fixed in gensim 4.3.0 (see https://github.com/RaRe-Technologies/gensim/releases/tag/4.3.0, with relevant issues piskvorky/gensim#3225, piskvorky/gensim#3362 and fix piskvorky/gensim#3363). They have also said that they will not fix it in the latest version of gensim that DeepRobust currently can use (3.8.3) since they are not supporting it anymore (piskvorky/gensim#3386). Since gensim is only used in one file in DeepRobust (https://github.com/DSE-MSU/DeepRobust/blob/d25d95b33724af9ab0385d5171c989f9b4ff2359/deeprobust/graph/defense/node_embedding.py) This fix would make it much easier to reliably share packages that depend on DeepRobust. |
@fsherry Thanks so much for the suggestion, and I have updated the package dependencies! I sincerely apologize for the late response as I missed this thread before. |
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The text was updated successfully, but these errors were encountered: