unable to import scrypt python 3.6 in Windows 10












0















I am having a problem with this import in Windows. Scrypt (version 0.8.6) was installed as part of the steem-python package using pip in a virtual environment. I am using Visual Studio 2017 Community (version 15.9.2) in Windows 10. When I try to import scrypt I get



>>> import scrypt
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:UsersMMsourcereposmysitecsenvLibsite-packagesscryptscrypt.py", line 15, in <module>
_scrypt = cdll.LoadLibrary(imp.find_module('_scrypt')[1])
File "C:Program Files (x86)Microsoft Visual StudioSharedPython36_64libctypes__init__.py", line 426, in LoadLibrary
return self._dlltype(name)
File "C:Program Files (x86)Microsoft Visual StudioSharedPython36_64libctypes__init__.py", line 348, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found


I have tried this using the interactive window under the environment in Visual Studio as well as the command prompt.



I saw some references to needing openSSL. OpenSSL 1.1.0j (64-bit) (the non lite version) is installed.



What am I missing? Any help would be appreciated.










share|improve this question



























    0















    I am having a problem with this import in Windows. Scrypt (version 0.8.6) was installed as part of the steem-python package using pip in a virtual environment. I am using Visual Studio 2017 Community (version 15.9.2) in Windows 10. When I try to import scrypt I get



    >>> import scrypt
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "C:UsersMMsourcereposmysitecsenvLibsite-packagesscryptscrypt.py", line 15, in <module>
    _scrypt = cdll.LoadLibrary(imp.find_module('_scrypt')[1])
    File "C:Program Files (x86)Microsoft Visual StudioSharedPython36_64libctypes__init__.py", line 426, in LoadLibrary
    return self._dlltype(name)
    File "C:Program Files (x86)Microsoft Visual StudioSharedPython36_64libctypes__init__.py", line 348, in __init__
    self._handle = _dlopen(self._name, mode)
    OSError: [WinError 126] The specified module could not be found


    I have tried this using the interactive window under the environment in Visual Studio as well as the command prompt.



    I saw some references to needing openSSL. OpenSSL 1.1.0j (64-bit) (the non lite version) is installed.



    What am I missing? Any help would be appreciated.










    share|improve this question

























      0












      0








      0








      I am having a problem with this import in Windows. Scrypt (version 0.8.6) was installed as part of the steem-python package using pip in a virtual environment. I am using Visual Studio 2017 Community (version 15.9.2) in Windows 10. When I try to import scrypt I get



      >>> import scrypt
      Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "C:UsersMMsourcereposmysitecsenvLibsite-packagesscryptscrypt.py", line 15, in <module>
      _scrypt = cdll.LoadLibrary(imp.find_module('_scrypt')[1])
      File "C:Program Files (x86)Microsoft Visual StudioSharedPython36_64libctypes__init__.py", line 426, in LoadLibrary
      return self._dlltype(name)
      File "C:Program Files (x86)Microsoft Visual StudioSharedPython36_64libctypes__init__.py", line 348, in __init__
      self._handle = _dlopen(self._name, mode)
      OSError: [WinError 126] The specified module could not be found


      I have tried this using the interactive window under the environment in Visual Studio as well as the command prompt.



      I saw some references to needing openSSL. OpenSSL 1.1.0j (64-bit) (the non lite version) is installed.



      What am I missing? Any help would be appreciated.










      share|improve this question














      I am having a problem with this import in Windows. Scrypt (version 0.8.6) was installed as part of the steem-python package using pip in a virtual environment. I am using Visual Studio 2017 Community (version 15.9.2) in Windows 10. When I try to import scrypt I get



      >>> import scrypt
      Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "C:UsersMMsourcereposmysitecsenvLibsite-packagesscryptscrypt.py", line 15, in <module>
      _scrypt = cdll.LoadLibrary(imp.find_module('_scrypt')[1])
      File "C:Program Files (x86)Microsoft Visual StudioSharedPython36_64libctypes__init__.py", line 426, in LoadLibrary
      return self._dlltype(name)
      File "C:Program Files (x86)Microsoft Visual StudioSharedPython36_64libctypes__init__.py", line 348, in __init__
      self._handle = _dlopen(self._name, mode)
      OSError: [WinError 126] The specified module could not be found


      I have tried this using the interactive window under the environment in Visual Studio as well as the command prompt.



      I saw some references to needing openSSL. OpenSSL 1.1.0j (64-bit) (the non lite version) is installed.



      What am I missing? Any help would be appreciated.







      python windows import scrypt






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 25 '18 at 18:59









      Mustafamond77Mustafamond77

      2814




      2814
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Well, after more searching, it seems that a specific version of openSSL is required - version 1.0.2 which includes libeay32.dll. This file must also be included in c:windowssystem32. Once this file is available, scrypt(and steem) import fine.






          share|improve this answer























            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
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53470845%2funable-to-import-scrypt-python-3-6-in-windows-10%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









            0














            Well, after more searching, it seems that a specific version of openSSL is required - version 1.0.2 which includes libeay32.dll. This file must also be included in c:windowssystem32. Once this file is available, scrypt(and steem) import fine.






            share|improve this answer




























              0














              Well, after more searching, it seems that a specific version of openSSL is required - version 1.0.2 which includes libeay32.dll. This file must also be included in c:windowssystem32. Once this file is available, scrypt(and steem) import fine.






              share|improve this answer


























                0












                0








                0







                Well, after more searching, it seems that a specific version of openSSL is required - version 1.0.2 which includes libeay32.dll. This file must also be included in c:windowssystem32. Once this file is available, scrypt(and steem) import fine.






                share|improve this answer













                Well, after more searching, it seems that a specific version of openSSL is required - version 1.0.2 which includes libeay32.dll. This file must also be included in c:windowssystem32. Once this file is available, scrypt(and steem) import fine.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 25 '18 at 20:59









                Mustafamond77Mustafamond77

                2814




                2814
































                    draft saved

                    draft discarded




















































                    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.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53470845%2funable-to-import-scrypt-python-3-6-in-windows-10%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

                    Ottavio Pratesi

                    Tricia Helfer

                    15 giugno