Python34.dll is missing
I had created an application in Python and then I tried to make an executable from it.
Works well in Ubuntu and Windows but only when on this system I have Python installed.
In other case (Tried only for Win) I get the error that "The application can't start because python34.dll is missing"
What I do (filename is curr.py, also I have icon.res for icon):
python C:Python34Scriptscython-script.py --embed curr.py
- in curr.c replace wmain by main (without doing it app won't be compiled at all)
gcc curr.c -o curr.exe -IC:Python34include -LC:Python34libs icon.res -lpython34 -mwindows --static
Of course, If I copy python34.dll to the app's folder everything is OK.
Do I have another way?
python dll cython
add a comment |
I had created an application in Python and then I tried to make an executable from it.
Works well in Ubuntu and Windows but only when on this system I have Python installed.
In other case (Tried only for Win) I get the error that "The application can't start because python34.dll is missing"
What I do (filename is curr.py, also I have icon.res for icon):
python C:Python34Scriptscython-script.py --embed curr.py
- in curr.c replace wmain by main (without doing it app won't be compiled at all)
gcc curr.c -o curr.exe -IC:Python34include -LC:Python34libs icon.res -lpython34 -mwindows --static
Of course, If I copy python34.dll to the app's folder everything is OK.
Do I have another way?
python dll cython
Is the directory containing python34.dll in %PATH%?
– cdarke
Jan 8 '15 at 22:51
Of course, there is.
– GriMel
Jan 9 '15 at 0:13
I could see something like py2exe being useful.
– IanH
Jan 9 '15 at 6:20
py2exe copies python34.dll, altogether with bunch of additional files. I suppose, there is no way to "pack" python34.dll
– GriMel
Jan 9 '15 at 14:12
add a comment |
I had created an application in Python and then I tried to make an executable from it.
Works well in Ubuntu and Windows but only when on this system I have Python installed.
In other case (Tried only for Win) I get the error that "The application can't start because python34.dll is missing"
What I do (filename is curr.py, also I have icon.res for icon):
python C:Python34Scriptscython-script.py --embed curr.py
- in curr.c replace wmain by main (without doing it app won't be compiled at all)
gcc curr.c -o curr.exe -IC:Python34include -LC:Python34libs icon.res -lpython34 -mwindows --static
Of course, If I copy python34.dll to the app's folder everything is OK.
Do I have another way?
python dll cython
I had created an application in Python and then I tried to make an executable from it.
Works well in Ubuntu and Windows but only when on this system I have Python installed.
In other case (Tried only for Win) I get the error that "The application can't start because python34.dll is missing"
What I do (filename is curr.py, also I have icon.res for icon):
python C:Python34Scriptscython-script.py --embed curr.py
- in curr.c replace wmain by main (without doing it app won't be compiled at all)
gcc curr.c -o curr.exe -IC:Python34include -LC:Python34libs icon.res -lpython34 -mwindows --static
Of course, If I copy python34.dll to the app's folder everything is OK.
Do I have another way?
python dll cython
python dll cython
asked Jan 8 '15 at 22:48
GriMelGriMel
76221028
76221028
Is the directory containing python34.dll in %PATH%?
– cdarke
Jan 8 '15 at 22:51
Of course, there is.
– GriMel
Jan 9 '15 at 0:13
I could see something like py2exe being useful.
– IanH
Jan 9 '15 at 6:20
py2exe copies python34.dll, altogether with bunch of additional files. I suppose, there is no way to "pack" python34.dll
– GriMel
Jan 9 '15 at 14:12
add a comment |
Is the directory containing python34.dll in %PATH%?
– cdarke
Jan 8 '15 at 22:51
Of course, there is.
– GriMel
Jan 9 '15 at 0:13
I could see something like py2exe being useful.
– IanH
Jan 9 '15 at 6:20
py2exe copies python34.dll, altogether with bunch of additional files. I suppose, there is no way to "pack" python34.dll
– GriMel
Jan 9 '15 at 14:12
Is the directory containing python34.dll in %PATH%?
– cdarke
Jan 8 '15 at 22:51
Is the directory containing python34.dll in %PATH%?
– cdarke
Jan 8 '15 at 22:51
Of course, there is.
– GriMel
Jan 9 '15 at 0:13
Of course, there is.
– GriMel
Jan 9 '15 at 0:13
I could see something like py2exe being useful.
– IanH
Jan 9 '15 at 6:20
I could see something like py2exe being useful.
– IanH
Jan 9 '15 at 6:20
py2exe copies python34.dll, altogether with bunch of additional files. I suppose, there is no way to "pack" python34.dll
– GriMel
Jan 9 '15 at 14:12
py2exe copies python34.dll, altogether with bunch of additional files. I suppose, there is no way to "pack" python34.dll
– GriMel
Jan 9 '15 at 14:12
add a comment |
2 Answers
2
active
oldest
votes
Just installed PyInstaller - it has the option to compile to one file.
add a comment |
What worked in My case is
download pyhton34.dll and paste it into
C:WindowsSystem32 or
C:Windowssyswow64, one of will definitely work.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f27850953%2fpython34-dll-is-missing%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Just installed PyInstaller - it has the option to compile to one file.
add a comment |
Just installed PyInstaller - it has the option to compile to one file.
add a comment |
Just installed PyInstaller - it has the option to compile to one file.
Just installed PyInstaller - it has the option to compile to one file.
answered Jan 14 '16 at 15:20
GriMelGriMel
76221028
76221028
add a comment |
add a comment |
What worked in My case is
download pyhton34.dll and paste it into
C:WindowsSystem32 or
C:Windowssyswow64, one of will definitely work.
add a comment |
What worked in My case is
download pyhton34.dll and paste it into
C:WindowsSystem32 or
C:Windowssyswow64, one of will definitely work.
add a comment |
What worked in My case is
download pyhton34.dll and paste it into
C:WindowsSystem32 or
C:Windowssyswow64, one of will definitely work.
What worked in My case is
download pyhton34.dll and paste it into
C:WindowsSystem32 or
C:Windowssyswow64, one of will definitely work.
edited Nov 26 '16 at 8:25
answered Nov 23 '16 at 4:27
Lokesh TiwariLokesh Tiwari
6,60122132
6,60122132
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f27850953%2fpython34-dll-is-missing%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Is the directory containing python34.dll in %PATH%?
– cdarke
Jan 8 '15 at 22:51
Of course, there is.
– GriMel
Jan 9 '15 at 0:13
I could see something like py2exe being useful.
– IanH
Jan 9 '15 at 6:20
py2exe copies python34.dll, altogether with bunch of additional files. I suppose, there is no way to "pack" python34.dll
– GriMel
Jan 9 '15 at 14:12