Hello Yan
Loading the same module and after building scikit.simg I am having these error logs:
2019/10/20 22:19:10 info unpack layer: sha256:46470ea16fb56c00a082aae75c1136c9b0b2b1cda0a934ee10c0f5f1ffa5589d
2019/10/20 22:19:10 info unpack layer: sha256:52dc74c3369ea3a85455b96e9b2c54bd9433c1f0c10857fa336f74a2d65ff460
INFO: Creating SIF file...
INFO: Build complete: scikit.simg
[proios0@login2 leScript]$ singularity run scikit.simg
[WARN tini (15)] Tini is not running as PID 1 .
Zombie processes will not be re-parented to Tini, so zombie reaping won't work.
To fix the problem, run Tini as PID 1.
Container must be run with group "users" to update files
Executing the command: jupyter notebook
Traceback (most recent call last):
File "/opt/conda/lib/python3.7/site-packages/traitlets/traitlets.py", line 528, in get
value = obj._trait_values[self.name]
KeyError: 'runtime_dir'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/bin/jupyter-notebook", line 11, in <module>
sys.exit(main())
File "/opt/conda/lib/python3.7/site-packages/jupyter_core/application.py", line 266, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/opt/conda/lib/python3.7/site-packages/traitlets/config/application.py", line 657, in launch_instance
app.initialize(argv)
File "</opt/conda/lib/python3.7/site-packages/decorator.py:decorator-gen-7>", line 2, in initialize
File "/opt/conda/lib/python3.7/site-packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "/opt/conda/lib/python3.7/site-packages/notebook/notebookapp.py", line 1676, in initialize
self.init_configurables()
File "/opt/conda/lib/python3.7/site-packages/notebook/notebookapp.py", line 1349, in init_configurables
connection_dir=self.runtime_dir,
File "/opt/conda/lib/python3.7/site-packages/traitlets/traitlets.py", line 556, in __get__
return self.get(obj, cls)
File "/opt/conda/lib/python3.7/site-packages/traitlets/traitlets.py", line 535, in get
value = self._validate(obj, dynamic_default())
File "/opt/conda/lib/python3.7/site-packages/jupyter_core/application.py", line 99, in _runtime_dir_default
ensure_dir_exists(rd, mode=0o700)
File "/opt/conda/lib/python3.7/site-packages/jupyter_core/utils/__init__.py", line 13, in ensure_dir_exists
os.makedirs(path, mode=mode)
File "/opt/conda/lib/python3.7/os.py", line 211, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/opt/conda/lib/python3.7/os.py", line 211, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/opt/conda/lib/python3.7/os.py", line 221, in makedirs
mkdir(name, mode)
OSError: [Errno 30] Read-only file system: '/run/user'
Also during building there were several warning for rootless containers eg
2019/10/20 22:18:56 info unpack layer: sha256:b519db4443ee8326d4143c01935d7177c9039430006f469aa8e2ffd2142a448b
2019/10/20 22:18:56 warn rootless{opt/conda/bin/libpng-config} ignoring (usually) harmless EPERM on setxattr "user.rootlesscontainers"
2019/10/20 22:18:56 warn rootless{opt/conda/include/png.h} ignoring (usually) harmless EPERM on setxattr "user.rootlesscontainers"
2019/10/20 22:18:56 warn rootless{opt/conda/include/pngconf.h} ignoring (usually) harmless EPERM on setxattr "user.rootlesscontainers"
2019/10/20 22:18:56 warn rootless{opt/conda/include/pnglibconf.h} ignoring (usually) harmless EPERM on setxattr "user.rootlesscontainers"
2019/10/20 22:18:56 warn rootless{opt/conda/lib/libblas.so} ```
Do you have some idea what could be the issue in this case?
Thank you in advance