rosetta icon indicating copy to clipboard operation
rosetta copied to clipboard

fatal: not a git repository (or any of the parent directories): .git

Open Changdongyue opened this issue 1 year ago • 1 comments

I have downloaded the source code of Rosetta version 3.14. When executing the command "./scons.py -j7 mode=release bin", the error shown in the picture occurred. How can I solve this problem? Thank you very much for your help.

scons: Reading SConscript files ... Running versioning script ... Encounter error while executing: git rev-parse "HEAD:source/src/python/PyRosetta/binder" Encounter error while executing: git rev-parse "HEAD:source/src/python/PyRosetta/binder" fatal: not a git repository (or any of the parent directories): .git

Changdongyue avatar Nov 22 '24 02:11 Changdongyue

How did you download the source code? Did you get it from https://rosettacommons.org/software/download/, or did you get it from the github repo?

The version from rosettacommons.org should be set up to be used as a "release" version, and shouldn't need any git connection.

However, the version on Github is set up to be cloned with git as a full repository. It's not intended to be used (and will not work) as a "snapshot" download of a single version -- if you're getting it from Github, you need to clone it as a git repo.

roccomoretti avatar Nov 25 '24 16:11 roccomoretti