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: Brandon Whaley
Subject: Re: ModuleNotFoundError: No module named 'fabric.api'
Date: Thu, 15 Apr 2021 13:22:38 -0400

```
>>> 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]