Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Cannot start GUI Tree on MacOS #9

Open
keithcdodd opened this issue Dec 6, 2022 · 0 comments
Open

Cannot start GUI Tree on MacOS #9

keithcdodd opened this issue Dec 6, 2022 · 0 comments

Comments

@keithcdodd
Copy link

keithcdodd commented Dec 6, 2022

Hello, I am trying to follow the manual to use this. As it stands, I am using it through lead-dbs as it appears the docker version install does not work anymore? Also because I have processed subjects in lead-dbs but need OSS-DBS to do bipolar. I am on step 2 of the manual. I see the steps on a Mac are the following:

(1) python3 -m pip install PyQt5
Which appears to semi work and semi not with the following output:
Collecting PyQt5 Downloading PyQt5-5.15.7-cp37-abi3-macosx_10_13_x86_64.whl (7.0 MB) |████████████████████████████████| 7.0 MB 15.3 MB/s Collecting PyQt5-sip<13,>=12.11 Downloading PyQt5_sip-12.11.0-cp39-cp39-macosx_10_9_universal2.whl (142 kB) |████████████████████████████████| 142 kB 102.3 MB/s Collecting PyQt5-Qt5>=5.15.0 Downloading PyQt5_Qt5-5.15.2-py3-none-macosx_10_13_intel.whl (40.5 MB) |████████████████████████████████| 40.5 MB 34.9 MB/s Installing collected packages: PyQt5-sip, PyQt5-Qt5, PyQt5 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. spyder 5.1.5 requires pyqtwebengine<5.13, which is not installed. spyder 5.1.5 requires pyqt5<5.13, but you have pyqt5 5.15.7 which is incompatible. Successfully installed PyQt5-5.15.7 PyQt5-Qt5-5.15.2 PyQt5-sip-12.11.0

(2) cd lead/ext_libs/OSS-DBS/OSS_platform
(3) python3 GUI_tree_files/AppUI.py
Which this does not open a GUI at all but instead gives the following immediately:
Traceback (most recent call last): File "/Users/keithdodd/lead/ext_libs/OSS-DBS/OSS_platform/GUI_tree_files/AppUI.py", line 759, in <module> main_win = MainWindow(*sys.argv[1:]) TypeError: __init__() missing 5 required positional arguments: 'path_to_patient', 'index_side', 'interactive_mode', 'patient_folder', and 'StimSets'

What am I missing to open and manipulate the GUI. Is this related to PyQt5 no longer working properly with MacOS? I am using macOS Monterey Version 12.4. Python version 3.9.7 . Please let me know any other information that might be helpful!

Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant