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

Python 3 #20

Open
smajda opened this issue Jun 13, 2015 · 2 comments
Open

Python 3 #20

smajda opened this issue Jun 13, 2015 · 2 comments

Comments

@smajda
Copy link
Contributor

smajda commented Jun 13, 2015

Our VM is using Python 3. We need to make the app work with Python 3. Also: how do you get virtualenvs working in ansible with python3. Please. @lgw4 this is your fault. :)

@smajda
Copy link
Contributor Author

smajda commented Jun 13, 2015

So here's what we've got so far in ansible:

- apt: pkg="{{ item }}" state=latest
  with_items:
    - build_essential
    - python3
    - python3-dev
    - python3-pip
    - python3-software-properties
    - python3-virtualenv

- pip: 
    requirments: "{{ project_root }}/requirements/project.txt"
    virtualenv: "/virtualenvs/pythonkc"

We get Failed to find required executable virtualenv.

Related issue: Ansible itself does not support Python 3 yet

@lgw4
Copy link
Member

lgw4 commented Jun 13, 2015

No, it's Ansible's fault they don't work with Python3.

Use virtualenvwrapper and specify the path to the python3 executable.

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

2 participants