# itkwidgets CLI ConnectionRefusedError

**URL:** https://discourse.itk.org/t/itkwidgets-cli-connectionrefusederror/6450
**Category:** Beginner Questions
**Tags:** itkwidgets
**Created:** [February 18, 2024, 3:38am UTC](https://discourse.itk.org/t/itkwidgets-cli-connectionrefusederror/6450 "2024-02-18T03:38:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![constantine](https://discourse.itk.org/user_avatar/discourse.itk.org/constantine/32/3915_2.png) [@constantine](https://discourse.itk.org/u/constantine)
#### Post date: [February 18, 2024, 3:38am UTC](https://discourse.itk.org/t/itkwidgets-cli-connectionrefusederror/6450/1 "2024-02-18T03:38:13Z")

</div>

Greetings ITK community,

I’m starting to tinker with itkwidgets (among other things) and trying the CLI like this:

`itkwidgets -i Lat_Bisection.nrrd --verbose -b`

with the following results:

```auto
/home/xys321/miniconda3/envs/itk/bin/python: Error while finding module specification for 'hypha.server' (ModuleNotFoundError: No module named 'hypha')
ERROR:websocket-client:Failed to connect to ws://127.0.0.1:37480/ws, retrying 1/10000
Traceback (most recent call last):

### Snip! ###

  File "/home/xyz321/miniconda3/envs/itk/lib/python3.11/asyncio/selector_events.py", line 674, in _sock_connect_cb
    raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 111] Connect call failed ('127.0.0.1', 37480)

```

It appears I may be missing a requirement, a server (hypha?) of some sort, but I don’t see anything specific to this point in the itkwidgets docs ([Quick Start Guide - itkwidgets's documentation](https://itkwidgets.readthedocs.io/en/latest/quick_start_guide.html)).

Would you please suggest what may be missing in this instance?

---

<div class="post-metadata">

### Author: ![matt.mccormick](https://discourse.itk.org/user_avatar/discourse.itk.org/matt.mccormick/32/7_2.png) [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)
#### Post date: [February 19, 2024, 2:17pm UTC](https://discourse.itk.org/t/itkwidgets-cli-connectionrefusederror/6450/2 "2024-02-19T14:17:33Z")

</div>

Greetings, Constantine!

The CLI instructions are [located here](https://itkwidgets.readthedocs.io/en/latest/quick_start_guide.html#command-line-cli). In summary,

```sh
pip install "itkwidgets[cli]>=1.0a35"
playwright install --with-deps chromium

```

The CLI/standalone browser support is experimental and we are working to remove most of the dependencies.

---

<div class="post-metadata">

### Author: ![constantine](https://discourse.itk.org/user_avatar/discourse.itk.org/constantine/32/3915_2.png) [@constantine](https://discourse.itk.org/u/constantine)
#### Post date: [February 19, 2024, 11:07pm UTC](https://discourse.itk.org/t/itkwidgets-cli-connectionrefusederror/6450/3 "2024-02-19T23:07:05Z")

</div>

Thank you, @matt.mccormick, and yes, I’ve read, followed (the protocol). 🙂

There’s nothing happening whatsoever when I try calling itkwidgets:

![image](https://discourse.itk.org/uploads/default/original/2X/9/945b513ead59944fbd5d0e76cea72c4ea80a35c8.png)

… it just continues sitting there, waiting for CTRL+C 🤔
