Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyforms example not working #96

Open
robZeilinga opened this issue Aug 22, 2019 · 0 comments
Open

pyforms example not working #96

robZeilinga opened this issue Aug 22, 2019 · 0 comments

Comments

@robZeilinga
Copy link

Hi (I apologise in advance if this is a PEBCAK error, as Python is very new to me )
I have a C# gui application i am trying to port.

I tried running the example on a Macbook Pro, using visual studio Code
I have created a new Virtual environment specifically for this.
Python 3.7.4

pip list

Package         | Version 
--------        | --------- 
AnyQt           | 0.0.10   
confapp         | 1.1.11   
cycler          | 0.10.0   
kiwisolver      | .1.0    
matplotlib      | 3.1.1    
natsort         | 6.0.0    
numpy           | 1.17.0   
opencv-python   | 3.4.5.20 
pip             | 19.0.3   
PyForms-GUI     | 4.904.152
PyOpenGL        | 3.1.0    
pyparsing       | 2.4.2    
PyQt5           | 5.13.0   
PyQt5-sip       | 4.19.18  
PyQtWebEngine   | 5.13.0   
python-dateutil | 2.8.0    
QScintilla      | 2.11.2   
setuptools      | 40.8.0   
six             | 1.12.0   
visvis          | 1.11.2  

after the pip install pyforms, and trying to execute example.py (from the pyforms site)
i am getting library conflict errors.

(pyforms) Robs-MBP:pyforms rob-----$ python example.py

objc[34873]: Class QCocoaPageLayoutDelegate is implemented in both /Applications/_WORKSPACE/Python_Workspace/pyforms/lib/python3.7/site-packages/PyQt5/Qt/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport (0x112005468) and /Applications/_WORKSPACE/Python_Workspace/pyforms/lib/python3.7/site-packages/cv2/.dylibs/QtGui (0x119199260). One of the two will be used. Which one is undefined.

objc[34873]: Class QCocoaPrintPanelDelegate is implemented in both /Applications/_WORKSPACE/Python_Workspace/pyforms/lib/python3.7/site-packages/PyQt5/Qt/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport (0x1120054e0) and /Applications/_WORKSPACE/Python_Workspace/pyforms/lib/python3.7/site-packages/cv2/.dylibs/QtGui (0x1191992d8). One of the two will be used. Which one is undefined.

[INFO   ] OpenGL.acceleratesupport                                     No OpenGL_accelerate module loaded: No module named 'OpenGL_accelerate'

objc[34873]: Class QCocoaApplicationDelegate is implemented in both /Applications/_WORKSPACE/Python_Workspace/pyforms/lib/python3.7/site-packages/cv2/.dylibs/QtGui (0x119198fe0) and /Applications/_WORKSPACE/Python_Workspace/pyforms/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqcocoa.dylib (0x1263f7b88). One of the two will be used. Which one is undefined.

objc[34873]: Class QNSApplication is implemented in both /Applications/_WORKSPACE/Python_Workspace/pyforms/lib/python3.7/site-packages/cv2/.dylibs/QtGui (0x119198f90) and /Applications/_WORKSPACE/Python_Workspace/pyforms/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqcocoa.dylib (0x1263f7bd8). One of the two will be used. Which one is undefined.

objc[34873]: Class QCocoaMenuLoader is implemented in both /Applications/_WORKSPACE/Python_Workspace/pyforms/lib/python3.7/site-packages/cv2/.dylibs/QtGui (0x119198f40) and /Applications/_WORKSPACE/Python_Workspace/pyforms/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqcocoa.dylib (0x1263f7d18). One of the two will be used. Which one is undefined.

objc[34873]: Class QNSImageView is implemented in both /Applications/_WORKSPACE/Python_Workspace/pyforms/lib/python3.7/site-packages/cv2/.dylibs/QtGui (0x119199300) and /Applications/_WORKSPACE/Python_Workspace/pyforms/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqcocoa.dylib (0x1263f7e08). One of the two will be used. Which one is undefined.

objc[34873]: Class QNSStatusItem is implemented in both /Applications/_WORKSPACE/Python_Workspace/pyforms/lib/python3.7/site-packages/cv2/.dylibs/QtGui (0x119199350) and /Applications/_WORKSPACE/Python_Workspace/pyforms/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqcocoa.dylib (0x1263f7e58). One of the two will be used. Which one is undefined.

objc[34873]: Class QNSOpenSavePanelDelegate is implemented in both /Applications/_WORKSPACE/Python_Workspace/pyforms/lib/python3.7/site-packages/cv2/.dylibs/QtGui (0x119199120) and /Applications/_WORKSPACE/Python_Workspace/pyforms/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqcocoa.dylib (0x1263f7ef8). One of the two will be used. Which one is undefined.

again I apologise if i have done something stupid
but i would really appreciate it if someone could advise me if this is an error on my side or not?

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

No branches or pull requests

1 participant