# JUPYTER\_PATH does not add my custermized directory into kernelspec

**URL:** <https://discourse.openondemand.org/t/jupyter-path-does-not-add-my-custermized-directory-into-kernelspec/3442>\
**Category:** Get Help\
**Tags:** question\
**Created:** [April 26, 2024, 4:16pm UTC](https://discourse.openondemand.org/t/jupyter-path-does-not-add-my-custermized-directory-into-kernelspec/3442 "2024-04-26T16:16:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhan4429](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/zhan4429/32/1720_2.png) [@zhan4429](https://discourse.openondemand.org/u/zhan4429)\
**Post date:** [April 26, 2024, 4:16pm UTC](https://discourse.openondemand.org/t/jupyter-path-does-not-add-my-custermized-directory-into-kernelspec/3442/1 "2024-04-26T16:16:06Z")

</div>

Hello,

I created some kernels that can be used in bioinformatics analysis. I wanted to share these kernels with all HPC users.

In Jupyter Notebook, I added the below line to script.erb  
export JUPYTER\_PATH=“${PWD}/share/jupyter:/cluster/tufts/biocontainers/kernels”

However, when I ran “jupyter kernelspec list”, I cannot see the kernels that are stored in the newly added JUPYTER\_PATH in the list.

I am wondering whehther I did not set up the kernel path correctly, because exporting JUPYTER\_PATH does not seem to have any effect.

Thank you,

Best,  
Yucheng

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [April 26, 2024, 4:36pm UTC](https://discourse.openondemand.org/t/jupyter-path-does-not-add-my-custermized-directory-into-kernelspec/3442/2 "2024-04-26T16:36:55Z")

</div>

Does this work? Removing the last `kernels` child folder.

```auto
export JUPYTER_PATH="${PWD}/share/jupyter:/cluster/tufts/biocontainers"

```

---

<div class="post-metadata">

**Author:** ![zhan4429](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/zhan4429/32/1720_2.png) [@zhan4429](https://discourse.openondemand.org/u/zhan4429)\
**Post date:** [April 26, 2024, 5:24pm UTC](https://discourse.openondemand.org/t/jupyter-path-does-not-add-my-custermized-directory-into-kernelspec/3442/3 "2024-04-26T17:24:33Z")

</div>

Hi Jeff, it works after removing kernels. Thanks a lot.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [October 23, 2024, 5:24pm UTC](https://discourse.openondemand.org/t/jupyter-path-does-not-add-my-custermized-directory-into-kernelspec/3442/4 "2024-10-23T17:24:44Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
