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

Virtualenv doesn't install with the right python #384

Closed
m2bright opened this issue Nov 17, 2017 · 0 comments
Closed

Virtualenv doesn't install with the right python #384

m2bright opened this issue Nov 17, 2017 · 0 comments

Comments

@m2bright
Copy link

We have a scenario where:

  1. We have system python, and then an installed python, different from the system python
    System - 2.7.6
    Custom - 2.7.10 - /usr/local/lib/python2.7.10
  2. We have installed a virtualenv executable in the python2.7.10 version
  3. When running python::virtualenv we do:
    python::python_virtualenvs: "/tmp/myVirtualEnv": owner: "www-data" group: "www-data" virtualenv: '/usr/local/lib/python2.7.10/bin/virtualenv'

Problem: When python executes, the virtualenv is created, but the python it is cloned from is the system python. The $version can't overcome it.

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

No branches or pull requests

1 participant