Skip to content
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

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

Open
Changdongyue opened this issue Nov 22, 2024 · 1 comment
Open

Comments

@Changdongyue
Copy link

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

@roccomoretti
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants