pyinstaller missing mxnet dll
I've been trying to create a simple .exe file to receive a parameter and return the output of a my net, in alternative to use a C++ wrapper.
I'm using pyinstaller because it's the one that has worked better for me in the past.
Right now I'm only building a .py file only with the imports but I'm already getting the following error:
RuntimeError: Cannot find the MXNet library.
List of candidates:
C:Users<user>AppDataLocalTemp_MEI52802mxnetlibmxnet.dll
...
My imports.py
import time
import numpy as np
import mxnet as mx
from mxnet import gluon, autograd, nd
from mxnet.gluon import nn, rnn
import string
import cv2
import glob
import time
import model
What I've tried:
- Using pyinstaller in python 3.6/3.5/3.4;
- Edit the .spec and adding the dll missing to the binaries list;
- Adding mxnet as a hidden import.
Regards.
python exe pyinstaller mxnet
add a comment |
I've been trying to create a simple .exe file to receive a parameter and return the output of a my net, in alternative to use a C++ wrapper.
I'm using pyinstaller because it's the one that has worked better for me in the past.
Right now I'm only building a .py file only with the imports but I'm already getting the following error:
RuntimeError: Cannot find the MXNet library.
List of candidates:
C:Users<user>AppDataLocalTemp_MEI52802mxnetlibmxnet.dll
...
My imports.py
import time
import numpy as np
import mxnet as mx
from mxnet import gluon, autograd, nd
from mxnet.gluon import nn, rnn
import string
import cv2
import glob
import time
import model
What I've tried:
- Using pyinstaller in python 3.6/3.5/3.4;
- Edit the .spec and adding the dll missing to the binaries list;
- Adding mxnet as a hidden import.
Regards.
python exe pyinstaller mxnet
I guess in python you actually use bindings to the dll which is provided by MXNet. Is this library actually installed? After you run PyInstaller do you see this dll in output folder? You can also try some tool like Sysinternals ProcMon to see where python interpreter tries to look for this dll.
– Roman
Nov 13 '18 at 17:57
It is installed, although I cannot find it at the pyinstaller output build folder. I have not tried to see where it's looking for it as the error tells me that it's trying to find it in the temp folder. The bindings are a possibility, I don't know how the pyinstaller will respond and it's maybe a complex approach to use mxnet. Thanks for the ideas.
– lmmaia
Nov 13 '18 at 19:50
add a comment |
I've been trying to create a simple .exe file to receive a parameter and return the output of a my net, in alternative to use a C++ wrapper.
I'm using pyinstaller because it's the one that has worked better for me in the past.
Right now I'm only building a .py file only with the imports but I'm already getting the following error:
RuntimeError: Cannot find the MXNet library.
List of candidates:
C:Users<user>AppDataLocalTemp_MEI52802mxnetlibmxnet.dll
...
My imports.py
import time
import numpy as np
import mxnet as mx
from mxnet import gluon, autograd, nd
from mxnet.gluon import nn, rnn
import string
import cv2
import glob
import time
import model
What I've tried:
- Using pyinstaller in python 3.6/3.5/3.4;
- Edit the .spec and adding the dll missing to the binaries list;
- Adding mxnet as a hidden import.
Regards.
python exe pyinstaller mxnet
I've been trying to create a simple .exe file to receive a parameter and return the output of a my net, in alternative to use a C++ wrapper.
I'm using pyinstaller because it's the one that has worked better for me in the past.
Right now I'm only building a .py file only with the imports but I'm already getting the following error:
RuntimeError: Cannot find the MXNet library.
List of candidates:
C:Users<user>AppDataLocalTemp_MEI52802mxnetlibmxnet.dll
...
My imports.py
import time
import numpy as np
import mxnet as mx
from mxnet import gluon, autograd, nd
from mxnet.gluon import nn, rnn
import string
import cv2
import glob
import time
import model
What I've tried:
- Using pyinstaller in python 3.6/3.5/3.4;
- Edit the .spec and adding the dll missing to the binaries list;
- Adding mxnet as a hidden import.
Regards.
python exe pyinstaller mxnet
python exe pyinstaller mxnet
asked Nov 13 '18 at 17:27
lmmaialmmaia
11
11
I guess in python you actually use bindings to the dll which is provided by MXNet. Is this library actually installed? After you run PyInstaller do you see this dll in output folder? You can also try some tool like Sysinternals ProcMon to see where python interpreter tries to look for this dll.
– Roman
Nov 13 '18 at 17:57
It is installed, although I cannot find it at the pyinstaller output build folder. I have not tried to see where it's looking for it as the error tells me that it's trying to find it in the temp folder. The bindings are a possibility, I don't know how the pyinstaller will respond and it's maybe a complex approach to use mxnet. Thanks for the ideas.
– lmmaia
Nov 13 '18 at 19:50
add a comment |
I guess in python you actually use bindings to the dll which is provided by MXNet. Is this library actually installed? After you run PyInstaller do you see this dll in output folder? You can also try some tool like Sysinternals ProcMon to see where python interpreter tries to look for this dll.
– Roman
Nov 13 '18 at 17:57
It is installed, although I cannot find it at the pyinstaller output build folder. I have not tried to see where it's looking for it as the error tells me that it's trying to find it in the temp folder. The bindings are a possibility, I don't know how the pyinstaller will respond and it's maybe a complex approach to use mxnet. Thanks for the ideas.
– lmmaia
Nov 13 '18 at 19:50
I guess in python you actually use bindings to the dll which is provided by MXNet. Is this library actually installed? After you run PyInstaller do you see this dll in output folder? You can also try some tool like Sysinternals ProcMon to see where python interpreter tries to look for this dll.
– Roman
Nov 13 '18 at 17:57
I guess in python you actually use bindings to the dll which is provided by MXNet. Is this library actually installed? After you run PyInstaller do you see this dll in output folder? You can also try some tool like Sysinternals ProcMon to see where python interpreter tries to look for this dll.
– Roman
Nov 13 '18 at 17:57
It is installed, although I cannot find it at the pyinstaller output build folder. I have not tried to see where it's looking for it as the error tells me that it's trying to find it in the temp folder. The bindings are a possibility, I don't know how the pyinstaller will respond and it's maybe a complex approach to use mxnet. Thanks for the ideas.
– lmmaia
Nov 13 '18 at 19:50
It is installed, although I cannot find it at the pyinstaller output build folder. I have not tried to see where it's looking for it as the error tells me that it's trying to find it in the temp folder. The bindings are a possibility, I don't know how the pyinstaller will respond and it's maybe a complex approach to use mxnet. Thanks for the ideas.
– lmmaia
Nov 13 '18 at 19:50
add a comment |
0
active
oldest
votes
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%2f53286509%2fpyinstaller-missing-mxnet-dll%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f53286509%2fpyinstaller-missing-mxnet-dll%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
I guess in python you actually use bindings to the dll which is provided by MXNet. Is this library actually installed? After you run PyInstaller do you see this dll in output folder? You can also try some tool like Sysinternals ProcMon to see where python interpreter tries to look for this dll.
– Roman
Nov 13 '18 at 17:57
It is installed, although I cannot find it at the pyinstaller output build folder. I have not tried to see where it's looking for it as the error tells me that it's trying to find it in the temp folder. The bindings are a possibility, I don't know how the pyinstaller will respond and it's maybe a complex approach to use mxnet. Thanks for the ideas.
– lmmaia
Nov 13 '18 at 19:50