Approach this as a classic all-except question by recalling the cause list for erythema nodosum, a tender nodular inflammation of the fat septa over the front of the legs that behaves as a hypersensitivity response. The standard triggers memorised for exams include streptococcal throat infection, tuberculosis, sarcoidosis, inflammatory bowel disease, certain drugs and oral contraceptives, the hormonal state of pregnancy, and autoimmune disorders including systemic lupus erythematosus. Three of the four options, namely pregnancy, tuberculosis and SLE, sit comfortably on this list. The outlier is chronic pancreatitis. Pancreatic disease does produce skin nodules, but through a separate process called pancreatic panniculitis, where leaked pancreatic enzymes such as lipase cause lobular fat necrosis with saponification rather than the septal pattern of erythema nodosum. Because the question asks which one is not a cause of erythema nodosum, the answer is the pancreatic option.\[\boxed{\text{Chronic pancreatitis}}\]