Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix pip failing in virtualenv under SCL #314

Merged
merged 1 commit into from
Jul 18, 2016

Conversation

mbmilligan
Copy link
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
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