QuantRocket

ModuleNotFoundError


#1

I tried to kick off a moonshot backtest in command line and I got the following error

Error in sitecustomize; set PYTHONVERBOSE for traceback:
ModuleNotFoundError: No module named ‘codeload’
error: No module named ‘codeload.plot’
msg: an unhandled exception occurred, please check flightlog for the traceback and
notify support as this might be a bug

Similar error occurred when I ran with Jupyter notebook (No module named ‘codeload.plot’)


#2

codeload.plot is not a QR module; presumably it is yours? Not sure what to tell you without more to go on. If the codeload volume didn’t mount properly you could probably resolve by redeploying with docker-compose down and up, but I suspect your issue has to do with whatever this plot module is.