still doesn't work. everything I do the first time doesn't work and the
second time it does....

very very weird...


On Thu, Oct 3, 2019 at 7:52 AM P. Varsha <p.varsha20...@gmail.com> wrote:

> hello,
>
> check once from command prompt *pip install docker* under the python
> scripts folder it will work.
>
> thanks,
> varsha
>
>
> <https://www.avast.com/en-in/recommend?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=default3&tag=85053955-6b69-4d04-b801-1af3fb015be0>
>  I’m
> protected online with Avast Free Antivirus. Get it here — it’s free
> forever.
> <https://www.avast.com/en-in/recommend?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=default3&tag=85053955-6b69-4d04-b801-1af3fb015be0>
> <#m_7467768759848419475_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> On Wed, Oct 2, 2019 at 9:18 PM Ravi Ranjan <ravi.ranjan....@gmail.com>
> wrote:
>
>> These steps needs to be done on the remote machine
>> 1) pip uninstall docker
>> 2) pip list | grep docker
>> 3) pip uninstall docker-compose
>> 4) pip install docker --upgrade
>>
>> This should work
>>
>> On Wed, Oct 2, 2019 at 9:07 PM Alfredo De Luca <alfredo.del...@gmail.com>
>> wrote:
>>
>>> ok thanks I will give it a try
>>> cheers
>>>
>>> On Wed, Oct 2, 2019 at 5:31 PM Ravi Ranjan <ravi.ranjan....@gmail.com>
>>> wrote:
>>>
>>>> After uninstall via "pip uninstall docker" and then use "pip install
>>>> docker --upgrade" , if that also didnt work - u need to un-install
>>>> docker-compose as well "pip uninstall docker-compose" , it should work then
>>>>
>>>> This issue happened to me last week in production
>>>>
>>>>
>>>>
>>>> On Wed, Oct 2, 2019 at 7:20 PM Alfredo De Luca <
>>>> alfredo.del...@gmail.com> wrote:
>>>>
>>>>> Hi Ravi. I ve done that but didn't work.
>>>>>
>>>>> It seems to have problem finding the package pip rather than the
>>>>> docker library itself.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Oct 2, 2019 at 11:59 AM Ravi Ranjan <ravi.ranjan....@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Luca ,
>>>>>>
>>>>>> I have observed the same for our GCP instances where i am running
>>>>>> docker on VM . Then, i had to uninstall via "pip uninstall docker" and 
>>>>>> then
>>>>>> re-install it - "pip install docker" . Issues get resolved .
>>>>>>
>>>>>> Ravi Ranjan
>>>>>>
>>>>>> On Wed, Oct 2, 2019 at 2:06 PM Alfredo De Luca <
>>>>>> alfredo.del...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi all.
>>>>>>> I have the following...
>>>>>>>
>>>>>>> - name: Install pip
>>>>>>>   package:
>>>>>>>     name: python-pip
>>>>>>>     update_cache: true
>>>>>>>     state: present
>>>>>>>
>>>>>>> - name: Install docker libs with pip
>>>>>>>   pip:
>>>>>>>     name: docker
>>>>>>>     state: present
>>>>>>>     executable: pip
>>>>>>>
>>>>>>> When I run the playbook the first time it fails with
>>>>>>> <SNIP>
>>>>>>>
>>>>>>> *FAILED! => {"changed": false, "msg": "Failed to import the required
>>>>>>> Python library (Docker SDK for Python: docker (Python >= 2.7) or 
>>>>>>> docker-py
>>>>>>> (Python 2.6)) on myhost 's Python /usr/bin/python3. Please read module
>>>>>>> documentation and install in the appropriate location, for example via 
>>>>>>> `pip
>>>>>>> install docker` or `pip install docker-py` (Python 2.6). The error was: 
>>>>>>> No
>>>>>>> module named 'docker'"}*
>>>>>>> <SNIP>
>>>>>>>
>>>>>>> But if ti runs the second time no issue at all.
>>>>>>> Any idea why? I thought it was cause it can't find the path for PIP
>>>>>>> ..... but not sure.
>>>>>>> Cheers
>>>>>>>
>>>>>>> --
>>>>>>> *Alfredo*
>>>>>>>
>>>>>>> --
>>>>>>> You received this message because you are subscribed to the Google
>>>>>>> Groups "Ansible Project" group.
>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>> send an email to ansible-project+unsubscr...@googlegroups.com.
>>>>>>> To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/msgid/ansible-project/CAAWpFTFQcY0wCk64yQ30g5gG-0njYy12NDi5OeC60dsr%2BGHYjg%40mail.gmail.com
>>>>>>> <https://groups.google.com/d/msgid/ansible-project/CAAWpFTFQcY0wCk64yQ30g5gG-0njYy12NDi5OeC60dsr%2BGHYjg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>>>> .
>>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "Ansible Project" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>> send an email to ansible-project+unsubscr...@googlegroups.com.
>>>>>> To view this discussion on the web visit
>>>>>> https://groups.google.com/d/msgid/ansible-project/CAGfYbJzYXPTS3dNdVtP45Bwa5rDC5%2B4Wb7tM30i2wjZsv6c-4A%40mail.gmail.com
>>>>>> <https://groups.google.com/d/msgid/ansible-project/CAGfYbJzYXPTS3dNdVtP45Bwa5rDC5%2B4Wb7tM30i2wjZsv6c-4A%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Alfredo*
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Ansible Project" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to ansible-project+unsubscr...@googlegroups.com.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/ansible-project/CAAWpFTFxfkRb%2B-nz8_6FM38j%2B4-emYEQMmWg_s6M-epUwXgG%3Dw%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/ansible-project/CAAWpFTFxfkRb%2B-nz8_6FM38j%2B4-emYEQMmWg_s6M-epUwXgG%3Dw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Ansible Project" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to ansible-project+unsubscr...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/ansible-project/CAGfYbJxqw%2BsyGRpKGMAoSSH88h%3DHwuFA2eq3QrRVJe%2BnpSMkfw%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/ansible-project/CAGfYbJxqw%2BsyGRpKGMAoSSH88h%3DHwuFA2eq3QrRVJe%2BnpSMkfw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>
>>>
>>> --
>>> *Alfredo*
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Ansible Project" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to ansible-project+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/ansible-project/CAAWpFTE_1dt2Fqrty98_O%3Dizshde2LGQ_O9dyC%2B7G3yF_ZgMNg%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/ansible-project/CAAWpFTE_1dt2Fqrty98_O%3Dizshde2LGQ_O9dyC%2B7G3yF_ZgMNg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ansible Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to ansible-project+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/CAGfYbJxJg4aJmx_uCE7dfNTpws-h-AMOzWDsBgxwDk5jJzkgCg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/ansible-project/CAGfYbJxJg4aJmx_uCE7dfNTpws-h-AMOzWDsBgxwDk5jJzkgCg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> <https://www.avast.com/en-in/recommend?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=default3&tag=85053955-6b69-4d04-b801-1af3fb015be0>
>  I’m
> protected online with Avast Free Antivirus. Get it here — it’s free
> forever.
> <https://www.avast.com/en-in/recommend?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=default3&tag=85053955-6b69-4d04-b801-1af3fb015be0>
> <#m_7467768759848419475_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAA3T03L6%2BOC1sRMLNTbRy2nw1eu0wwZv9uT9DdZ%3DsYkY6NNkag%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAA3T03L6%2BOC1sRMLNTbRy2nw1eu0wwZv9uT9DdZ%3DsYkY6NNkag%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>


-- 
*Alfredo*

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAAWpFTGcFPy542mve9mty-0JjTBbz1PdQs2XVKzLWNKEEMk6cQ%40mail.gmail.com.

Reply via email to