Maybe book learning isn't for you? Try an online resource such as Code Academy or Coursera. You might enjoy the immediate feedback from each lesson as you make progress.
While being able to learn from books, I find that online courses with deadlines are a tremendous help to stay on track. I think I just need a little pressure. Maybe OP needs the same.