Allow Nbconvert to support input request

I am trying to execute a notebook from another notebook. However has some inputs that are then pickled and loaded, which is apparently a problem for nbconvert since it does not support raw input request.

with open('Myfitnesspal_nbconvert.ipynb') as f:
nb =, as_version=4)

ep = ExecutePreprocessor(timeout=600, kernel_name='python3')

ep.preprocess(nb, {'metadata': {'path': r'C:\Users\mccom'}})

with open('Myfitnesspal_nbconvert.ipynb', 'w', encoding='utf-8') as f:
    nbformat.write(nb, f)

The output:

StdinNotImplementedError: raw_input was called, but this frontend does not support input requests.

Is there any way that I can set the kernel to allow raw input request?