PyCharm looking at QtGui Framework at two different paths (MAC ISSUE)

已回答

For some reason, while running PyCharm I am getting the following error:

Class QCocoaColorPanelDelegate is implemented in both /Applications/Canopy.app/appdata/canopy-1.7.4.3348.macosx-x86_64/Canopy.app/Contents/lib/QtGui.framework/Versions/4/QtGui and /Library/Frameworks/QtGui.framework/Versions/4/QtGui. One of the two will be used. Which one is undefined.

The QtGui Framework seems to be installed in two different paths, and PyCharm does not know how to resolve it. A solution to the problem would be much appreciated.

0

Hello, thank you for the report.

Do you have the same error if launching your script with your project interpreter in the Terminal?

0
Avatar
Permanently deleted user

I haven't tried that out that yet. I'll give it a go, but interestingly enough the script seems to be working if I am in debug mode. 

0
Avatar
Permanently deleted user

Running the script from the command line, did not fix the problem

0

请先登录再写评论。