title: why voila is not working with jupyter lab
body: <p>I recently installed jupyter lab on my macos, and I'm trying to use it with voila.
  The installation process was the following:</p>
  <ol>
  <li><code>pip3 install jupyterlab</code></li>
  <li><code>pip3 install voila</code></li>
  <li><code>jupyter serverextension enable voila</code></li>
  </ol>
  <p>Now when using the command <code>jupyter serverextension list</code> it seems to be installed and activated correctly.
  Now the problem is that after running jupyter lab, if I follow the instruction in the documentation typing /voila, it says:</p>
  <pre><code>Path not found
  The path: /lab/voila was not found. JupyterLab redirected to: /
  </code></pre>
  <p>Another thing that I tried is to use the command <code>!voila my_code.ip</code> and the resulting error is the following:</p>
  <pre><code>Traceback (most recent call last):
    File &quot;/opt/homebrew/bin/voila&quot;, line 8, in &lt;module&gt;
      sys.exit(main())
    File &quot;/opt/homebrew/lib/python3.9/site-packages/traitlets/config/application.py&quot;, line 975, in launch_instance
      app.initialize(argv)
    File &quot;/opt/homebrew/lib/python3.9/site-packages/voila/app.py&quot;, line 374, in initialize
      self.setup_template_dirs()
    File &quot;/opt/homebrew/lib/python3.9/site-packages/voila/app.py&quot;, line 380, in setup_template_dirs
      self.template_paths = collect_template_paths(['voila', 'nbconvert'], template_name, prune=True)
    File &quot;/opt/homebrew/lib/python3.9/site-packages/voila/paths.py&quot;, line 24, in collect_template_paths
      return collect_paths(app_names, template_name, include_root_paths=True, prune=prune, root_dirs=root_dirs)
    File &quot;/opt/homebrew/lib/python3.9/site-packages/voila/paths.py&quot;, line 90, in collect_paths
      raise ValueError(
  ValueError: No template sub-directory with name 'base' found in the following paths:
  </code></pre>
  <p>I already tried to uninstall an reinstall both jupyter and voila.
  What am I doing wrong? I would prefer to use the first method since giving the command only at the end of the code would be quite uncomfortable for me and I would like to render the result in the same page (or at least open the final result in a new page with only a button).
  Please I really don't know what to do.
  Thank you for the help.</p>