We're updating the issue view to help you get more done. 

Wagon on Windows fails to find pip

Description

https://github.com/cloudify-cosmo/wagon/blob/0.6.1/wagon.py#L455

We take the directory of the `python.exe` executable, add `scripts`, and then add `pip.exe`.
Therefore, if the current Python interpreter is X:\My\Path\python.exe, we assume that pip is located in X:\My\Path\Scripts\pip.exe.

This is correct only if the python.exe being used is a base installation of Python (usually located in C:\Python27. pip.exe is indeed located in C:\Python27\Scripts.

This is not correct if python.exe being used from a virtualenv. In that case, python.exe and pip.exe are located at the same directory.

Steps to Reproduce

Environment:
OS (CLI), HA cluster, cloud provider
------------------------------------

Steps to reproduce:
------------------
1.
2.
3.

Expected result:
---------------

Actual result:
-------------

Why Propose Close?

None

Status

Assignee

Isaac Shabtay

Reporter

Isaac Shabtay

Labels

None

Severity

High

Target Version

4.4

Premium Only

yes

Found In Version

4.3

QA Owner

Uri Wygodny

Bug Type

legacy bug

Customer Encountered

Yes

Customer Name

None

Release Notes

yes

Priority

None

Epic Link

Sprint

None

Fix versions

Priority

Unprioritized