Skip to content

fix pip failing in virtualenv under SCL#314

Merged
stankevich merged 1 commit into
voxpupuli:masterfrom
mbmilligan:mbmilligan-pip-scl
Jul 18, 2016
Merged

fix pip failing in virtualenv under SCL#314
stankevich merged 1 commit into
voxpupuli:masterfrom
mbmilligan:mbmilligan-pip-scl

Conversation

@mbmilligan
Copy link
Copy Markdown
Contributor

When a virtualenv is created from an SCL python installation, that python binary needs to be runnable for commands in that virtualenv to work. At present this will fail if there is not a matching version of libpython installed in a system path. (Example: python3 is installed via SCL on a system without any version of python3 installed in the base system.) scl enable among other things, sets LD_LIBRARY_PATH, and thus needs to be invoked when running pip. exec_prefix should always be empty when SCL is not in use, so this should be a safe change.

@mbmilligan
Copy link
Copy Markdown
Contributor Author

Possibly this is the issue in #234 as well

@mbmilligan mbmilligan force-pushed the mbmilligan-pip-scl branch from 2a6acf3 to 42a66fb Compare July 16, 2016 17:25
@stankevich stankevich merged commit eefee8f into voxpupuli:master Jul 18, 2016
@mbmilligan mbmilligan deleted the mbmilligan-pip-scl branch July 18, 2016 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants