fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ModuleNotFoundError: No module named 'fabric.api'


From: Kaushal Shriyan
Subject: Re: ModuleNotFoundError: No module named 'fabric.api'
Date: Fri, 16 Apr 2021 12:36:05 +0530

Thanks Brandon for the email and it worked like a charm. Appreciate your help !!!

On Thu, Apr 15, 2021 at 10:52 PM Brandon Whaley <redkrieg@gmail.com> wrote:
```
>>> connection = Connection(host="192.168.0.188", user="root", port=22, connect_kwargs={"password":"test@#!123"})
>>> result = connection.run('uname -a')
```

On Thu, Apr 15, 2021 at 1:20 PM Kaushal Shriyan
<kaushalshriyan@gmail.com> wrote:
>
>
> On Thu, Apr 15, 2021 at 9:14 PM Brandon Whaley <redkrieg@gmail.com> wrote:
>>
>> The connection object you're making is just a dictionary. Those keys should be keyword arguments to the Connection constructor you imported.
>>
>
> Thanks  Brandon for the email. I am not sure if I completely understood it. Please help me understand with some examples. Thanks in advance.
>
> Best Regards,
>
> Kaushal
>
>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]