Skip to content
This repository was archived by the owner on Feb 20, 2024. It is now read-only.

Commit 1d27ec6

Browse files
committed
Set alias for python & pip
1 parent cf625e9 commit 1d27ec6

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.env.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,7 @@ export IMAGE_REDIS=redis:5.0.3-alpine3.8
4646

4747
# Utility configuration
4848
export PYTHONPATH=$PWD # Ensures that `rafiki` module can be imported at project root
49+
50+
# Set alias for correct PIP & python
51+
alias pip='pip3.6'
52+
alias python='python3.6'

docs/src/user/creating-models.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ To start testing your model, first run the following:
7676

7777
.. code-block:: shell
7878
79-
pip install -r rafiki/model/requirements.txt
8079
source .env.sh
80+
pip install -r rafiki/model/requirements.txt
8181
8282
8383
Example: Testing Models for ``IMAGE_CLASSIFICATION``

scripts/build_docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ else
55
DOCS_DIR=$RAFIKI_VERSION
66
fi
77

8-
pip3.6 install sphinx sphinx_rtd_theme
8+
pip install sphinx sphinx_rtd_theme
99
sphinx-build -b html . docs/$DOCS_DIR/

scripts/start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ title "Starting Rafiki's Admin Web..."
6161
ensure_stable "Rafiki's Admin Web"
6262

6363
title "Installing any dependencies..."
64-
pip3.6 install -r ./rafiki/client/requirements.txt
64+
pip install -r ./rafiki/client/requirements.txt
6565

6666
echo "To use Rafiki, use Rafiki Client in the Python CLI"
6767
echo "A quickstart is available at https://nginyc.github.io/rafiki/docs/latest/docs/src/user/quickstart.html"

0 commit comments

Comments
 (0)