locked
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\Extract_Ip.py", line 9, in <module>
        from netmiko import ConnectHandler
      File "C:\Python34\lib\site-packages\netmiko\__init__.py", line 8, in <module>
        from netmiko.ssh_dispatcher import ConnectHandler
      File "C:\Python34\lib\site-packages\netmiko\ssh_dispatcher.py", line 4, in <module>
        from netmiko.a10 import A10SSH
      File "C:\Python34\lib\site-packages\netmiko\a10\__init__.py", line 2, in <module>
        from netmiko.a10.a10_ssh import A10SSH
      File "C:\Python34\lib\site-packages\netmiko\a10\a10_ssh.py", line 4, in <module>
        from netmiko.cisco_base_connection import CiscoSSHConnection
      File "C:\Python34\lib\site-packages\netmiko\cisco_base_connection.py", line 3, in <module>
        from netmiko.base_connection import BaseConnection
      File "C:\Python34\lib\site-packages\netmiko\base_connection.py", line 13, in <module>
        import paramiko
      File "C:\Python34\lib\site-packages\paramiko\__init__.py", line 22, in <module>
        from paramiko.transport import SecurityOptions, Transport
      File "C:\Python34\lib\site-packages\paramiko\transport.py", line 57, in <module>
        from paramiko.ed25519key import Ed25519Key
      File "C:\Python34\lib\site-packages\paramiko\ed25519key.py", line 17, in <module>
        import bcrypt
      File "C:\Python34\lib\site-packages\bcrypt\__init__.py", 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

Answers

  • Looks like they're recommending you post over here.  

    https://github.com/Microsoft/PTVS

     

     



    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

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,

    Sara


    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 MSDNFSF@microsoft.com

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

    https://github.com/Microsoft/PTVS

     

     



    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