# Jupyter notebooks on windows

**URL:** <https://forums.losant.com/t/jupyter-notebooks-on-windows/2070>\
**Category:** Help\
**Tags:** workflow\
**Created:** [August 9, 2019, 9:16pm UTC](https://forums.losant.com/t/jupyter-notebooks-on-windows/2070 "2019-08-09T21:16:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [August 9, 2019, 9:16pm UTC](https://forums.losant.com/t/jupyter-notebooks-on-windows/2070/1 "2019-08-09T21:16:25Z")

</div>

I’m running Jupyter on windows and I’m struggling to define the environment variables INPUT\_DIR and OUTPUT\_DIR before launching the notebook.

Any guidance here?

---

<div class="post-metadata">

**Author:** ![JuliaKempf](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/juliakempf/32/2446_2.png) [@JuliaKempf](https://forums.losant.com/u/JuliaKempf)\
**Post date:** [August 12, 2019, 1:47pm UTC](https://forums.losant.com/t/jupyter-notebooks-on-windows/2070/2 "2019-08-12T13:47:40Z")

</div>

Hi @Lars_Andersson,

[This forum post](https://forums.losant.com/t/setting-input-dir-and-output-dir-to-show-locally-on-os-environ/1870) has instructions on setting your environment variables for Windows. Please let me know if you have an questions 😄

Thanks!  
Julia

---

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [August 12, 2019, 2:25pm UTC](https://forums.losant.com/t/jupyter-notebooks-on-windows/2070/3 "2019-08-12T14:25:32Z")

</div>

Aewesome ! that worked.

---

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [August 12, 2019, 6:53pm UTC](https://forums.losant.com/t/jupyter-notebooks-on-windows/2070/4 "2019-08-12T18:53:37Z")

</div>

Correction, it now works when executing the Notebook locally, but not when running on Losant.  
Do I need to modify the definition of the INPUT\_DIR and OUTPUT\_DIR before I upload the .ipynb file?  
The execution log shows me Jupyter error, and the first 3 lines shows this:  
[NbConvertApp] Converting notebook /tmp/input.ipynb to notebook  
[NbConvertApp] Executing notebook with kernel: python3  
[NbConvertApp] ERROR | Error while converting ‘/tmp/input.ipynb’

---

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [August 12, 2019, 7:10pm UTC](https://forums.losant.com/t/jupyter-notebooks-on-windows/2070/5 "2019-08-12T19:10:20Z")

</div>

Never mind, as soon as I commented out the local IN/Out directories, it worked.
