To install with
pip through PyPI, it is recommend to use
virtualenv (or module venv for modern pythons).
The use of virtualenv prevents pollution of any system directories and allows
you to wipe out the full installation simply by removing the virtualenv
created directory (“WORK” in this example):
$ virtualenv WORK $ source WORK/bin/activate (WORK) $ python -m pip install scikit-quant (WORK) $
If you use
pip directly on the command line, instead of through
python, make sure that the
PATH envar points to the bin directory
that will contain the installed entry points during the installation, as the
build process needs them.
You may also need to install
wheel first if you have an older version of
pip and/or do not use virtualenv (which installs wheel by default).
Older versions of
pip may also require the
--user option, if you do
not have write access to the installation directory.
$ python -m pip install wheel --user $ PATH=$HOME/.local/bin:$PATH python -m pip install scikit-quant --user
Alternatively, you can use
pip from a
$ conda create -n WORK $ conda activate WORK (WORK) $ python -m pip install scikit-quant (WORK) $