Skip to content

Commit

Permalink
[ansible/venv] Use the python binary discovered by Ansible
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyfruit committed Dec 6, 2023
1 parent 1b44872 commit 8a7ab06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ansible/roles/ovos_installer/tasks/virtualenv/venv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
ansible.builtin.pip:
name: tflite_runtime
virtualenv: "{{ ovos_installer_user_home }}/.venvs/ovos"
virtualenv_command: python3.11 -m venv
virtualenv_command: "{{ discovered_interpreter_python }} -m venv"
extra_args: "-f 'https://whl.smartgic.io/'"
when: ovos_installer_cpu_is_capable | bool

- name: Create {{ ovos_installer_user_home }}/.venvs/ovos Python venv without tflite_runtime
ansible.builtin.pip:
name: wheel
virtualenv: "{{ ovos_installer_user_home }}/.venvs/ovos"
virtualenv_command: python3.11 -m venv
virtualenv_command: "{{ discovered_interpreter_python }} -m venv"
when: not ovos_installer_cpu_is_capable | bool

- name: Install Open Voice OS in Python venv
Expand Down

0 comments on commit 8a7ab06

Please sign in to comment.