Could not install packages due to an EnvironmentError: [Errno 2]
Try to reinstall tqdm with conda. And then you can install packages with pip.
conda install tqdm
Wait until it done. Then you can do:
pip install gender-guesser
I met the same problem and this might work for you cd into the location where metadata.json exists and type this command cp metadata.json METADATA then you could do sudo pip install