Created
June 16, 2020 04:31
-
-
Save psybuzz/0c46c72e716d36ee3c492dec44680c19 to your computer and use it in GitHub Desktop.
VersionConflict error running pip with setuptools 47.3.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ virtualenv --system-site-packages ~/piptest -p python3 | |
Already using interpreter /usr/bin/python3 | |
Using base prefix '/usr' | |
New python executable in ~/piptest/bin/python3 | |
Also creating executable in ~/piptest/bin/python | |
Installing setuptools, pip, wheel... | |
done. | |
$ source ~/piptest/bin/activate | |
(piptest) $ pip list | |
Package Version | |
--------------------- ------------------- | |
packaging 20.3 | |
pip 20.1.1 | |
pyasn1 0.4.2 | |
pyasn1-modules 0.2.1 | |
python-apt 1.9.10 | |
python-augeas 0.5.0 | |
python-debian 0.1.36 | |
python-magic 0.4.16 | |
python-mimeparse 1.6.0 | |
python-networkmanager 2.1 | |
python-pam 1.8.4 | |
python-xapp 1.8.1 | |
python-xlib 0.26 | |
setuptools 47.3.0 | |
six 1.14.0 | |
virtualenv 16.7.7 | |
wheel 0.34.2 | |
(piptest) $ easy_install -U pip | |
WARNING: The easy_install command is deprecated and will be removed in a future version. | |
Searching for pip | |
Reading https://pypi.org/simple/pip/ | |
Downloading https://files.pythonhosted.org/packages/fe/3b/0fc5e63eb277d5a50a95ce5c896f742ef243be27382303a4a44dd0197e29/pip-20.2b1-py2.py3-none-any.whl#sha256=b4e230e2b8ece18c5a19b818f3c20a8d4eeac8172962779fd9898d7c4ceb1636 | |
Best match: pip 20.2b1 | |
Processing pip-20.2b1-py2.py3-none-any.whl | |
Installing pip-20.2b1-py2.py3-none-any.whl to ~/piptest/lib/python3.7/site-packages | |
Adding pip 20.2b1 to easy-install.pth file | |
Installing pip script to ~/piptest/bin | |
Installing pip3 script to ~/piptest/bin | |
Installing pip3.8 script to ~/piptest/bin | |
Installed ~/piptest/lib/python3.7/site-packages/pip-20.2b1-py3.7.egg | |
Processing dependencies for pip | |
Finished processing dependencies for pip | |
(piptest) $ pip | |
Traceback (most recent call last): | |
File "~/piptest/bin/pip", line 30, in <module> | |
sys.exit(load_entry_point('pip==20.2b1', 'console_scripts', 'pip')()) | |
File "~/piptest/lib/python3.7/site-packages/pkg_resources/__init__.py", line 490, in load_entry_point | |
return get_distribution(dist).load_entry_point(group, name) | |
File "~/piptest/lib/python3.7/site-packages/pkg_resources/__init__.py", line 482, in get_distribution | |
dist = get_provider(dist) | |
File "~/piptest/lib/python3.7/site-packages/pkg_resources/__init__.py", line 358, in get_provider | |
return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0] | |
File "~/piptest/lib/python3.7/site-packages/pkg_resources/__init__.py", line 644, in find | |
raise VersionConflict(dist, req) | |
pkg_resources.VersionConflict: (pip 20.1.1 (~/piptest/lib/python3.7/site-packages), Requirement.parse('pip==20.2b1')) | |
(piptest) $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment