ParlAI icon indicating copy to clipboard operation
ParlAI copied to clipboard

Error with urllib3 version while installing ParlAI

Open Simon-Grome opened this issue 3 years ago • 2 comments

Hello, I have used the Quick-start installation instructions to install ParlAI on a linux system. When running the parlai check command, I receive the following error: pkg_resources.DistributionNotFound: The 'urllib3>=1.26.5' distribution was not found and is required by parlai

After using pip install urllib3==1.26.5 and retrying parlai check however, I am met with a new error: pkg_resources.ContextualVersionConflict: (urllib3 1.26.5 (/home/grome.7/anaconda3/lib/python3.9/site-packages), Requirement.parse('urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1'), {'requests'})

Essentially, it seems like ParlAI is asking me to install a version of urllib3 that is both >=1.26.5 and <1.26.

I am unable to use any of ParlAI's features without resolving this issue- is there a way to fix it?

Simon-Grome avatar Jun 30 '22 18:06 Simon-Grome

on my personal env, I have urllib3==1.26.9, so maybe just try installing with that?

klshuster avatar Jul 11 '22 20:07 klshuster

This issue has not had activity in 30 days. Please feel free to reopen if you have more issues. You may apply the "never-stale" tag to prevent this from happening.

github-actions[bot] avatar Aug 11 '22 00:08 github-actions[bot]