Failed to clone the repositories when trying to install SDK 2.7.0

Hello all,

I'm getting stuck on re-installing any SDK and I'm getting the below error. 

The error:

Failed to clone the repositories: Error: HEAD is now at 100befc70c7 [nrf fromtree] sysbuild: introduce sysbuild_root for root adjustment FATAL ERROR: command exited with status 128: show refs/heads/manifest-rev:west.yml Error: Launched process exited with non-zero status: 128 Error: Subprocess /Users/michael/Library/Application Support/nrfconnect/nrfutil-sandboxes/arm64/toolchain-manager/0.15.0/bin/nrfutil-toolchain-manager failed with unexpected exit code Some(128)

I'm running:

  • MacOS
  • I have tried deleting the whole ncs folder and installing again but doesn't work
  • Tried in both VCS as in the Toolchain manager (version 1.5.3)

Any ideas are welcome! 

Parents
  • Do you get the same error in both cases when you use Toolchain manager and if you try to run the west commands? 

    https://docs.nordicsemi.com/bundle/ncs-2.4.0/page/nrf/getting_started/installing.html 

    Regards,
    Jonathan

  • I have a similar problem and when I try to install manually I get blocked during Python modules installation.

    I have tried to install using pipx; the problem is that pipx does not accept requirements.txt files.

    I have activated the virtual environment used by pipx and I could use pip there and continue.

    After the installation I still get errors.

    One question: which Python environment is used by nrfConnect and VSC+nrfConnect addon: the system Python  or the pipx local Python?

    Ubuntu 24.4 LTS and the more recent non LTS versions hog the system Python installation and prevent installing anything not blessed by Ubuntu outside a virtual environment.

  • Did you follow the setup from the guide here? It should work fine. 

    Here is the latest release: https://docs.nordicsemi.com/bundle/ncs-2.9.1/page/nrf/installation/install_ncs.html 



    Pleas create a new ticket and share the errors as well. 

    cmag said:
    One question: which Python environment is used by nrfConnect and VSC+nrfConnect addon: the system Python  or the pipx local Python?

    https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/installation/recommended_versions.html#required_python_dependencies  
    Its a local environment that gets the Python, not system. 

    Regards,
    Jonathan

  • I am trying to follow the instructions for Linux manual installation.

    At some point it requires:

    pip3 install --user west
    echo 'export PATH=~/.local/bin:"$PATH"' >> ~/.bashrc
    source ~/.bashrc

    pip is not going to work on Ubuntu 2024.4 LTS or later (the Python installation is locked).

    I do not think I have your version of python active at that point.

    The question is:

    1. How do I get to have your Python venv loaded
    2. where is it installed

    At that point I guess I would have to activate your venv and then proceed.

Reply
  • I am trying to follow the instructions for Linux manual installation.

    At some point it requires:

    pip3 install --user west
    echo 'export PATH=~/.local/bin:"$PATH"' >> ~/.bashrc
    source ~/.bashrc

    pip is not going to work on Ubuntu 2024.4 LTS or later (the Python installation is locked).

    I do not think I have your version of python active at that point.

    The question is:

    1. How do I get to have your Python venv loaded
    2. where is it installed

    At that point I guess I would have to activate your venv and then proceed.

Children