<?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: Cannot find python3-distutils module when selected python3 randoml in Tools</title>
    <link>https://community.cisco.com/t5/tools/cannot-find-python3-distutils-module-when-selected-python3/m-p/4935246#M3403</link>
    <description>&lt;P&gt;Could you try it below side commnad ;&lt;/P&gt;&lt;P&gt;sudo apt install python3-pip&lt;/P&gt;</description>
    <pubDate>Fri, 06 Oct 2023 06:52:30 GMT</pubDate>
    <dc:creator>Volkan</dc:creator>
    <dc:date>2023-10-06T06:52:30Z</dc:date>
    <item>
      <title>Cannot find python3-distutils module when selected python3 randomly.</title>
      <link>https://community.cisco.com/t5/tools/cannot-find-python3-distutils-module-when-selected-python3/m-p/3700087#M474</link>
      <description>&lt;P style="text-align: left;"&gt;Hi,&lt;/P&gt;
&lt;P style="text-align: left;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: left;"&gt;I updated the latest version TRex v2.45.&lt;/P&gt;
&lt;P style="text-align: left;"&gt;I know that "find_python.sh --local" command select python version 2 or 3 randomly.&lt;/P&gt;
&lt;P&gt;If this script select python3, cannot find distutils module as below log in my environment installed python2 and python3. I never seen this issue in the previous version.&lt;/P&gt;
&lt;P&gt;Of course, I can solve this issue if install python3-distutils package, but I'd like to know why TRex select python version randomly.&lt;/P&gt;
&lt;P style="text-align: left;"&gt;Was it intended?&lt;/P&gt;
&lt;P style="text-align: left;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: left;"&gt;&lt;SPAN&gt;root@ubuntu:/trex#&lt;/SPAN&gt;&amp;nbsp;./t-rex-64 -i&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt; File "./dpdk_setup_ports.py", line 13, in &amp;lt;module&amp;gt;&lt;BR /&gt; import dpdk_nic_bind&lt;BR /&gt; File "/opt/etrex-1.5/dpdk_nic_bind.py", line 40, in &amp;lt;module&amp;gt;&lt;BR /&gt; from distutils.util import strtobool&lt;BR /&gt;ModuleNotFoundError: No module named 'distutils.util'&lt;BR /&gt;Bad return status from trex-cfg (1)&lt;BR /&gt;Configuration failed&lt;/P&gt;
&lt;P style="text-align: left;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: left;"&gt;root@ubuntu:/trex# ./dpdk_nic_bind.py -s&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt; File "./dpdk_nic_bind.py", line 40, in &amp;lt;module&amp;gt;&lt;BR /&gt; from distutils.util import strtobool&lt;BR /&gt;ModuleNotFoundError: No module named 'distutils.util'&lt;BR /&gt;root@ubuntu:/opt/etrex#&lt;/P&gt;
&lt;P style="text-align: left;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: left;"&gt;BR,&lt;/P&gt;
&lt;P style="text-align: left;"&gt;Yonghwan&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 04:49:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/cannot-find-python3-distutils-module-when-selected-python3/m-p/3700087#M474</guid>
      <dc:creator>yonghwan007</dc:creator>
      <dc:date>2018-09-04T04:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot find python3-distutils module when selected python3 randoml</title>
      <link>https://community.cisco.com/t5/tools/cannot-find-python3-distutils-module-when-selected-python3/m-p/4935246#M3403</link>
      <description>&lt;P&gt;Could you try it below side commnad ;&lt;/P&gt;&lt;P&gt;sudo apt install python3-pip&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 06:52:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/cannot-find-python3-distutils-module-when-selected-python3/m-p/4935246#M3403</guid>
      <dc:creator>Volkan</dc:creator>
      <dc:date>2023-10-06T06:52:30Z</dc:date>
    </item>
  </channel>
</rss>

