We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8adf094 + dfb42b8 commit 340ccc2Copy full SHA for 340ccc2
gpu/setup.python.sh
@@ -1,8 +1,8 @@
1
#!/bin/bash
2
3
-#
+#
4
# This script allows us to install a python version of choice
5
6
7
PYTHON_VER=$1
8
TF_VERSION=$2
@@ -30,10 +30,7 @@ ln -s /usr/bin/python3 /usr/bin/python
30
31
# We need to remove some pre-installed pip packages that end up clashing with our compute-deps
32
pip uninstall -y cryptography
33
-pip install numpy==1.23.4
34
-
35
-# install tensorflow
36
-pip install tensorflow==$TF_VERSION
+pip install numpy==1.23.4 tensorflow==$TF_VERSION -c https://tk.deepnote.com/constraints${PYTHON_VER}.txt
37
38
# create the virtual environment in the home directory in the Dockerfile
39
# using our upgraded python version
0 commit comments