diff --git a/website/src/widgets/quickstart-install.js b/website/src/widgets/quickstart-install.js
index df8d971f0..6bb14b687 100644
--- a/website/src/widgets/quickstart-install.js
+++ b/website/src/widgets/quickstart-install.js
@@ -177,11 +177,9 @@ const QuickstartInstall = ({ id, title }) => {
pip install -r requirements.txt
python setup.py build_ext --inplace
- python setup.py install
- {(train || hardware == 'gpu') && (
- pip install -e '.[{pipExtras}]'
- )}
-
+
+ pip install {train || hardware == 'gpu' ? `'.[${pipExtras}]'` : '.'}
+
# packages only available via pip