Another possibility is if you are near a larger university, you should easily be able to just go to any lounge or study area there, pull out your books, and no one will ever ask for your student ID.
Libraries, such as the one at my university (Waseda) require ID cards, but there are plenty of other buildings with places to study...