The python.tcz extension from 9.x dist doesn't seem to contain the file /usr/local/lib/python2.7/multiprocessing/util.py. Instead, there is a /usr/local/lib/python2.7/multiprocessing/util.pyo file, which can be loaded only when python process is started with a "-O" arg
So importing multiprocessing module from python fails. Is this something that can be fixed
Failing logs with TC 9.0
tc@tce_9.0:~$ version
9.0
tc@tce_9.0:~$ tce-load -i python
python is already installed!
tc@tce_9.0:~$
tc@tce_9.0:~$ python
Python 2.7.14 (default, Mar 21 2018, 12:17:56)
[GCC 7.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import multiprocessing
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/multiprocessing/__init__.py", line 65, in <module>
from multiprocessing.util import SUBDEBUG, SUBWARNING
ImportError: No module named util
>>>
tc@tce_9.0:~$ python -O
Python 2.7.14 (default, Mar 21 2018, 12:17:56)
[GCC 7.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import multiprocessing
>>>
Working fine with TC 8.2.1
tc@trex:~$ version
8.2.1
tc@tce_8.2.1:~$ tce-load -i python
python is already installed!
tc@tce_8.2.1:~$
tc@tce_8.2.1:~$ python
Python 2.7.14 (default, Oct 6 2017, 14:37:32)
[GCC 6.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import multiprocessing
>>>