Firmware 1.0 installer failing on Mac

When I run the installer on my Mac I get an error:

/Users/frank/Downloads/fluidnc-maslow4-1.03-posix/full-install.command ; exit;
Collecting xmodem
  Using cached xmodem-0.4.7-py2.py3-none-any.whl (35 kB)
Collecting pyserial
  Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
Installing collected packages: xmodem, pyserial
Successfully installed pyserial-3.5 xmodem-0.4.7
WARNING: You are using pip version 20.2.3; however, version 25.0.1 is available.
You should consider upgrading via the '/Users/frank/.fluidnc_venv/bin/python3 -m pip install --upgrade pip' command.
esptool.py not found, attempting to install
  ERROR: Command errored out with exit status 1:
   command: /Users/frank/.fluidnc_venv/bin/python3 /Users/frank/.fluidnc_venv/lib/python3.9/site-packages/pip install --ignore-installed --no-user --prefix /private/var/folders/gx/fyr0l7n569v04y2dw1w_39940000gn/T/pip-build-env-di124d8y/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'maturin>=1,<2' 'cffi>=1.12; platform_python_implementation != '"'"'PyPy'"'"'' 'setuptools!=74.0.0,!=74.1.0,!=74.1.1,!=74.1.2,!=74.1.3,!=75.0.0,!=75.1.0,!=75.2.0'
       cwd: None
  Complete output (82 lines):
  Collecting maturin<2,>=1
    Using cached maturin-1.8.3.tar.gz (199 kB)
    Installing build dependencies: started
    Installing build dependencies: finished with status 'done'
    Getting requirements to build wheel: started
    Getting requirements to build wheel: finished with status 'done'
      Preparing wheel metadata: started
      Preparing wheel metadata: finished with status 'done'
  Collecting cffi>=1.12
    Using cached cffi-1.17.1.tar.gz (516 kB)
    Installing build dependencies: started
    Installing build dependencies: finished with status 'done'
    Getting requirements to build wheel: started
    Getting requirements to build wheel: finished with status 'done'
      Preparing wheel metadata: started
      Preparing wheel metadata: finished with status 'done'
  Collecting setuptools!=74.0.0,!=74.1.0,!=74.1.1,!=74.1.2,!=74.1.3,!=75.0.0,!=75.1.0,!=75.2.0
    Using cached setuptools-78.1.0-py3-none-any.whl (1.3 MB)
  Collecting tomli>=1.1.0; python_version < "3.11"
    Using cached tomli-2.2.1-py3-none-any.whl (14 kB)
  Collecting pycparser
    Using cached pycparser-2.22-py3-none-any.whl (117 kB)
  Building wheels for collected packages: maturin, cffi
    Building wheel for maturin (PEP 517): started
    Building wheel for maturin (PEP 517): finished with status 'error'
    ERROR: Command errored out with exit status 1:
     command: /Users/frank/.fluidnc_venv/bin/python3 /Users/frank/.fluidnc_venv/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /var/folders/gx/fyr0l7n569v04y2dw1w_39940000gn/T/tmp3_n1s8me
         cwd: /private/var/folders/gx/fyr0l7n569v04y2dw1w_39940000gn/T/pip-install-bcw17onl/maturin
    Complete output (42 lines):
    /private/var/folders/gx/fyr0l7n569v04y2dw1w_39940000gn/T/pip-build-env-vle6_prx/overlay/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
    !!
  
            ********************************************************************************
            Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).
  
            By 2026-Feb-18, you need to update your project and remove deprecated calls
            or your builds will no longer be supported.
  
            See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
            ********************************************************************************
  
    !!
      corresp(dist, value, root_dir)
    running bdist_wheel
    running build
    running build_py
    creating build/lib.macosx-10.9-universal2-cpython-39/maturin
    copying maturin/__init__.py -> build/lib.macosx-10.9-universal2-cpython-39/maturin
    copying maturin/__main__.py -> build/lib.macosx-10.9-universal2-cpython-39/maturin
    running egg_info
    writing maturin.egg-info/PKG-INFO
    writing dependency_links to maturin.egg-info/dependency_links.txt
    writing requirements to maturin.egg-info/requires.txt
    writing top-level names to maturin.egg-info/top_level.txt
    reading manifest file 'maturin.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching '*.json' under directory 'src/python_interpreter'
    writing manifest file 'maturin.egg-info/SOURCES.txt'
    running build_ext
    running build_rust
    error: can't find Rust compiler
  
    If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
  
    To update pip, run:
  
        pip install --upgrade pip
  
    and then retry package installation.
  
    If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
    ----------------------------------------
    ERROR: Failed building wheel for maturin
    Building wheel for cffi (PEP 517): started
    Building wheel for cffi (PEP 517): finished with status 'done'
    Created wheel for cffi: filename=cffi-1.17.1-cp39-cp39-macosx_10_9_universal2.whl size=258300 sha256=1ecda0c47f7bd2d136fd6614b2572946e8bd3e590c8d6238b41852f547855077
    Stored in directory: /Users/frank/Library/Caches/pip/wheels/68/7a/00/aab977782e284cd7d25766c8d9c879fd6ec47c59d84e09fe2f
  Successfully built cffi
  Failed to build maturin
  ERROR: Could not build wheels for maturin which use PEP 517 and cannot be installed directly
  WARNING: You are using pip version 20.2.3; however, version 25.0.1 is available.
  You should consider upgrading via the '/Users/frank/.fluidnc_venv/bin/python3 -m pip install --upgrade pip' command.
  ----------------------------------------
ERROR: Command errored out with exit status 1: /Users/frank/.fluidnc_venv/bin/python3 /Users/frank/.fluidnc_venv/lib/python3.9/site-packages/pip install --ignore-installed --no-user --prefix /private/var/folders/gx/fyr0l7n569v04y2dw1w_39940000gn/T/pip-build-env-di124d8y/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'maturin>=1,<2' 'cffi>=1.12; platform_python_implementation != '"'"'PyPy'"'"'' 'setuptools!=74.0.0,!=74.1.0,!=74.1.1,!=74.1.2,!=74.1.3,!=75.0.0,!=75.1.0,!=75.2.0' Check the logs for full command output.
WARNING: You are using pip version 20.2.3; however, version 25.0.1 is available.
You should consider upgrading via the '/Users/frank/.fluidnc_venv/bin/python3 -m pip install --upgrade pip' command.
Installation of esptool.py failed

It was something with my python installation and I found a workaround:
In tools.sh I added after line 20 (which switches to the python environment) the following to force pip to update:

python3 -m pip install --upgrade pip
1 Like