Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Mac problem

Hello,

I am trying to resolve this for one of my students. I don't have a mac or access to a mac but she is getting the following error:

"the git command requires the command line developer tools"


Is there a fix for this?


Best wishes


Skilli

Comments

  • Sorry I don't have an answer, but today I got the exact same query from a student in my class.

    She is on a macbook air with OS Catalina 10.15.7.

    Any help/ suggestions would be much appreciated.

    Thank you!

  • edited October 2020

    Hi @Skilli and @wieske ,

    On Mac OS, it appears that git requires Xcode to be installed. (This is not related to OpenSesame, but just a general property of the version of git that comes with Mac OS by default.)

    And when do you see this error?

    — Sebastiaan

  • Hi Sebastiaan, thanks for your help.

    From what I gather, the error happens only when you run the experiment. The student finished all of the instructions of the beginner tutorial, and then when they hit 'run', the message "The 'git' command requires the command line developer tools. Would you like to install the tools now?" appeared and then got stuck.

    Wieske

  • edited October 2020

    @wieske That's strange, then it seems that one of the back-end libraries is trying to call git . Does this happen with all backends (probably not), and if not, with which back-end does it happen? And does installing Xcode indeed resolve it?

  • I wouldn't install XCode, as it is 10+ GB nowadays and an absolute bloat for the system.

    My hunch is that this is psychopy. It is designed to work with Pavlovia which is built around git if I remember correctly.

    What version of OpenSesame are you both using? The latest OpenSesame (3.3.5) also had an update of psychopy, so if the problems started to occur since then, that is also a good lead.

    Buy Me A Coffee

  • Thanks people! I'll forward these questions onto the student and let you know asap if we find a solution. Nice to connect to your both :). As always, Thanks for your great work.

  • @Daniel Thanks for chipping in

    @wieske Perhaps the version of git that comes Anaconda doesn't suffer from this issue. If you run the following in the console:

    conda install git -y
    

    Does that resolve the issue?

Sign In or Register to comment.