cobratoolbox icon indicating copy to clipboard operation
cobratoolbox copied to clipboard

unrecognised checkGit()

Open SofyaMa opened this issue 3 years ago • 0 comments

Please include a short description of problem here I get the following error when I initialise cobra, however I have git installed. xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

Please follow the guidelines on how to install git: https://opencobra.github.io/cobratoolbox/docs/requirements.html. Error using initCobraToolbox>checkGit (line 680) git is not installed.

Error in initCobraToolbox (line 121) [installedGit, versionGit] = checkGit();

[installedGit, versionGit] = checkGit(); Unrecognized function or variable 'checkGit'.

I hereby confirm that I have:

  • [x ] Tried to solve the issue on my own
  • [x ] Retried to run my code with the latest version of The COBRA Toolbox
  • [ x] Checked that a similar issue has not already been opened

(Note: You may replace [ ] with [X] to check the box)

SofyaMa avatar Dec 03 '20 20:12 SofyaMa