Works absolutely fine at my side. For the resources issue, try restarting your computer, and then run the code.