Relative Content

Tag Archive for pythonnuitka

How import external packages correctly using Nuitka

I need some help about how importing external packages.
I am using Eclipse with PyDev plugin to develop Python applications, I have a workspace containing all my projects and all the libraries/package I use in them. Also the libs/packages are projects by themselves. So the filesystem structure is:

While Compiling using nuitka getting errors

Nuitka: Running C compilation via Scons.
Nuitka-Scons: Backend C compiler: gcc (gcc 13.2.0).
module.aiohttp.cookiejar.c:13067:18: error: ‘MAKE_GENERATOR_aiohttp$cookiejar$$$function__15___iter__$$$genobj__1___iter__’ defined but not used [-Werror=unused-function]
13067 | static PyObject *MAKE_GENERATOR_aiohttp$cookiejar$$$function__15___iter__$$$genobj__1___iter__(struct Nuitka_CellObject **closure) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1.exe: all warnings being treated as errors