# Unable to open coregistration GUI

**URL:** <https://mne.discourse.group/t/unable-to-open-coregistration-gui/3438>\
**Category:** Support & Discussions\
**Tags:** installation, coregistration\
**Created:** [July 21, 2021, 1:53pm UTC](https://mne.discourse.group/t/unable-to-open-coregistration-gui/3438 "2021-07-21T13:53:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ruuskas](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@ruuskas](https://mne.discourse.group/u/ruuskas)\
**Post date:** [July 21, 2021, 1:53pm UTC](https://mne.discourse.group/t/unable-to-open-coregistration-gui/3438/1 "2021-07-21T13:53:14Z")

</div>

Dear colleagues,

I’m having trouble using the MNE-Python coregistration GUI. There appears to be a problem with the GUI backend, which I’ve been unable to solve. When running the command `mne coreg`, I get the following warning:  
`/user/anaconda3/bin/mne:8: RuntimeWarning: Using the currently selected Pyface backend null is not recommended, and it might not work properly. We recommend using 'qt4' which can be enabled by installing the PyQt5package. sys.exit(main())`.  
This is followed by an error traceback, ending with `File "/user/.local/lib/python3.8/site-packages/pyface/base_toolkit.py", line 190, in __init__ raise NotImplementedError(msg % (toolkit, package, name)) NotImplementedError: the null pyface.ui.null backend doesn't implement message_dialog:MessageDialog`.

So, there appears to be an issue with pyface, and the suggested solution is to use Qt instead. However, I wasn’t able to figure out how to change the backend. Any suggestions are welcome. I’m using the latest version of MNE-Python (0.23) on Ubuntu 20.04.

Best,  
Santeri

---

<div class="post-metadata">

**Author:** ![richard](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/richard/32/15_2.png) [@richard](https://mne.discourse.group/u/richard)\
**Post date:** [July 21, 2021, 4:43pm UTC](https://mne.discourse.group/t/unable-to-open-coregistration-gui/3438/2 "2021-07-21T16:43:18Z")

</div>

Hello @ruuskas and welcome to the forum!

MNE-Python depends on numerous packages, and getting 3D plotting to work properly is not always a trivial task. Please follow our [official installation instructions](https://mne.tools/stable/install/index.html) to create a dedicated MNE-Python environment that will work.

Best wishes,

Richard

---

<div class="post-metadata">

**Author:** ![ruuskas](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@ruuskas](https://mne.discourse.group/u/ruuskas)\
**Post date:** [February 21, 2023, 1:14pm UTC](https://mne.discourse.group/t/unable-to-open-coregistration-gui/3438/4 "2023-02-21T13:14:44Z")

</div>

Hello David,

This issue has since been resolved. This was a case of incompatible dependencies, hence the NotImplementedError.

-Santeri

---

<div class="post-metadata">

**Author:** ![richard](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/richard/32/15_2.png) [@richard](https://mne.discourse.group/u/richard)\
**Post date:** [February 21, 2023, 1:56pm UTC](https://mne.discourse.group/t/unable-to-open-coregistration-gui/3438/5 "2023-02-21T13:56:24Z")

</div>

I have flagged @davidbillg’s post as off-topic. Please don’t copy & paste huge chunks of only marginally relevant information. Thank you.
