from PyQt4 import QtGui
app = QtGui.QApplication([dir])
fname = QtGui.QFileDialog.getOpenFileName(None, "Select a file...", '.', filter="All files (*)")
from PyQt5.QtWidgets import QApplication, QFileDialog
app = QApplication.instance()
if not app:
app = QApplication([dir])
fname = QFileDialog.getOpenFileName(None, "Select a file...", '.', filter="All files (*)")
print(str(fname))UnsatisfiableError: The following specifications were found to be in conflict:
- pyqt 4* -> python 2.6* -> openssl 1.0.1*
- python 3.6*
fname = QFileDialog.getOpenFileName(None, "Select a file...", '.', filter="All files (*),
options=QFileDialog.DontUseNativeDialog)--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/ebc23011-0ae6-40c8-8a9a-05ef48b4c44d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.