After running an example with view2 I get the error mentioned in this thread:
https://github.com/compas-dev/compas_view2/issues/137
Then I tried to install viewer through conda. Installation had no error but the same error appeared.
Then I tried to install the PyQt 5 through pip:
python -m pip install PyQt5
Now I get this error:
C:\legion_pro_7_16IRX8H\software\python\compas_wood>C:/Users/petras/.conda/envs/wood-dev/python.exe c:/legion_pro_7_16IRX8H/Software/Python/compas_wood/tests/compas_wood_5_get_connection_zones.py
C:\Users\petras\.conda\envs\wood-dev\lib\site-packages\qtpy\__init__.py:267: RuntimeWarning: Selected binding "pyside2" could not be found, using "pyqt5"
warnings.warn('Selected binding "{}" could not be found, '
___________________________________start_of_WOOD_____________________________________
CPP 5
______________________________________ 2.01 ms ______________________________________
____________________________________end_of_WOOD______________________________________
Traceback (most recent call last):
File "c:/legion_pro_7_16IRX8H/Software/Python/compas_wood/tests/compas_wood_5_get_connection_zones.py", line 65, in <module>
test_connection_detection()
File "c:/legion_pro_7_16IRX8H/Software/Python/compas_wood/tests/compas_wood_5_get_connection_zones.py", line 62, in test_connection_detection
display(result_flat_list, None, None, 0.001, 0, 0, 0, False)
File "c:\legion_pro_7_16irx8h\software\python\compas_wood\src\compas_wood\viewer_helpers.py", line 49, in display
viewer = App(
File "C:\Users\petras\.conda\envs\wood-dev\lib\site-packages\compas_view2\app\app.py", line 221, in __init__
self.init()
File "C:\Users\petras\.conda\envs\wood-dev\lib\site-packages\compas_view2\app\app.py", line 235, in init
self._init_menubar(self.config.get("menubar"))
File "C:\Users\petras\.conda\envs\wood-dev\lib\site-packages\compas_view2\app\app.py", line 770, in _init_menubar
self._add_menubar_items(items, self.menubar)
File "C:\Users\petras\.conda\envs\wood-dev\lib\site-packages\compas_view2\app\app.py", line 813, in _add_menubar_items
self._add_menubar_items(item["items"], menu)
File "C:\Users\petras\.conda\envs\wood-dev\lib\site-packages\compas_view2\app\app.py", line 815, in _add_menubar_items
radio = QtWidgets.QActionGroup(self.window, exclusive=True)
TypeError: 'exclusive' is an unknown keyword argument
Describe the bug
I cannot run compas_view2 installed as part of compas_wood, this worked one year ago. I am running a fresh new Windows OS 11.
After running an example with view2 I get the error mentioned in this thread:
https://github.com/compas-dev/compas_view2/issues/137
Then I tried to install viewer through conda. Installation had no error but the same error appeared. Then I tried to install the PyQt 5 through pip:
python -m pip install PyQt5
Now I get this error:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
You should see this image:![image](https://user-images.githubusercontent.com/18013985/227801561-21ebf0be-4e8f-4d39-9956-0718b63466d3.png)
Additional context
Works on my old Windows 10 pc and old MAC.