Log In Sign Up ImportError: DLL load failed: %1 is not a valid Win32 application. But the DLL's are there RRS feed

  • Question

  • I'm trying to run scripts python i'm using Python3.4 64bit and i'm trying to import netmiko to connect to routers. My system is 64 bit system. This is the error that i get it :(

    Traceback (most recent call last):
      File "C:\Users\monia\Desktop\ooredoo_pfe\IPAM\1-Script de collecte des subnets\IP_Extract\", line 9, in <module>
        from netmiko import ConnectHandler
      File "C:\Python34\lib\site-packages\netmiko\", line 8, in <module>
        from netmiko.ssh_dispatcher import ConnectHandler
      File "C:\Python34\lib\site-packages\netmiko\", line 4, in <module>
        from netmiko.a10 import A10SSH
      File "C:\Python34\lib\site-packages\netmiko\a10\", line 2, in <module>
        from netmiko.a10.a10_ssh import A10SSH
      File "C:\Python34\lib\site-packages\netmiko\a10\", line 4, in <module>
        from netmiko.cisco_base_connection import CiscoSSHConnection
      File "C:\Python34\lib\site-packages\netmiko\", line 3, in <module>
        from netmiko.base_connection import BaseConnection
      File "C:\Python34\lib\site-packages\netmiko\", line 13, in <module>
        import paramiko
      File "C:\Python34\lib\site-packages\paramiko\", line 22, in <module>
        from paramiko.transport import SecurityOptions, Transport
      File "C:\Python34\lib\site-packages\paramiko\", line 57, in <module>
        from paramiko.ed25519key import Ed25519Key
      File "C:\Python34\lib\site-packages\paramiko\", line 17, in <module>
        import bcrypt
      File "C:\Python34\lib\site-packages\bcrypt\", line 25, in <module>
        from bcrypt import _bcrypt
    ImportError: DLL load failed: %1 is not a valid Win32 application.

    Wednesday, February 14, 2018 9:24 AM


All replies

  • Hi friend,

    Welcome to the MSDN forum.

    It seems your issue is about the python development, since our forum is to discuss the VS IDE, please redirect to this appropriate forum: to seek for a more professional support, thank you for your understanding.

    Meanwhile, you can have a look at this similar issue and hope it hepful for your issue.

    Best regards,


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Wednesday, February 14, 2018 3:30 PM
  • Looks like they're recommending you post over here.



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Thursday, February 22, 2018 12:27 PM