Compiled files .pyc

Hello all,

With Slicer4.10.2 I was able to launch custom compiled python files (.pyc).
Nevertheless with the 4.11 version it is no more working (maybe induced by python3).
I have the following error :

Traceback (most recent call last):
File “”, line 1, in
File “XXXX\Python\Lib\”, line 170, in load_source
module = _exec(spec, sys.modules[name])
File “”, line 618, in _exec
File “”, line 678, in exec_module
File “”, line 219, in _call_with_frames_removed
File “XXXX”, line XXXX, in
import XXXX as XXXX
ImportError: bad magic number in ‘XXXX’: b’B\r\r\n’

Is anyone know how to do ?
Thank you,