Code:
from pycaret.datasets import get_data
from pycaret.classification import *
juice = get_data('juice')
exp_clf = setup(juice, target = 'Purchase', silent=True)
compare_models()
The SETUP not working, I think that pythonanywhere has any configuration to do. The local code is working perfetly