Poetry is just unhelpful sometimes. Install instead using pip install easy-pil. Your problem is that poetry updates all packages and if there is one broken one you cannot install any others. (The problem is with the pkg replit but because of poetry you cannot install easy-pil)