[Buildroot] Error while generating buildroot package using scanpypi tool

Sourabh Hegde hrsourabh011 at gmail.com
Wed Aug 16 05:44:16 UTC 2023


Can anyone please provide an update on this?
Your support would be much appreciated.

Best Regards,
Sourabh

On Tue, 15 Aug 2023 at 17:23, Sourabh Hegde <hrsourabh011 at gmail.com> wrote:

> 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/20230816/b7c3a09b/attachment-0001.html>


More information about the buildroot mailing list