<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: which python version is recommended for sasviya 3.2 in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/which-python-version-is-recommended-for-sasviya-3-2/m-p/415417#M11307</link>
    <description>&lt;P&gt;How can you install Ansible using two package managers python 2.7.5 and yum (as you mentioned: I have SAS Viya 3.2 installed on RHEL 7.4 using Python 2.7.5 and Ansible 2.4.0 where Ansible was installed simply via yum)&lt;/P&gt;</description>
    <pubDate>Wed, 22 Nov 2017 08:33:45 GMT</pubDate>
    <dc:creator>AmitSri</dc:creator>
    <dc:date>2017-11-22T08:33:45Z</dc:date>
    <item>
      <title>which python version is recommended for sasviya 3.2</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/which-python-version-is-recommended-for-sasviya-3-2/m-p/415201#M11298</link>
      <description>&lt;P&gt;I am trying to install ansible2.2.1 on redhat7 and receiving error as:&amp;nbsp;error in cryptography setup command: Invalid environment marker: python_version &amp;lt; '3'&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 14:46:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/which-python-version-is-recommended-for-sasviya-3-2/m-p/415201#M11298</guid>
      <dc:creator>AmitSri</dc:creator>
      <dc:date>2017-11-21T14:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: which python version is recommended for sasviya 3.2</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/which-python-version-is-recommended-for-sasviya-3-2/m-p/415207#M11300</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/166025"&gt;@AmitSri&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS requires Ansible version 2.2.1.x or later. Do not use Ansible 2.2.2.&amp;nbsp;The Ansible controller machine must be connected to the Red Hat Network.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On Red Hat Enterprise Linux, the Ansible server requires a Server-Optional subscription in addition to the Base (operating-system) subscription. The managed nodes must also be registered to the Red Hat Network, but a Base subscription is sufficient.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Ansible controller requires Python 2.6 or 2.7. Any nodes that you plan to manage with Ansible require Python 2.4 or a later release. If you are running Python 2.4 or an earlier release on the managed nodes, the python-simplejson encoder for JSON is required. The Ansible controller also requires the following Python modules, which are provided by the Extra Package for Enterprise Linux (EPEL) if the machine is registered:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;paramiko&lt;/LI&gt;
&lt;LI&gt;PyYAML&lt;/LI&gt;
&lt;LI&gt;jinja2&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/en/documentation/third-party-software-reference/viya/support-for-operating-systems.html" target="_self"&gt;https://support.sas.com/en/documentation/third-party-software-reference/viya/support-for-operating-systems.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 14:56:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/which-python-version-is-recommended-for-sasviya-3-2/m-p/415207#M11300</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2017-11-21T14:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: which python version is recommended for sasviya 3.2</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/which-python-version-is-recommended-for-sasviya-3-2/m-p/415365#M11304</link>
      <description>&lt;P&gt;I have SAS Viya 3.2 installed on RHEL 7.4 using Python 2.7.5 and Ansible 2.4.0 where Ansible was installed simply via yum. An earlier yum update had pushed my Ansible version from 2.3 to 2.4 and the playbook complained about it being 2.4. I noticed that vars.yml had&amp;nbsp;MAXIMUM_RECOMMENDED_ANSIBLE_VERSION: 2.3 so I changed it to 2.4 to see if it worked. Ansible 2.4 worked for me for this deployment but given the vars.yml had a max of 2.3 I do not know if 2.4 is supported/recommended by SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 02:39:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/which-python-version-is-recommended-for-sasviya-3-2/m-p/415365#M11304</guid>
      <dc:creator>PaulHomes</dc:creator>
      <dc:date>2017-11-22T02:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: which python version is recommended for sasviya 3.2</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/which-python-version-is-recommended-for-sasviya-3-2/m-p/415388#M11305</link>
      <description>&lt;P&gt;Thanks for your reply Alex!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not able to install ansible using python pip, what if I install it using yum package manager, is there any difference in between both&lt;/P&gt;&lt;P&gt;methods. please suggest&amp;nbsp;any other alternative to do&amp;nbsp;the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have python&amp;nbsp; 2.7 preinstalled on RHEL7+&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 06:17:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/which-python-version-is-recommended-for-sasviya-3-2/m-p/415388#M11305</guid>
      <dc:creator>AmitSri</dc:creator>
      <dc:date>2017-11-22T06:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: which python version is recommended for sasviya 3.2</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/which-python-version-is-recommended-for-sasviya-3-2/m-p/415414#M11306</link>
      <description>&lt;P&gt;I subscribe to what Paul said and recommended, same experiences.&lt;/P&gt;
&lt;P&gt;However, I am interested: why are you unable to install the recommended Ansible versions with pip?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 08:17:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/which-python-version-is-recommended-for-sasviya-3-2/m-p/415414#M11306</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2017-11-22T08:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: which python version is recommended for sasviya 3.2</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/which-python-version-is-recommended-for-sasviya-3-2/m-p/415417#M11307</link>
      <description>&lt;P&gt;How can you install Ansible using two package managers python 2.7.5 and yum (as you mentioned: I have SAS Viya 3.2 installed on RHEL 7.4 using Python 2.7.5 and Ansible 2.4.0 where Ansible was installed simply via yum)&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 08:33:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/which-python-version-is-recommended-for-sasviya-3-2/m-p/415417#M11307</guid>
      <dc:creator>AmitSri</dc:creator>
      <dc:date>2017-11-22T08:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: which python version is recommended for sasviya 3.2</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/which-python-version-is-recommended-for-sasviya-3-2/m-p/415418#M11308</link>
      <description>&lt;P&gt;because, when&amp;nbsp;I am trying to install ansible2.2.1 on redhat7, I am receiving error as:&amp;nbsp;error in cryptography setup command: Invalid environment marker: &lt;FONT color="#ff0000"&gt;python_version &amp;lt; '3'&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 08:37:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/which-python-version-is-recommended-for-sasviya-3-2/m-p/415418#M11308</guid>
      <dc:creator>AmitSri</dc:creator>
      <dc:date>2017-11-22T08:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: which python version is recommended for sasviya 3.2</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/which-python-version-is-recommended-for-sasviya-3-2/m-p/415420#M11309</link>
      <description>&lt;P&gt;By having different virtual environments.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;# sudo -H pip install ansible==2.1.1.0 if you don't need virtualenv

# virtualenv
sudo -H pip uninstall virtualenv
sudo -H pip uninstall virtualenvwrapper
sudo -H pip install virtualenv
sudo -H pip install virtualenvwrapper --ignore-installed six
sudo -H pip install httplib2
mkdir ~/.virtualenvs
mkdir ~/ansible_virtualenvs

# profile path
echo "source "$(which virtualenvwrapper.sh) &amp;gt;&amp;gt; ~/.profile
echo "export WORKON_HOME=~/.virtualenvs" &amp;gt;&amp;gt; ~/.profile
source ~/.profile

# install and configuration virtualenvs profiles
cd ~/ansible_virtualenvs
mkdir 1.9.4
cd 1.9.4
mkvirtualenv ansible-1.9.4
pip install ansible==1.9.4
ansible --version
deactivate

cd ~/ansible_virtualenvs
mkdir 1.9.5
cd 1.9.5
mkvirtualenv ansible-1.9.5
pip install ansible==1.9.5
ansible --version
deactivate

cd ~/ansible_virtualenvs
mkdir 1.9.6
cd 1.9.6
mkvirtualenv ansible-1.9.6
pip install ansible==1.9.6
ansible --version
deactivate

cd ~/ansible_virtualenvs
mkdir 2.0.0.1
cd 2.0.0.1
mkvirtualenv ansible-2.0.0.1
pip install ansible==2.0.0.1
ansible --version
deactivate

cd ~/ansible_virtualenvs
mkdir 2.0.0.2
cd 2.0.0.2
mkvirtualenv ansible-2.0.0.2
pip install ansible==2.0.0.2
ansible --version
deactivate

cd ~/ansible_virtualenvs
mkdir 2.0.1.0
cd 2.0.1.0
mkvirtualenv ansible-2.0.1.0
pip install ansible==2.0.1.0
ansible --version
deactivate

cd ~/ansible_virtualenvs
mkdir 2.0.2.0
cd 2.0.2.0
mkvirtualenv ansible-2.0.2.0
pip install ansible==2.0.2.0
ansible --version
deactivate

cd ~/ansible_virtualenvs
mkdir 2.1.0.0
cd 2.1.0.0
mkvirtualenv ansible-2.1.0.0
pip install ansible==2.1.0.0
ansible --version
deactivate

cd ~/ansible_virtualenvs
mkdir 2.1.1.0
cd 2.1.1.0
mkvirtualenv ansible-2.1.1.0
pip install ansible==2.1.1.0
ansible --version
deactivate
&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Nov 2017 08:37:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/which-python-version-is-recommended-for-sasviya-3-2/m-p/415420#M11309</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2017-11-22T08:37:55Z</dc:date>
    </item>
  </channel>
</rss>

