esp32_nat_router icon indicating copy to clipboard operation
esp32_nat_router copied to clipboard

Dependency "setuptools" missing for esptool\setup.py script

Open silentchaostheory opened this issue 8 months ago • 1 comments

The package setuptools was missing as a dependency in the setup instructions. The setup.py script expected it to be available for import. Adding it to the initial install would resolve this issue.

python3 -m pip install pyserial setuptools

silentchaostheory avatar Mar 18 '25 18:03 silentchaostheory

It is worth noting, the there is a deprecation warning that may be the actual solution.

running install
C:\Python312\Lib\site-packages\setuptools\_distutils\cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
C:\Python312\Lib\site-packages\setuptools\_distutils\cmd.py:90: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` and ``easy_install``.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://github.com/pypa/setuptools/issues/917 for details.
        ********************************************************************************

!!
  self.initialize_options()
running bdist_egg```

silentchaostheory avatar Mar 18 '25 18:03 silentchaostheory