Assuming you don't want to end up on insulin, the only thing I could think of to get you calories would be to use medium chain triglycerides and protein as your dietary macros.
It looks like MCTs are used by people with pancreatitis because it is easily digested and used for energy.
I would still want to get 25% of daily caloric needs from carbs (rice and potatos) as this level seems to produce the best insulin sensitivity.
And in fact, 25% carbs, 25% protein and 50% fat, mostly from MCTs is right in line with my personal caloric breakdown.
I am not sure where to find nearly pure MCT sources though. Coconut oil is more than half MCT, mostly 12 carbons long. Goat butter and cheese has shorter 6, 8 and 10 carbon triglycerides.
So plausibly a diet of coconut oil, goat milk cheese and butter, (50% of cals) and rice and potatoes (25% of cals) and 25% protein could be suited to low carb diet that also needs to deal with pancreatitis.
It also would be beneficial to eat fermented vegetables, as intestinal bacteria can break down fiber from veggies, potatoes and fruit into a short chain fatty acid known as butyrate which can stabilize blood sugar and provide some calories.