Created
June 2, 2018 09:11
-
-
Save cjjavellana/e58c2d75b4e90de947088821ce60214e to your computer and use it in GitHub Desktop.
Yum, PIP installation from Cache
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Installing Yum dependencies from cache | |
$ yum install -y package -C | |
## Building Wheel Packages for Offline Installation | |
$ pip wheel --wheel-dir=/tmp/SomePackage SomePackage | |
## Installating Wheel Packages from Cache | |
$ pip install --no-index --find-links=/tmp/SomePackage SomePackage | |
## Miscellaneous | |
If you have faced the error on MacOS X, here's the quick fix - add these lines to your ~/.bash_profile: | |
export LC_ALL=en_US.UTF-8 | |
export LANG=en_US.UTF-8 | |
Credit goes to: https://coderwall.com/p/-k_93g/mac-os-x-valueerror-unknown-locale-utf-8-in-python |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment