user2242044
user2242044

Reputation: 9253

py2exe failed to load specified module

I compiled a simple python module using py2exe. It works fine for me when I run the executable through the cmd window, but when I give it to someone without Python installed, they get the following error message:

LoadLibrary(pythondll) failedThe specified module could not be found. C:\PYTHON27.DLL

How do I resolve this issue?

Upvotes: 2

Views: 1451

Answers (1)

jgritty
jgritty

Reputation: 11935

Py2exe doesn't actually create one single executable. You have to include the dlls and other files in the folder.

Upvotes: 4

Related Questions