Installation Issues - Conflict between qt5 and qt6

Thank you all for the help. I did remove PyQt and qt-main as suggested and indeed I got rid of the issue when I printed sys_info(). I get the following output printed.

Downloading and Extracting Packages:
                                                                                                                                                                                                
Preparing transaction: done                                                                                                                                                                     
Verifying transaction: done
Executing transaction: done
(improved_mne) % python -c "import mne; mne.sys_info()"
Platform             macOS-14.4-arm64-arm-64bit
Python               3.12.7 | packaged by conda-forge | (main, Oct  4 2024, 15:57:01) [Clang 17.0.6 ]
Executable           /opt/anaconda3/envs/improved_mne/bin/python
CPU                  arm (12 cores)
Memory               18.0 GB

Core
├☑ mne               1.8.0 (latest release)
├☑ numpy             1.26.4 (OpenBLAS 0.3.27 with 12 threads)
├☑ scipy             1.14.1
└☑ matplotlib        3.9.2 (backend=macosx)

Numerical (optional)
├☑ sklearn           1.5.2
├☑ numba             0.60.0
├☑ nibabel           5.3.0
├☑ nilearn           0.10.4
├☑ dipy              1.9.0
├☑ openmeeg          2.5.12
├☑ pandas            2.2.2
├☑ h5io              0.2.4
├☑ h5py              3.11.0
└☐ unavailable       cupy

Visualization (optional)
├☑ pyvista           0.44.1 (OpenGL 4.1 Metal - 88 via Apple M3 Pro)
├☑ pyvistaqt         0.11.1
├☑ vtk               9.3.1
├☑ qtpy              2.4.1 (PySide6=6.7.3)
├☑ pyqtgraph         0.13.7
├☑ mne-qt-browser    0.6.3
├☑ ipywidgets        8.1.5
├☑ trame_client      3.3.2
├☑ trame_server      3.2.3
├☑ trame_vtk         2.8.10
├☑ trame_vuetify     2.7.1
└☐ unavailable       ipympl

Ecosystem (optional)
├☑ eeglabio          0.0.2-4
├☑ edfio             0.4.4
├☑ mffpy             0.10.0
├☑ pybv              0.7.5
└☐ unavailable       mne-bids, mne-nirs, mne-features, mne-connectivity, mne-icalabel, mne-bids-pipeline, neo

However when I try to use stc.plot() as in the following code (having changed the matplotlib backend from MacOSX to TkAgg):

brain = GA_stc_diff.plot(subjects_dir=mri_dir, subject='fsaverage', surface='white', hemi='both', time_viewer=True, src=fs_src, show_traces=False)
brain.add_annotation('aparc', borders=1, alpha=0.9)

I get the following issue before a plot gets printed. However, this plot doesn’t allow me to interact with it and a loading cursor keeps showing until I force quit python.
ERROR:root:Invalid Qt API 'pyside6', valid values are: 'pyside', 'pyqt', 'pyqt5', 'pyqt6'

is there a way about it?
Many thanks!