Python version for shinyapps.io - deployment problem

Ok, so I managed to get it to deploy. I installed an earlier python version, but that didn't fix it. Then following this earlier post I created a requirements.txt file and deleted the line piwin32==306. Now it has deployed. I'd still be really grateful for any insights anyone can offer on what was going on here! Thanks in advance.