# Using Prodigy with JupyterLab

**URL:** <https://support.prodi.gy/t/using-prodigy-with-jupyterlab/4915>\
**Category:** Uncategorized\
**Tags:** usage, solved, jupyter\
**Created:** [November 8, 2021, 10:17pm UTC](https://support.prodi.gy/t/using-prodigy-with-jupyterlab/4915 "2021-11-08T22:17:40Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![fsa](https://avatars.discourse-cdn.com/v4/letter/f/e9a140/32.png) [@fsa](https://support.prodi.gy/u/fsa)\
**Post date:** [November 8, 2021, 10:17pm UTC](https://support.prodi.gy/t/using-prodigy-with-jupyterlab/4915/1 "2021-11-08T22:17:40Z")

</div>

I tried using Prodigy with JupyterLab and due to proxy issue I could install the extension jupyterlab-prodigy only through `npm install jupyterlab-prodigy` . As you see in the attached image all went fine except the annotation interface didn't appear automatically as a tab in the jupter lab interface. It works fine when I click on the web server url. However, the annotation interface appears in the browser instead as a new tab in the JupyterLab interface. What is missing so the annotation interface appears automatically as soon as the notebook is running?

 ![image](https://us1.discourse-cdn.com/flex020/uploads/prodigy/original/2X/1/1743d71a050534570675debd37393f3f9a470967.png)

---

<div class="post-metadata">

**Author:** ![ljvmiranda921](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ljvmiranda921/32/3197_2.png) [@ljvmiranda921](https://support.prodi.gy/u/ljvmiranda921)\
**Post date:** [November 10, 2021, 3:24am UTC](https://support.prodi.gy/t/using-prodigy-with-jupyterlab/4915/2 "2021-11-10T03:24:27Z")

</div>

Hi @fsa, have you tried opening the Prodigy tab from within Jupyter via the extension? Specifically, head over inside of JupyterLab, open the `Commands` on the left sidebar, and search/type:

Open Prodigy

Execute it, you will have a new Prodigy panel on the side.

---

<div class="post-metadata">

**Author:** ![fsa](https://avatars.discourse-cdn.com/v4/letter/f/e9a140/32.png) [@fsa](https://support.prodi.gy/u/fsa)\
**Post date:** [November 10, 2021, 7:08am UTC](https://support.prodi.gy/t/using-prodigy-with-jupyterlab/4915/3 "2021-11-10T07:08:11Z")

</div>

Hi Lj Miranda, It doesn't show up there. It seems jupyterlab-prodigy is not installed correctly using `npm install jupyterlab-prodigy`  
How I can install the jupyterlab-prodigy using ` jupyter labextension install jupyterlab-prodigy` behind a proxy?

---

<div class="post-metadata">

**Author:** ![ljvmiranda921](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ljvmiranda921/32/3197_2.png) [@ljvmiranda921](https://support.prodi.gy/u/ljvmiranda921)\
**Post date:** [November 10, 2021, 7:16am UTC](https://support.prodi.gy/t/using-prodigy-with-jupyterlab/4915/4 "2021-11-10T07:16:41Z")

</div>

Hi @fsa,

First you have to ensure that your jupyterlab version is \>=2.0.0, \<3.0.0. Not sure if being in a proxy matters, you just need to update the install command. You can install the extension like so:

```python
jupyter labextension install jupyterlab-prodigy

```

You can check [these docs](https://github.com/explosion/jupyterlab-prodigy) for more information.

---

<div class="post-metadata">

**Author:** ![fsa](https://avatars.discourse-cdn.com/v4/letter/f/e9a140/32.png) [@fsa](https://support.prodi.gy/u/fsa)\
**Post date:** [November 10, 2021, 7:41am UTC](https://support.prodi.gy/t/using-prodigy-with-jupyterlab/4915/5 "2021-11-10T07:41:35Z")

</div>

Hi Lj Miranda,  
I am using jupyterlab version 2.1.2. As I mentioned due to a proxy issue I can't install the extension using `jupyter labextension install jupyterlab-prodigy`

```python
Failed to fetch package metadata for 'jupyterlab-prodigy': URLError(OSError(101, 'Network is unreachable'))

```

---

<div class="post-metadata">

**Author:** ![ljvmiranda921](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ljvmiranda921/32/3197_2.png) [@ljvmiranda921](https://support.prodi.gy/u/ljvmiranda921)\
**Post date:** [November 10, 2021, 7:46am UTC](https://support.prodi.gy/t/using-prodigy-with-jupyterlab/4915/6 "2021-11-10T07:46:23Z")

</div>

Hmm 🤔 , that's more tricky. I found a similar issue [in this StackOverflow question](https://stackoverflow.com/questions/51267124/jupyterlab-plotly-extension-wont-install) that may be worth trying. One solution was to set the `npm`'s proxy config.

---

<div class="post-metadata">

**Author:** ![fsa](https://avatars.discourse-cdn.com/v4/letter/f/e9a140/32.png) [@fsa](https://support.prodi.gy/u/fsa)\
**Post date:** [November 10, 2021, 8:28am UTC](https://support.prodi.gy/t/using-prodigy-with-jupyterlab/4915/7 "2021-11-10T08:28:00Z")

</div>

Unfortunately I tried all possible ways to set the `npm` proxy but still didn't success to install the `jupyterlab-prodigy` extension behind a proxy

---

<div class="post-metadata">

**Author:** ![ljvmiranda921](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ljvmiranda921/32/3197_2.png) [@ljvmiranda921](https://support.prodi.gy/u/ljvmiranda921)\
**Post date:** [November 11, 2021, 12:34am UTC](https://support.prodi.gy/t/using-prodigy-with-jupyterlab/4915/8 "2021-11-11T00:34:58Z")

</div>

Hi @fsa, I'm wondering if you can try installing other extensions so that we can isolate the problem? If the problem happens at the `npm` level, and it happens to all other extensions, there's nothing much we can do. I'd suggest configuring the proxy differently.

---

<div class="post-metadata">

**Author:** ![fsa](https://avatars.discourse-cdn.com/v4/letter/f/e9a140/32.png) [@fsa](https://support.prodi.gy/u/fsa)\
**Post date:** [November 11, 2021, 11:12am UTC](https://support.prodi.gy/t/using-prodigy-with-jupyterlab/4915/10 "2021-11-11T11:12:19Z")

</div>

Hi Lj Miranda,  
I could solve the proxy issue , this command works for me: `npm config set https-proxy "usr:password"@proxy.server:port`  
I installed the prodigy extension and I could run `open prodigy` and changed the url name in the `Prodigy Jupyter Extension` setting. All works fine !
