Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Data Science by (18.4k points)

When I run pip3 install -r requirements.txt on the project I get this error message:

pip._vendor.pkg_resources.VersionConflict: (pip 20.2.2 (/usr/local/lib/python3.7/site-packages), Requirement.parse('pip==20.1.1'))

Why is that happening? I am completely blocked on working on my new projects.

My python version is 3.7.8 and I am working on the MAC.

Has this something to do with homebrew python version is now 3.8 what is also installed on my machine.

1 Answer

0 votes
by (36.8k points)
  1. Try upgrading your pip version.

python -m pip install --upgrade pip

     2.If this does pesist, consider using python virtual environments.

Do check out Python Data Science Course which helps you understand from scratch 

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...