Cannot find python3-distutils module when selected python3 randomly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2018 09:49 PM
Hi,
I updated the latest version TRex v2.45.
I know that "find_python.sh --local" command select python version 2 or 3 randomly.
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.
Of course, I can solve this issue if install python3-distutils package, but I'd like to know why TRex select python version randomly.
Was it intended?
root@ubuntu:/trex# ./t-rex-64 -i
Traceback (most recent call last):
File "./dpdk_setup_ports.py", line 13, in <module>
import dpdk_nic_bind
File "/opt/etrex-1.5/dpdk_nic_bind.py", line 40, in <module>
from distutils.util import strtobool
ModuleNotFoundError: No module named 'distutils.util'
Bad return status from trex-cfg (1)
Configuration failed
root@ubuntu:/trex# ./dpdk_nic_bind.py -s
Traceback (most recent call last):
File "./dpdk_nic_bind.py", line 40, in <module>
from distutils.util import strtobool
ModuleNotFoundError: No module named 'distutils.util'
root@ubuntu:/opt/etrex#
BR,
Yonghwan
- Labels:
-
TRex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2023 11:52 PM
Could you try it below side commnad ;
sudo apt install python3-pip
