Created
December 8, 2019 13:16
-
-
Save anmolj7/e80184abe5d762683eca49b3363da748 to your computer and use it in GitHub Desktop.
Ansible playbook to install tensorflow on fedora systems.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: localhost | |
become: yes | |
name: play_1 | |
tasks: | |
- name: Installing Python3.6 | |
dnf: name=python3.6 state=latest | |
- name: Downloading get-pip.py | |
shell: wget https://bootstrap.pypa.io/get-pip.py | |
- name: Installing pip for python3.6 | |
shell: sudo python3.6 get-pip.py | |
- name: Removing get-pip.py | |
shell: rm get-pip.py | |
- name: Installing Tensorflow | |
shell: sudo python3.6 -m pip install tensorflow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Installing python3.6 as tensorflow isn't compatible with python3.7 as of now