General package installation method:
- Download the corresponding tar.gz file (take numpy-9.2.tar.gz as an example)
- tar –zxvf numpy-1.9.tar.gz
- cd numpy-1.9.2
- python setup.py install
But sometimes there are situations where some packages are not working, such as jupyter-client
At this time, replace the fourth step with
python setup.py install --single-version-externally-managed --root=/
If it doesn’t work, download the whl file (such as jsonschema)
pip install jsonschema-3.2.0-py2.py3-none-any.whl -f ./ --no-index --no-deps