Skip to content

Commit f6b6b1e

Browse files
authored
Fix netgen import in container by setting PYTHONPATH (#4234)
* Fix netgen import in container by setting PYTHONPATH See NGSolve/netgen#213
1 parent c48cadf commit f6b6b1e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docker/Dockerfile.firedrake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ RUN pip install --verbose \
77
--extra-index-url https://download.pytorch.org/whl/cpu \
88
jax ngsPETSc torch vtk
99

10+
# Set PYTHONPATH so netgen can be found
11+
# (see https://github.com/NGSolve/netgen/issues/213)
12+
ENV PYTHONPATH=/usr/local/lib/python3.12/site-packages:$PYTHONPATH
13+
1014
# Install Firedrake apps
1115
RUN pip install --verbose --src /opt \
1216
-e git+https://github.com/firedrakeproject/asQ.git#egg=asQ \

0 commit comments

Comments
 (0)