Skip to content

Commit

Permalink
Merge pull request #419 from QCDIS/412-modulenotfounderror-no-module-…
Browse files Browse the repository at this point in the history
…named-multiply_data_access

fix #412
  • Loading branch information
skoulouzis authored Jan 16, 2023
2 parents 53e4484 + 490a0fd commit 2589e81
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions docker/Dockerfile-MULTIPLY
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ADD jupyterlab_vre-0.1.0-py3-none-any.whl /home/jovyan/jupyterlab_vre-0.1.0-py3-
RUN conda install -c conda-forge conda-merge conda-pack
RUN conda-merge naavre-build-environment.yml laserfarm-environment.yaml > merged-environment.yaml
RUN cat merged-environment.yaml
RUN mamba env update -f merged-environment.yaml
RUN conda env update -f merged-environment.yaml
RUN conda list
RUN conda-pack -n venv -o /tmp/env.tar && \
mkdir /venv && cd /venv && tar xf /tmp/env.tar && \
Expand Down Expand Up @@ -50,6 +50,10 @@ RUN jupyter serverextension enable --py jupyterlab_github --user

RUN jupyter lab build --debug;

#RUN python -c "from multiply_data_access import DataAccessComponent"
RUN python -c "from multiply_data_access import DataAccessComponent"
RUN python -c "from vm_support.utils import create_config_file, set_permissions"
RUN python -c "from vm_support.sym_linker import create_sym_links"
RUN python -c "import glob"
RUN python -c "import pyproj"

cmd ["/usr/local/bin/start-jupyter-venv.sh"]
4 changes: 2 additions & 2 deletions docker/laserfarm-environment.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: venv
channels:
- conda-forge
- defaults
- mathieu
# - defaults
# - mathieu
dependencies:
- pip=22.3.1=pyhd8ed1ab_0
- ipywidgets
Expand Down

0 comments on commit 2589e81

Please sign in to comment.