question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error on startup: ModuleNotFoundError: No module named 'zmq.backend.cython'

See original GitHub issue

Using the last dev build, I get this error when I try to run CQ-editor:

Traceback (most recent call last):
  File "run.py", line 12, in <module>
  File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module
  File "cq_editor/__main__.py", line 12, in <module>
  File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module
  File "cq_editor/main_window.py", line 9, in <module>
  File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module
  File "cq_editor/widgets/console.py", line 5, in <module>
  File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module
  File "qtconsole/inprocess.py", line 5, in <module>
  File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module
  File "ipykernel/__init__.py", line 2, in <module>
    # -----------------------------------------------------------------------------
  File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module
  File "ipykernel/connect.py", line 10, in <module>
  File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module
  File "jupyter_client/__init__.py", line 6, in <module>
    # (see LICENSE.txt in this directory and NOTICE.txt in the root for details)
  File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module
  File "jupyter_client/asynchronous/__init__.py", line 1, in <module>
    # -*- coding: utf-8 -*-
  File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module
  File "jupyter_client/asynchronous/client.py", line 6, in <module>
  File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module
  File "jupyter_client/channels.py", line 12, in <module>
  File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module
  File "zmq/__init__.py", line 103, in <module>
  File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module
  File "zmq/backend/__init__.py", line 32, in <module>
  File "zmq/backend/__init__.py", line 27, in <module>
  File "zmq/backend/select.py", line 32, in select_backend
  File "importlib/__init__.py", line 127, in import_module
ModuleNotFoundError: No module named 'zmq.backend.cython'
[4117] Failed to execute script 'run' due to unhandled exception!

Using this one published 2 months ago, it works as expected.

I’m on Kubuntu 21.10.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pauljurczakcommented, Apr 15, 2022

It loads and seems to be working fine on Ubuntu 20.04. Here is the output:

paul@desktop:~/apps/cq-155$ ./cq.sh
0.00s - Debugger warning: The os.path.realpath.__code__.co_filename (posixpath.py)
0.00s - is not absolute, which may make the debugger miss breakpoints.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
TKOpenGl | Type: Other | ID: 0 | Severity: Medium | Message:
  OpenGl_Window::CreateWindow: window Visual is incomplete: no depth buffer, no stencil buffer
0reactions
jmwrightcommented, Apr 15, 2022

Ok, thanks. I’ll go ahead and close this issue then.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ImportError: No module named 'zmq.backend.cython. ...
Hi! I tried to deploy my django project using Circus but i get the following error. 2014-12-26 11:53:51 circus[12925] [INFO] Starting master ...
Read more >
python - Already installed pyzmq but still getting "ImportError
The only reason you would be seeing that error (having manually installed pyzmq) is if pyzmq was installed to ... ModuleNotFoundError: No module...
Read more >
ImportError: No module named 'zmq' - General Discussions
This gives me the following error in Mender server log ImportError: No module named 'zmq'. I have installed zmq from root on my...
Read more >
FAQ — Parsl 1.1.0 documentation
In this configuration, parsl will raise errors such as: ModuleNotFoundError: No module named 'ipyparallel'. In this situation, please install the required ...
Read more >
python main.py import error
In case that you run from source, please try reinstalling pyzmq. You can do this by running the following two lines: pip3 uninstall...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found