Massimo Manca
Massimo Manca

Reputation: 471

py2exe strange missing modules

I think this is one of the many questions about missing modules and py2exe... anyway...

  1. PylibUty is a local package located in C:\Dati\workspaces\PythonEclipse\APyLibUty\PyLibUty and referred in every .py file with:

    import sys, os sys.path.append(os.path.join(os.path.dirname("file"), '..')) sys.path.append("C:/Dati/workspaces/PythonEclipse/APyLibUty") from PyLibUty.pystr import randomString, insertStr

  2. uuid is a Python package so I normally import it

  3. _posixshmem I am not able to find what package I should install using pip/pipenv

  4. resource: I installed both resource and pyresource using pip/pipenv bat nothing changed

What should I install or import to solve these problems?

This is the output produced running py2exe:

enter image description here

Upvotes: 0

Views: 334

Answers (1)

Massimo Manca
Massimo Manca

Reputation: 471

I did not find a solution to understand what modules I should add or install to clear the problems of py2exe, so I searched the web to find a different tool able to make exe files from Python sources. I found cx_freeze, actually it does not produce the errors I reported so at the moment I switched to cx_freeze. I will test it better but at the moment my problem is solved.

Upvotes: 1

Related Questions