The entrypoint set python to use optimized code, so we should install also the optimized compiled code.