<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">Ansible main program</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="root@docker-build-test:/mnt/src/ansible/ansible/bin# ./ansible --version
Traceback (most recent call last):
  File &quot;./ansible&quot;, line 46, in &lt;module&gt;
    from ansible.module_utils._text import to_text
ImportError: No module named _text
"><pre class="notranslate"><code class="notranslate">root@docker-build-test:/mnt/src/ansible/ansible/bin# ./ansible --version
Traceback (most recent call last):
  File "./ansible", line 46, in &lt;module&gt;
    from ansible.module_utils._text import to_text
ImportError: No module named _text

</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">Building <code class="notranslate">ansible</code> from source. There is a system <code class="notranslate">ansible</code> installed, v2.0.0.2 installed from Ubuntu 16.04 for aarch64 .</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Ubuntu 16.04 on ARMv8 (aarch64) on 96-core server on Packet.net</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">After I installed a bunch of test dependencies, all tests pass; but when I try to run <code class="notranslate">ansible --version</code> from the <code class="notranslate">bin/</code> directory of the distribution, that fails.</p>
<p dir="auto">A similar bug identified (though not exactly the same) is <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="191036573" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/18582" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/18582/hovercard" href="https://github.com/ansible/ansible/issues/18582">#18582</a>.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">Pull the current distribution from github, this is on origin/devel.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# git status
On branch devel
Your branch is up-to-date with 'origin/devel'."><pre class="notranslate"><code class="notranslate"># git status
On branch devel
Your branch is up-to-date with 'origin/devel'.
</code></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">I expected <code class="notranslate">ansible --version</code> to print the version number.</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="root@docker-build-test:/mnt/src/ansible/ansible/bin# ./ansible -vvvv  --version
Traceback (most recent call last):
  File &quot;./ansible&quot;, line 46, in &lt;module&gt;
    from ansible.module_utils._text import to_text
ImportError: No module named _text
"><pre class="notranslate"><code class="notranslate">root@docker-build-test:/mnt/src/ansible/ansible/bin# ./ansible -vvvv  --version
Traceback (most recent call last):
  File "./ansible", line 46, in &lt;module&gt;
    from ansible.module_utils._text import to_text
ImportError: No module named _text

</code></pre></div>
<h5 dir="auto">ISSUE TYPE</h5>

<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>

<ul dir="auto">
<li>Ansible</li>
</ul>
<h5 dir="auto">ANSIBLE VERSION</h5>

<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Name        : ansible
Arch        : noarch
Version     : 2.2.0.0
Release     : 3.el6
Size        : 22 M
Repo        : installed
From repo   : epel-testing
Summary     : SSH-based configuration management, deployment, and task execution system
URL         : http://ansible.com
License     : GPLv3+"><pre class="notranslate"><code class="notranslate">Name        : ansible
Arch        : noarch
Version     : 2.2.0.0
Release     : 3.el6
Size        : 22 M
Repo        : installed
From repo   : epel-testing
Summary     : SSH-based configuration management, deployment, and task execution system
URL         : http://ansible.com
License     : GPLv3+
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>

<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="inventory      = /etc/ansible/hosts
remote_tmp     = $HOME/.ansible/tmp
pattern        = *
forks          = 5
poll_interval  = 15
sudo_user      = drone
transport      = smart
module_lang    = C
gathering = implicit
host_key_checking = False
sudo_exe = sudo
timeout = 10
log_path = /var/log/ansible.log
jinja2_extensions = jinja2.ext.do,jinja2.ext.i18n
ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by {uid} on {host}
display_skipped_hosts = True
action_plugins     = /usr/share/ansible_plugins/action_plugins
callback_plugins   = /usr/share/ansible_plugins/callback_plugins
connection_plugins = /usr/share/ansible_plugins/connection_plugins
lookup_plugins     = /usr/share/ansible_plugins/lookup_plugins
vars_plugins       = /usr/share/ansible_plugins/vars_plugins
filter_plugins     = /usr/share/ansible_plugins/filter_plugins
fact_caching = memory
[privilege_escalation]
[paramiko_connection]
[ssh_connection]
pipelining = True
scp_if_ssh = True
"><pre class="notranslate"><code class="notranslate">inventory      = /etc/ansible/hosts
remote_tmp     = $HOME/.ansible/tmp
pattern        = *
forks          = 5
poll_interval  = 15
sudo_user      = drone
transport      = smart
module_lang    = C
gathering = implicit
host_key_checking = False
sudo_exe = sudo
timeout = 10
log_path = /var/log/ansible.log
jinja2_extensions = jinja2.ext.do,jinja2.ext.i18n
ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by {uid} on {host}
display_skipped_hosts = True
action_plugins     = /usr/share/ansible_plugins/action_plugins
callback_plugins   = /usr/share/ansible_plugins/callback_plugins
connection_plugins = /usr/share/ansible_plugins/connection_plugins
lookup_plugins     = /usr/share/ansible_plugins/lookup_plugins
vars_plugins       = /usr/share/ansible_plugins/vars_plugins
filter_plugins     = /usr/share/ansible_plugins/filter_plugins
fact_caching = memory
[privilege_escalation]
[paramiko_connection]
[ssh_connection]
pipelining = True
scp_if_ssh = True

</code></pre></div>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<ul dir="auto">
<li>Red Hat Enterprise Linux Server release 6.8 (Santiago)</li>
</ul>

<h5 dir="auto">SUMMARY</h5>

<h5 dir="auto">STEPS TO REPRODUCE</h5>


<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Update from ansible 2.1.0.0 to 2.2 by YUM from the epel-testing repo."><pre class="notranslate"><code class="notranslate">Update from ansible 2.1.0.0 to 2.2 by YUM from the epel-testing repo.
</code></pre></div>

<h5 dir="auto">EXPECTED RESULTS</h5>

<p dir="auto">Ansible ansible-2.2.0.0-3.el6.noarch working fine.</p>
<h5 dir="auto">ACTUAL RESULTS</h5>


<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible --version
Traceback (most recent call last):
  File &quot;/usr/bin/ansible&quot;, line 46, in &lt;module&gt;
    from ansible.module_utils._text import to_text
ImportError: No module named _text
"><pre class="notranslate"><code class="notranslate">ansible --version
Traceback (most recent call last):
  File "/usr/bin/ansible", line 46, in &lt;module&gt;
    from ansible.module_utils._text import to_text
ImportError: No module named _text

</code></pre></div>