Not all libraries want you either. In my home town, the main library is so filled with students and high schoolers "hanging out" that honest researchers didn't have any more space. They started a policy that if you don't need the resources of the reading rooms (books, machines, ...), you're not supposed to use them.
My hometown has >1mio population, 3 universities and a lot of students occupying the libraries. Coffee shops can be a comfortable alternative.