... | @@ -1860,5 +1860,42 @@ pip install --user |
... | @@ -1860,5 +1860,42 @@ pip install --user |
|
|
|
|
|
So do **not** use pip install --user some_pkg inside a virtual environment, otherwise, virtual environment's pip will be confused.
|
|
So do **not** use pip install --user some_pkg inside a virtual environment, otherwise, virtual environment's pip will be confused.
|
|
|
|
|
|
|
|
#### Example
|
|
|
|
```
|
|
|
|
pip3 install nibabel --user
|
|
|
|
Collecting nibabel
|
|
|
|
Downloading https://files.pythonhosted.org/packages/8b/8c/cf676b9b3cf69164ba0703a9dcb86ed895ab172e09bece4480db4f03fcce/nibabel-3.1.1-py3-none-any.whl (3.3MB)
|
|
|
|
100% |████████████████████████████████| 3.3MB 200kB/s
|
|
|
|
Collecting packaging>=14.3 (from nibabel)
|
|
|
|
Downloading https://files.pythonhosted.org/packages/46/19/c5ab91b1b05cfe63cccd5cfc971db9214c6dd6ced54e33c30d5af1d2bc43/packaging-20.4-py2.py3-none-any.whl
|
|
|
|
Requirement already satisfied: numpy>=1.13 in /usr/local/lib64/python3.6/site-packages (from nibabel)
|
|
|
|
Requirement already satisfied: six in /usr/lib/python3.6/site-packages (from packaging>=14.3->nibabel)
|
|
|
|
Requirement already satisfied: pyparsing>=2.0.2 in /usr/lib/python3.6/site-packages (from packaging>=14.3->nibabel)
|
|
|
|
Installing collected packages: packaging, nibabel
|
|
|
|
Successfully installed nibabel-3.1.1 packaging-20.4
|
|
|
|
|
|
|
|
|
|
|
|
pip3 show nibabel
|
|
|
|
Name: nibabel
|
|
|
|
Version: 3.1.1
|
|
|
|
Summary: Access a multitude of neuroimaging data formats
|
|
|
|
Home-page: https://nipy.org/nibabel
|
|
|
|
Author: nibabel developers
|
|
|
|
Author-email: neuroimaging@python.org
|
|
|
|
License: MIT License
|
|
|
|
Location: /home/username/.local/lib/python3.6/site-packages
|
|
|
|
Requires: numpy, packaging
|
|
|
|
|
|
|
|
https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/
|
|
|
|
|
|
|
|
|
|
|
|
pip3 list
|
|
|
|
Package Version
|
|
|
|
------------------------ ------------
|
|
|
|
...
|
|
|
|
nibabel 3.1.1
|
|
|
|
...
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|