PyCharm can't find the module of an installed package
I've installed the package python-bitcoinlib
in PyCharm however it does not recognize the module bitcoin
and gives the following error:
Traceback (most recent call last):
File "C:/Users/SMA/PycharmProjects/HW2/keygen.py", line 3, in <module>
from bitcoin.wallet import CBitcoinSecret, P2PKHBitcoinAddress
File "C:UsersSMAPycharmProjectsHW2venvlibsite-packagesbitcoinwallet.py", line 29, in <module>
import bitcoin.core.key
File "C:UsersSMAPycharmProjectsHW2venvlibsite-packagesbitcoincorekey.py", line 33, in <module>
_ssl = ctypes.cdll.LoadLibrary(ctypes.util.find_library('ssl') or 'libeay32')
File "C:UsersSMAAppDataLocalProgramsPythonPython37libctypes__init__.py", line 434, in LoadLibrary
return self._dlltype(name)
File "C:UsersSMAAppDataLocalProgramsPythonPython37libctypes__init__.py", line 356, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found
But I can see the bitcoin folder in the imported libraries.
Does anybody has any hints?
python pycharm package
add a comment |
I've installed the package python-bitcoinlib
in PyCharm however it does not recognize the module bitcoin
and gives the following error:
Traceback (most recent call last):
File "C:/Users/SMA/PycharmProjects/HW2/keygen.py", line 3, in <module>
from bitcoin.wallet import CBitcoinSecret, P2PKHBitcoinAddress
File "C:UsersSMAPycharmProjectsHW2venvlibsite-packagesbitcoinwallet.py", line 29, in <module>
import bitcoin.core.key
File "C:UsersSMAPycharmProjectsHW2venvlibsite-packagesbitcoincorekey.py", line 33, in <module>
_ssl = ctypes.cdll.LoadLibrary(ctypes.util.find_library('ssl') or 'libeay32')
File "C:UsersSMAAppDataLocalProgramsPythonPython37libctypes__init__.py", line 434, in LoadLibrary
return self._dlltype(name)
File "C:UsersSMAAppDataLocalProgramsPythonPython37libctypes__init__.py", line 356, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found
But I can see the bitcoin folder in the imported libraries.
Does anybody has any hints?
python pycharm package
Hi, do you have Visual C++ Redistributable Packages installed? It could be a dependency dll problem
– Nipun Sampath
Nov 12 '18 at 15:13
@NipunSampath Hi. Yes I have several different versions of Microsoft Visual C++ Redistributable Packages installed (2005,2008,2010,2012,2013,2015).
– SMA.D
Nov 12 '18 at 15:22
1
more specifically see if there is a libeay32.dll
– Nipun Sampath
Nov 12 '18 at 15:41
1
@NipunSampath Thanks a lot! That was the source of the problem. I've downloaded the DLL from https://indy.fulgan.com/SSL/ and the error has been resolved.
– SMA.D
Nov 12 '18 at 16:13
I'll post it as an answer for the benefit of future users.
– Nipun Sampath
Nov 12 '18 at 16:13
add a comment |
I've installed the package python-bitcoinlib
in PyCharm however it does not recognize the module bitcoin
and gives the following error:
Traceback (most recent call last):
File "C:/Users/SMA/PycharmProjects/HW2/keygen.py", line 3, in <module>
from bitcoin.wallet import CBitcoinSecret, P2PKHBitcoinAddress
File "C:UsersSMAPycharmProjectsHW2venvlibsite-packagesbitcoinwallet.py", line 29, in <module>
import bitcoin.core.key
File "C:UsersSMAPycharmProjectsHW2venvlibsite-packagesbitcoincorekey.py", line 33, in <module>
_ssl = ctypes.cdll.LoadLibrary(ctypes.util.find_library('ssl') or 'libeay32')
File "C:UsersSMAAppDataLocalProgramsPythonPython37libctypes__init__.py", line 434, in LoadLibrary
return self._dlltype(name)
File "C:UsersSMAAppDataLocalProgramsPythonPython37libctypes__init__.py", line 356, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found
But I can see the bitcoin folder in the imported libraries.
Does anybody has any hints?
python pycharm package
I've installed the package python-bitcoinlib
in PyCharm however it does not recognize the module bitcoin
and gives the following error:
Traceback (most recent call last):
File "C:/Users/SMA/PycharmProjects/HW2/keygen.py", line 3, in <module>
from bitcoin.wallet import CBitcoinSecret, P2PKHBitcoinAddress
File "C:UsersSMAPycharmProjectsHW2venvlibsite-packagesbitcoinwallet.py", line 29, in <module>
import bitcoin.core.key
File "C:UsersSMAPycharmProjectsHW2venvlibsite-packagesbitcoincorekey.py", line 33, in <module>
_ssl = ctypes.cdll.LoadLibrary(ctypes.util.find_library('ssl') or 'libeay32')
File "C:UsersSMAAppDataLocalProgramsPythonPython37libctypes__init__.py", line 434, in LoadLibrary
return self._dlltype(name)
File "C:UsersSMAAppDataLocalProgramsPythonPython37libctypes__init__.py", line 356, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found
But I can see the bitcoin folder in the imported libraries.
Does anybody has any hints?
python pycharm package
python pycharm package
edited Nov 12 '18 at 15:05
SMA.D
asked Nov 12 '18 at 4:50
SMA.DSMA.D
1054
1054
Hi, do you have Visual C++ Redistributable Packages installed? It could be a dependency dll problem
– Nipun Sampath
Nov 12 '18 at 15:13
@NipunSampath Hi. Yes I have several different versions of Microsoft Visual C++ Redistributable Packages installed (2005,2008,2010,2012,2013,2015).
– SMA.D
Nov 12 '18 at 15:22
1
more specifically see if there is a libeay32.dll
– Nipun Sampath
Nov 12 '18 at 15:41
1
@NipunSampath Thanks a lot! That was the source of the problem. I've downloaded the DLL from https://indy.fulgan.com/SSL/ and the error has been resolved.
– SMA.D
Nov 12 '18 at 16:13
I'll post it as an answer for the benefit of future users.
– Nipun Sampath
Nov 12 '18 at 16:13
add a comment |
Hi, do you have Visual C++ Redistributable Packages installed? It could be a dependency dll problem
– Nipun Sampath
Nov 12 '18 at 15:13
@NipunSampath Hi. Yes I have several different versions of Microsoft Visual C++ Redistributable Packages installed (2005,2008,2010,2012,2013,2015).
– SMA.D
Nov 12 '18 at 15:22
1
more specifically see if there is a libeay32.dll
– Nipun Sampath
Nov 12 '18 at 15:41
1
@NipunSampath Thanks a lot! That was the source of the problem. I've downloaded the DLL from https://indy.fulgan.com/SSL/ and the error has been resolved.
– SMA.D
Nov 12 '18 at 16:13
I'll post it as an answer for the benefit of future users.
– Nipun Sampath
Nov 12 '18 at 16:13
Hi, do you have Visual C++ Redistributable Packages installed? It could be a dependency dll problem
– Nipun Sampath
Nov 12 '18 at 15:13
Hi, do you have Visual C++ Redistributable Packages installed? It could be a dependency dll problem
– Nipun Sampath
Nov 12 '18 at 15:13
@NipunSampath Hi. Yes I have several different versions of Microsoft Visual C++ Redistributable Packages installed (2005,2008,2010,2012,2013,2015).
– SMA.D
Nov 12 '18 at 15:22
@NipunSampath Hi. Yes I have several different versions of Microsoft Visual C++ Redistributable Packages installed (2005,2008,2010,2012,2013,2015).
– SMA.D
Nov 12 '18 at 15:22
1
1
more specifically see if there is a libeay32.dll
– Nipun Sampath
Nov 12 '18 at 15:41
more specifically see if there is a libeay32.dll
– Nipun Sampath
Nov 12 '18 at 15:41
1
1
@NipunSampath Thanks a lot! That was the source of the problem. I've downloaded the DLL from https://indy.fulgan.com/SSL/ and the error has been resolved.
– SMA.D
Nov 12 '18 at 16:13
@NipunSampath Thanks a lot! That was the source of the problem. I've downloaded the DLL from https://indy.fulgan.com/SSL/ and the error has been resolved.
– SMA.D
Nov 12 '18 at 16:13
I'll post it as an answer for the benefit of future users.
– Nipun Sampath
Nov 12 '18 at 16:13
I'll post it as an answer for the benefit of future users.
– Nipun Sampath
Nov 12 '18 at 16:13
add a comment |
1 Answer
1
active
oldest
votes
In this case the cause of the problem was the missing "libeay32.dll". Problem was solved by downloading it from https://indy.fulgan.com/SSL/
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%2f53256119%2fpycharm-cant-find-the-module-of-an-installed-package%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
In this case the cause of the problem was the missing "libeay32.dll". Problem was solved by downloading it from https://indy.fulgan.com/SSL/
add a comment |
In this case the cause of the problem was the missing "libeay32.dll". Problem was solved by downloading it from https://indy.fulgan.com/SSL/
add a comment |
In this case the cause of the problem was the missing "libeay32.dll". Problem was solved by downloading it from https://indy.fulgan.com/SSL/
In this case the cause of the problem was the missing "libeay32.dll". Problem was solved by downloading it from https://indy.fulgan.com/SSL/
answered Nov 12 '18 at 16:15
Nipun SampathNipun Sampath
1,906314
1,906314
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f53256119%2fpycharm-cant-find-the-module-of-an-installed-package%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
Hi, do you have Visual C++ Redistributable Packages installed? It could be a dependency dll problem
– Nipun Sampath
Nov 12 '18 at 15:13
@NipunSampath Hi. Yes I have several different versions of Microsoft Visual C++ Redistributable Packages installed (2005,2008,2010,2012,2013,2015).
– SMA.D
Nov 12 '18 at 15:22
1
more specifically see if there is a libeay32.dll
– Nipun Sampath
Nov 12 '18 at 15:41
1
@NipunSampath Thanks a lot! That was the source of the problem. I've downloaded the DLL from https://indy.fulgan.com/SSL/ and the error has been resolved.
– SMA.D
Nov 12 '18 at 16:13
I'll post it as an answer for the benefit of future users.
– Nipun Sampath
Nov 12 '18 at 16:13