PandasGUI: Variable Dragging not working on osx

I love this project. I can see myself using it constantly. It really fits a niche of working between spreadsheet and notebook. I actually think you could charge for this when it’s mature.

Running miniconda python on OSX Cataline, and when trying to plot, the variables won’t drag over. Let me know the best way to communicate my system state, and I can give you what you need.

Here’s my setup.

λ which python
/Users/rob/miniconda/envs/viz/bin/python
•_simbiz•[mac_pro][19:17:04]( master )[ ~/rob/repos/sales_ops ]
λ python --version
Python 3.6.8 :: Anaconda, Inc.
•_simbiz•[mac_pro][19:17:08]( master )[ ~/rob/repos/sales_ops ]
λ pip freeze | grep gui
pandasgui==0.2.4.3
λ pip freeze | grep -i pyqt
PyQt5==5.15.1
PyQt5-sip==12.8.1
PyQtWebEngine==5.15.1

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Reactions: 4
  • Comments: 20 (2 by maintainers)

Most upvoted comments

@adamerose I just updated to version pandasgui==0.2.5.1, and drag and drop appears to be working now. Thanks for the quick turn around. This issue can be closed as far as I’m concerned.

And thanks again for writing this.

I don’t think the PyQt5 issues I had were related to pandasgui specifically. I think that only one library can be using it at the same time. If I understand it correctly, PyQt5 is what is bringing up the additional window, and, at least on macs, you can’t have 2 libraries imported at the same time that both use PyQt5 for this feature. And having them installed is fine as long as you don’t import them.

I did a quick test in a new env, and indeed importing both libraries causes the following error:

objc[50195]: Class QMacAutoReleasePoolTracker is implemented in both /path/to/env/env/lib/python3.7/site-packages/cv2/.dylibs/QtCore (0x11332b700) and /path/to/env/env/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore (0x12b951178). One of the two will be used. Which one is undefined.
objc[50195]: Class QT_ROOT_LEVEL_POOL__THESE_OBJECTS_WILL_BE_RELEASED_WHEN_QAPP_GOES_OUT_OF_SCOPE is implemented in both /path/to/env/env/lib/python3.7/site-packages/cv2/.dylibs/QtCore (0x11332b778) and /path/to/env/env/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore (0x12b9511f0). One of the two will be used. Which one is undefined.
objc[50195]: Class KeyValueObserver is implemented in both /path/to/env/env/lib/python3.7/site-packages/cv2/.dylibs/QtCore (0x11332b7a0) and /path/to/env/env/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore (0x12b951218). One of the two will be used. Which one is undefined.
objc[50195]: Class RunLoopModeTracker is implemented in both /path/to/env/env/lib/python3.7/site-packages/cv2/.dylibs/QtCore (0x11332b7f0) and /path/to/env/env/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore (0x12b951268). One of the two will be used. Which one is undefined.

I also think this is an awesome project!

I can confirm the dragging functionality does not work on macOS.

MacOS Catalina ver 10.15.7

I tried the example above just in a python console from the terminal and it’s the same effect. It creates the gui window with the 2 lists, none of the items in the list are “grab-able”.

Wish I could help contribute but I think this is out of my area of experience.

The same problems and annoyances.