[Buildroot] Error while generating buildroot package using scanpypi tool

Sourabh Hegde hrsourabh011 at gmail.com
Tue Aug 15 15:23:29 UTC 2023


Hello All,

I am trying to generate a Buildroot package for a Python package available
from https://pypi.org/ using utils/scanpypi tool.

utils/scanpypi loguru black -o package/

But this is giving an error:

Traceback (most recent call last):
  File "utils/scanpypi", line 743, in <module>
    main()
  File "utils/scanpypi", line 691, in main
    package.load_setup()
  File "utils/scanpypi", line 299, in load_setup
    s_file, s_path, s_desc = imp.find_module('setup', [self.tmp_extract])
  File "/usr/lib/python3.8/imp.py", line 296, in find_module
    raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'setup'

I have installed python3-setuptools and  pip3 install setuptools. Still the
same error.

Can anyone please let me know what is the issue here and how to resolve it?

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20230815/b643be83/attachment.html>


More information about the buildroot mailing list