error import dll module in Pyside2 v(5.11.2)









up vote
-2
down vote

favorite












I just installed Pyside2 -"5.11.2" with Python 3.5 x64 in the next machine:



windows 8.1 pro x64.



Python I have installed it in the following directory:
- C:Python35
It shows error when I try to execute the following code



import sys
from PySide2.QtWidgets import QApplication, QMessageBox
# Create the application object
app = QApplication(sys.argv)
# Create a simple dialog box
msg_box = QMessageBox()
msg_box.setText("Hello World!")
msg_box.show()
sys.exit(msg_box.exec_())


shows the following



**ImportError: DLL load failed: The specified procedure could not be found.**


-----in Line 2
You know what the error is ?, I clarify that I had installed Qt5.9 and Visual Studio 2015
Can you please tell me where I made an error?










share|improve this question























  • add path of C:Python35 to environment Variables
    – eyllanesc
    Nov 10 at 23:38










  • I had already put it and it does not work
    – royer
    Nov 10 at 23:48










  • in what directory did you install Python?
    – royer
    Nov 10 at 23:49










  • okay, look inside the site-packages where the .dlls of pyside2 are, I'm currently on Linux, but when I installed it on windows I had similar problems and added some paths. When you launched it, did not I indicate that it lacked a particular dll?
    – eyllanesc
    Nov 10 at 23:52










  • It would be very helpful if you say where you have placed the dll. I have them in the same PySide folder
    – royer
    Nov 10 at 23:57














up vote
-2
down vote

favorite












I just installed Pyside2 -"5.11.2" with Python 3.5 x64 in the next machine:



windows 8.1 pro x64.



Python I have installed it in the following directory:
- C:Python35
It shows error when I try to execute the following code



import sys
from PySide2.QtWidgets import QApplication, QMessageBox
# Create the application object
app = QApplication(sys.argv)
# Create a simple dialog box
msg_box = QMessageBox()
msg_box.setText("Hello World!")
msg_box.show()
sys.exit(msg_box.exec_())


shows the following



**ImportError: DLL load failed: The specified procedure could not be found.**


-----in Line 2
You know what the error is ?, I clarify that I had installed Qt5.9 and Visual Studio 2015
Can you please tell me where I made an error?










share|improve this question























  • add path of C:Python35 to environment Variables
    – eyllanesc
    Nov 10 at 23:38










  • I had already put it and it does not work
    – royer
    Nov 10 at 23:48










  • in what directory did you install Python?
    – royer
    Nov 10 at 23:49










  • okay, look inside the site-packages where the .dlls of pyside2 are, I'm currently on Linux, but when I installed it on windows I had similar problems and added some paths. When you launched it, did not I indicate that it lacked a particular dll?
    – eyllanesc
    Nov 10 at 23:52










  • It would be very helpful if you say where you have placed the dll. I have them in the same PySide folder
    – royer
    Nov 10 at 23:57












up vote
-2
down vote

favorite









up vote
-2
down vote

favorite











I just installed Pyside2 -"5.11.2" with Python 3.5 x64 in the next machine:



windows 8.1 pro x64.



Python I have installed it in the following directory:
- C:Python35
It shows error when I try to execute the following code



import sys
from PySide2.QtWidgets import QApplication, QMessageBox
# Create the application object
app = QApplication(sys.argv)
# Create a simple dialog box
msg_box = QMessageBox()
msg_box.setText("Hello World!")
msg_box.show()
sys.exit(msg_box.exec_())


shows the following



**ImportError: DLL load failed: The specified procedure could not be found.**


-----in Line 2
You know what the error is ?, I clarify that I had installed Qt5.9 and Visual Studio 2015
Can you please tell me where I made an error?










share|improve this question















I just installed Pyside2 -"5.11.2" with Python 3.5 x64 in the next machine:



windows 8.1 pro x64.



Python I have installed it in the following directory:
- C:Python35
It shows error when I try to execute the following code



import sys
from PySide2.QtWidgets import QApplication, QMessageBox
# Create the application object
app = QApplication(sys.argv)
# Create a simple dialog box
msg_box = QMessageBox()
msg_box.setText("Hello World!")
msg_box.show()
sys.exit(msg_box.exec_())


shows the following



**ImportError: DLL load failed: The specified procedure could not be found.**


-----in Line 2
You know what the error is ?, I clarify that I had installed Qt5.9 and Visual Studio 2015
Can you please tell me where I made an error?







python pyside2






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 10 at 23:50

























asked Nov 10 at 23:13









royer

13




13











  • add path of C:Python35 to environment Variables
    – eyllanesc
    Nov 10 at 23:38










  • I had already put it and it does not work
    – royer
    Nov 10 at 23:48










  • in what directory did you install Python?
    – royer
    Nov 10 at 23:49










  • okay, look inside the site-packages where the .dlls of pyside2 are, I'm currently on Linux, but when I installed it on windows I had similar problems and added some paths. When you launched it, did not I indicate that it lacked a particular dll?
    – eyllanesc
    Nov 10 at 23:52










  • It would be very helpful if you say where you have placed the dll. I have them in the same PySide folder
    – royer
    Nov 10 at 23:57
















  • add path of C:Python35 to environment Variables
    – eyllanesc
    Nov 10 at 23:38










  • I had already put it and it does not work
    – royer
    Nov 10 at 23:48










  • in what directory did you install Python?
    – royer
    Nov 10 at 23:49










  • okay, look inside the site-packages where the .dlls of pyside2 are, I'm currently on Linux, but when I installed it on windows I had similar problems and added some paths. When you launched it, did not I indicate that it lacked a particular dll?
    – eyllanesc
    Nov 10 at 23:52










  • It would be very helpful if you say where you have placed the dll. I have them in the same PySide folder
    – royer
    Nov 10 at 23:57















add path of C:Python35 to environment Variables
– eyllanesc
Nov 10 at 23:38




add path of C:Python35 to environment Variables
– eyllanesc
Nov 10 at 23:38












I had already put it and it does not work
– royer
Nov 10 at 23:48




I had already put it and it does not work
– royer
Nov 10 at 23:48












in what directory did you install Python?
– royer
Nov 10 at 23:49




in what directory did you install Python?
– royer
Nov 10 at 23:49












okay, look inside the site-packages where the .dlls of pyside2 are, I'm currently on Linux, but when I installed it on windows I had similar problems and added some paths. When you launched it, did not I indicate that it lacked a particular dll?
– eyllanesc
Nov 10 at 23:52




okay, look inside the site-packages where the .dlls of pyside2 are, I'm currently on Linux, but when I installed it on windows I had similar problems and added some paths. When you launched it, did not I indicate that it lacked a particular dll?
– eyllanesc
Nov 10 at 23:52












It would be very helpful if you say where you have placed the dll. I have them in the same PySide folder
– royer
Nov 10 at 23:57




It would be very helpful if you say where you have placed the dll. I have them in the same PySide folder
– royer
Nov 10 at 23:57

















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',
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
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53244342%2ferror-import-dll-module-in-pyside2-v5-11-2%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53244342%2ferror-import-dll-module-in-pyside2-v5-11-2%23new-answer', 'question_page');

);

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







Popular posts from this blog

Top Tejano songwriter Luis Silva dead of heart attack at 64

ReactJS Fetched API data displays live - need Data displayed static

政党