erudition

(n) extensive knowledge acquired chiefly from books.   
Jean Paul was erudite but when it came to street smarts, he was helpless.