File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -35,5 +35,7 @@ RUN pip install --upgrade pip
3535# Install deepethogram with dev dependencies
3636ADD . /app/deepethogram
3737WORKDIR /app/deepethogram
38+ # Use Python 3.7 compatible pyproject.toml
39+ RUN cp pyproject_py37.toml pyproject.toml
3840ENV DEG_VERSION='full'
3941RUN pip install -e ".[dev]"
Original file line number Diff line number Diff line change @@ -38,10 +38,13 @@ RUN conda install python=3.7 -y
3838RUN pip install --upgrade pip
3939
4040# TODO: REFACTOR CODE SO IT'S POSSIBLE TO RUN GUI WITHOUT TORCH
41- RUN conda install pytorch cpuonly -c pytorch
41+ # Install PyTorch CPU via pip to avoid conda issues with Python 3.7
42+ RUN pip install torch==1.11.0+cpu torchvision==0.12.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
4243
4344# Install deepethogram with dev dependencies
4445ADD . /app/deepethogram
4546WORKDIR /app/deepethogram
47+ # Use Python 3.7 compatible pyproject.toml
48+ RUN cp pyproject_py37.toml pyproject.toml
4649ENV DEG_VERSION='gui'
4750RUN pip install -e ".[dev]"
Original file line number Diff line number Diff line change @@ -39,5 +39,7 @@ RUN pip install --upgrade pip
3939# Install deepethogram with dev dependencies
4040ADD . /app/deepethogram
4141WORKDIR /app/deepethogram
42+ # Use Python 3.7 compatible pyproject.toml
43+ RUN cp pyproject_py37.toml pyproject.toml
4244ENV DEG_VERSION='headless'
4345RUN pip install -e ".[dev]"
You can’t perform that action at this time.
0 commit comments