Ref
Installing Python packages (Offline mode) - IBM Documentation
Download packages from pip
$ pip download -d path/to/dir PACKAGE_NAME=VERSION
Create requirements
$ vi pre_req.txt
numpy=-1.2.1
keras=2.0.2
Install local packages from pip
$ pip install --no-deps --no-index --find-links=/path/to/dir -r pre_req.txt
Remove local installed pacakges
$ pip uninstall -r pre_req.txt
'Python' 카테고리의 다른 글
pipsi - pip script installer (1) | 2019.06.04 |
---|---|
SSH with python3 (0) | 2019.01.25 |
flask: download file from directory (0) | 2019.01.02 |
Flask on apache via mod_wsgi (0) | 2018.12.06 |
Python 2.6 to 2.7 (or 3.x) (0) | 2018.11.23 |