I'm trying to install lxml
for Centos6.3, due to this issue . It looks like I've got a conflicting version of pip. The standing solution seems to re-install pip for the correct version of python.
My main issue is that all the methods I've found for installing pip require an internet connection. Is it possible to download pip install files, and then run pip install -U pip
and point it at the right files?
The PyPI page for pip only has pip6.11 as a .whl
. I've tried running pip install -U pip-6.1.1-py2.py3-none-any.whl
and it's not worked.
I'm stumped. How do I install it?
You could try to download pip and setuptools manually from: https://pypi.org/project/pip/#files and https://pypi.org/project/setuptools/#files
get the python pip script from: https://bootstrap.pypa.io/get-pip.py
after that unzip/untar packages and run: python get-pip.py --no-index --find-links=/path/to/pip-and-setuptools
or alternatively trying: python setup.py install
when running in unpacked folders
More here: https://github.com/pypa/pip/issues/2351
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.