Category : py2exe

I’m trying to create a .exe from a python script using py2exe. After some tiresome research, I was able to run a functional .exe. However, I had to add a few more lines to my .py, including a new import. My old imports are: import numpy as np import pandas as pd import os from ..

Read more

I think this is one of the many questions about missing modules and py2exe… anyway… PylibUty is a local package located in C:DatiworkspacesPythonEclipseAPyLibUtyPyLibUty 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 uuid is a Python package so I normally import it _posixshmem I am not ..

Read more

I’m a beginner trying to freeze py file into an executable by using py2exe. This is my error : running py2exe 3 missing Modules —————— ? _posixshmem imported from multiprocessing.resource_tracker, multiprocessing.shared_memory ? readline imported from cmd, code, pdb ? test.support imported from pySmartDL.pySmartDL Building ‘distfile_lambda.exe’. error: [WinError 87] incorrect settings. My "setup.py" file looks like ..

Read more