Skip to content Skip to sidebar Skip to footer

Unable To Install Any Package Using Pip

Whenever I run the command pip install Django I get the following error trace which means there is some version conflict. I tried uninstalling and then installing the same package,

Solution 1:

It seems like all the problem is because of certifi version conflict

so try downloading the source from here https://pypi.python.org/pypi/certifi

and install from source

Extract it go into the folder and run this command

sudo python setup.py  install

and it should work

peace

Solution 2:

I met such a situation when I had already used system package manager like aptitude or pacman to install that very package, or dependency package (they, pip and system package manager, do not know each other, while they install package at the same folder, some site-package thing, so it's easy to get a file already exist like problem)

You need to see which is conflict, open your python console, try to import it, and see where is it with module_name.file, remove it(or the folder) manually (please backup before problem really solved).

Or just use pip and system package manager to verify which has been already installed

Post a Comment for "Unable To Install Any Package Using Pip"