# IJulia with/via JupyterHub systemd - fails

**URL:** <https://discourse.jupyter.org/t/ijulia-with-via-jupyterhub-systemd-fails/13541>\
**Category:** JupyterHub\
**Created:** [March 22, 2022, 6:05pm UTC](https://discourse.jupyter.org/t/ijulia-with-via-jupyterhub-systemd-fails/13541 "2022-03-22T18:05:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lejeczek](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/lejeczek/32/6404_2.png) [@lejeczek](https://discourse.jupyter.org/u/lejeczek)\
**Post date:** [March 22, 2022, 6:05pm UTC](https://discourse.jupyter.org/t/ijulia-with-via-jupyterhub-systemd-fails/13541/1 "2022-03-22T18:05:02Z")

</div>

Hi guys.

JupyterHub on my box runs as systemd daemon and all seems to work well except for Julia.  
In ‘Unit’ section I do use for ‘Environment=’, JULIA\_LOAD\_PATH & JULIA\_DEPOT\_PATH which I used for ‘julia’ from day one - however…  
… I noticed something there: with those ‘envs’ I get Julia pkgs installed where the envs point but kernel itself ends up in: ‘/root/.local/share/jupyter/kernels’ - which is different from other kernels. So I copied that over as otherwise JH would not pick up Julia kernel.  
Now back to systemd jupyterhub - when I try to start Julia kernel it will not connect & in the logs I see:

```auto
[I 2022-03-22 17:44:32.235 SingleUserNotebookApp log:189] 201 POST /jup/user/pawel/api/sessions (pawel@127.0.0.1) 30.15ms
ERROR: LoadError: ArgumentError: Package IJulia not found in current path:
- Run `import Pkg; Pkg.add("IJulia")` to install the IJulia package.
Stacktrace:
 [1] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:967
in expression starting at /opt/share/julia/extralib/packages/IJulia/e8kqU/src/kernel.jl:1`

```

I must be missing something trivial - what that might be?  
many thanks, L.
