# Unable to work with Clojupyter

**URL:** https://clojureverse.org/t/unable-to-work-with-clojupyter/8554
**Category:** Beginners
**Created:** [January 25, 2022, 4:59am UTC](https://clojureverse.org/t/unable-to-work-with-clojupyter/8554 "2022-01-25T04:59:42Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![mindaslab](https://clojureverse.org/user_avatar/clojureverse.org/mindaslab/32/3569_2.png) [@mindaslab](https://clojureverse.org/u/mindaslab)
#### Post date: [January 25, 2022, 4:59am UTC](https://clojureverse.org/t/unable-to-work-with-clojupyter/8554/1 "2022-01-25T04:59:42Z")

</div>

Hello All,

I am learning Clojure, and I found clojupyter to be very helpful. But recently I am getting errors as shown. I use Mac M1 (Monterey 12.1)

```auto
[I 2022-01-25 10:21:54.017 LabApp] Build is up to date
[I 2022-01-25 10:21:57.063 ServerApp] Creating new notebook in
[I 2022-01-25 10:21:57.529 ServerApp] Kernel started: 271c0671-68c9-4ebc-b92d-9d8fe5b86837
[E 04:52:08.886 Clojupyter] c8r.messages -- Invalid message signature
[E 04:52:08.932 Clojupyter] c8r.util-actions --
                                        java.lang.Thread.run Thread.java: 745
          java.util.concurrent.ThreadPoolExecutor$Worker.run ThreadPoolExecutor.java: 617
           java.util.concurrent.ThreadPoolExecutor.runWorker ThreadPoolExecutor.java: 1142
                                                         ...
                           clojure.core.async/thread-call/fn async.clj: 443
                                     clojupyter.zmq/start/fn zmq.clj: 108
                                      clojure.core.async/>!! async.clj: 143
     clojure.core.async.impl.channels.ManyToManyChannel/put! channels.clj: 143
                    clojure.core.async.impl.channels/chan/fn channels.clj: 300
                                      clojure.core/map/fn/fn core.clj: 2742
                                                         ...
clojupyter.util-actions/wrap-report-and-absorb-exceptions/fn util_actions.clj: 239
                                          clojure.core/apply core.clj: 665
                                                         ...
                                        clojure.core/comp/fn core.clj: 2569
         clojupyter.kernel.core/wrap-skip-shutdown-tokens/fn core.clj: 83
                                        clojure.core/comp/fn core.clj: 2569
                                     clojure.core/partial/fn core.clj: 2624
                                                         ...
                 clojure.spec.test.alpha/spec-checking-fn/fn alpha.clj: 142
                                                         ...
                       clojupyter.messages/fn/frames->jupmsg messages.clj: 288
java.lang.Exception: Invalid message signature

[E 04:52:09.009 Clojupyter] c8r.util-actions --
                                        java.lang.Thread.run Thread.java: 745
          java.util.concurrent.ThreadPoolExecutor$Worker.run ThreadPoolExecutor.java: 617
           java.util.concurrent.ThreadPoolExecutor.runWorker ThreadPoolExecutor.java: 1142
                                                         ...
                           clojure.core.async/thread-call/fn async.clj: 443
                                     clojupyter.zmq/start/fn zmq.clj: 108
                                      clojure.core.async/>!! async.clj: 143
     clojure.core.async.impl.channels.ManyToManyChannel/put! channels.clj: 143
                    clojure.core.async.impl.channels/chan/fn channels.clj: 300
                                      clojure.core/map/fn/fn core.clj: 2742
                                                         ...
clojupyter.util-actions/wrap-report-and-absorb-exceptions/fn util_actions.clj: 239
                                          clojure.core/apply core.clj: 665
                                                         ...
                                        clojure.core/comp/fn core.clj: 2569
         clojupyter.kernel.core/wrap-skip-shutdown-tokens/fn core.clj: 83
                                        clojure.core/comp/fn core.clj: 2569
                                     clojure.core/partial/fn core.clj: 2624
                                                         ...
                 clojure.spec.test.alpha/spec-checking-fn/fn alpha.clj: 142
                                                         ...
                       clojupyter.messages/fn/frames->jupmsg messages.clj: 288
java.lang.Exception: Invalid message signature

Exception in thread "async-thread-macro-11" java.lang.AssertionError: Assert failed: handle-request - internal error (':shell_port' neq '')

```

It will be great if some one could tell me whats happening, and possible fix.

---

<div class="post-metadata">

### Author: ![mindaslab](https://clojureverse.org/user_avatar/clojureverse.org/mindaslab/32/3569_2.png) [@mindaslab](https://clojureverse.org/u/mindaslab)
#### Post date: [February 4, 2022, 6:27am UTC](https://clojureverse.org/t/unable-to-work-with-clojupyter/8554/2 "2022-02-04T06:27:28Z")

</div>

I solved it and have written a blog about it here [Getting Clojupyter running | Karthikeyan A K’s blog](https://mindaslab.github.io/programming/clojure/clojupyter/2022/02/04/getting-clojupyter-running.html)

---

<div class="post-metadata">

### Author: ![p-himik](https://clojureverse.org/user_avatar/clojureverse.org/p-himik/32/4137_2.png) [@p-himik](https://clojureverse.org/u/p-himik)
#### Post date: [February 4, 2022, 9:21am UTC](https://clojureverse.org/t/unable-to-work-with-clojupyter/8554/3 "2022-02-04T09:21:58Z")

</div>

To address a couple of points from your blog post, since it doesn’t seem to have a way to comment.

> it would be great if clojure community is becomes more helpful in the future

Any community’s helpfulness is limited by the expertise of its people. In this case, your question is not really about Clojure or even Java but rather about Clojure being run in a Clojupyter notebook being run on an M1 machine. It’s _very_ niche, so there are not a lot of people that could help here.

Regarding running Jupyter with Clojure in general. I find that most often Jupyter is used by data science communities, and there’s a whole such community that’s focused on working with Clojure. The thing is, AFAICT they don’t use Jupyter that much and prefer other tools, like for example [GitHub - nextjournal/clerk: ⚡️ Moldable Live Programming for Clojure](https://github.com/nextjournal/clerk) or [https://pink-gorilla.github.io/](https://pink-gorilla.github.io/). I’m not in a position to say why, but if you’re interested then you’re more than welcome to ask about that here on Clojuverse or on Zulip in the #data-science stream. In particular, [Profile - daslu - ClojureVerse](https://v2.clojureverse.org/u/daslu) should know about this.

---

<div class="post-metadata">

### Author: ![daslu](https://clojureverse.org/user_avatar/clojureverse.org/daslu/32/4173_2.png) [@daslu](https://clojureverse.org/u/daslu)
#### Post date: [February 4, 2022, 11:40am UTC](https://clojureverse.org/t/unable-to-work-with-clojupyter/8554/4 "2022-02-04T11:40:26Z")

</div>

Hi @mindaslab, thanks for the post!  
And thanks for the important clarification, @p-himik, I believe you are right.

Indeed Clojupyter is not so active, at the moment.

Pink-Gorilla is very promising, but still work-in-progress. In addition to Clerk, another well-polished and friendly tool is [Portal](https://github.com/djblue/portal). The maintainers of these projects (and others) are extremely kind and helpful.

By the way, today we’ll have [a community meeting](https://v2.clojureverse.org/t/visual-tools-group-meeting-1/) with a few of the people creating visual tools around similar use cases. Maybe you’d like to join. [A similar meeting](https://www.youtube.com/watch?v=lqb4XlFI-08) took place a couple of months ago and may shed some light on the active projects in this field.

---

<div class="post-metadata">

### Author: ![system](https://clojureverse.org/uploads/default/original/2X/5/51079bf9e4b7d9466242c06cf1e43b9f8bd6da14.png) [@system](https://clojureverse.org/u/system)
#### Post date: [August 5, 2022, 11:41pm UTC](https://clojureverse.org/t/unable-to-work-with-clojupyter/8554/5 "2022-08-05T23:41:14Z")

</div>

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