Spaces:
Runtime error
Runtime error
Updated Dockerfile for GPU Dependencies
Browse files- Dockerfile +6 -4
Dockerfile
CHANGED
@@ -26,11 +26,13 @@ RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1
|
|
26 |
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 2
|
27 |
RUN update-alternatives --config python3
|
28 |
|
29 |
-
#
|
30 |
-
RUN
|
|
|
31 |
|
32 |
-
# Check Python
|
33 |
-
RUN python3 --version
|
|
|
34 |
|
35 |
# RUN apt-get -y update \
|
36 |
# && apt-get -y install git
|
|
|
26 |
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 2
|
27 |
RUN update-alternatives --config python3
|
28 |
|
29 |
+
# Download and install pip for Python 3.10
|
30 |
+
RUN curl -O https://bootstrap.pypa.io/get-pip.py \
|
31 |
+
&& python3.10 get-pip.py
|
32 |
|
33 |
+
# Check Python and pip versions
|
34 |
+
RUN python3.10 --version \
|
35 |
+
&& pip --version
|
36 |
|
37 |
# RUN apt-get -y update \
|
38 |
# && apt-get -y install git
|