1. Install from Wheels#
g-learn offers Python wheels for a variety of operating systems and Python versions. These wheels are available on both PyPI and Anaconda Cloud, providing a convenient way to install the package using either pip
or conda
.
1.1. Install with pip
#
First, ensure that you have pip
installed
python -m ensurepip --upgrade
For further detail on installing pip
, refer to pip installation documentation.
To install g-learn and its Python dependencies using pip
by
python -m pip install --upgrade pip
python -m pip install glearn
If you are using PyPy instead of Python, you can first ensure pip
is installed by
pypy -m ensurepip --upgrade
Next, you can install g-learn as follows:
pypy -m pip install --upgrade pip
pypy -m pip install glearn
1.2. Install with conda
#
Alternatively, you can install g-learn via conda
. To do so, you may refer to the conda instalation documentation to set up conda
on your system. Once conda
is ready, you can install g-learn along with its Python dependencies by using the following command
conda install -c s-ameli glearn -y