labelImg icon indicating copy to clipboard operation
labelImg copied to clipboard

macOS Monterey and anaconda crash

Open ricounet67 opened this issue 2 years ago • 2 comments

  • OS: macOS Monterey 12.3.1
  • PyQt version: 5.12.3

I work with Anaconda and tried to install labelImg the same way that is explained for windows+Anaconda Everithing seems to work but when I try to execute the program I have the following errors: Traceback (most recent call last): File "/Users/ericleroy/GitHub/labelImg/labelImg.py", line 1660, in sys.exit(main()) File "/Users/ericleroy/GitHub/labelImg/labelImg.py", line 1656, in main app, _win = get_main_app(sys.argv) File "/Users/ericleroy/GitHub/labelImg/labelImg.py", line 1647, in get_main_app win = MainWindow(args.image_dir, File "/Users/ericleroy/GitHub/labelImg/labelImg.py", line 210, in init self.dock.setFeatures(self.dock.features() ^ self.dock_features) TypeError: unsupported operand type(s) for ^: 'DockWidgetFeatures' and 'DockWidgetFeatures' Do you have any idea?

ricounet67 avatar Apr 20 '22 16:04 ricounet67

I have the exact same error, but in Windows 10 with conda

FranLucchini avatar Apr 25 '22 17:04 FranLucchini

I also get the same error in Windows 10 with conda, installed from conda-forge:

python 3.10.0 labelImg 1.8.6 pyqt5 5.12.3 lxml 4.8.0

Edition Windows 10 Enterprise Version 21H2 Installed on ‎2020-‎08-‎24 OS build 19044.1645 Experience Windows Feature Experience Pack 120.2212.4170.0

khyll avatar Apr 27 '22 09:04 khyll