You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A TypeError appears when launching the v1.4.0b1 GUI from the macOS command line. I'm opening this issue in until the beta is updated so others can fix their SHARPpy installation. This issue sometimes appears in Conda recipes included in the conda-forge and sharppy channels. This issue is fixed in the Andover branch, but the changes have not been propagated to the conda channels. This issue does not impact the SHARPpy Windows or macOS binaries.
Here is the screenshot showing the error:
This error is because the qtpy package SHARPpy is using isn't recognizing properly that PySide2 needs to be used instead of PyQt5. This error can be simply fixed by setting the environment variable QT_API to point to PySide2 (per https://pypi.org/project/QtPy/):
$ export QT_API=pyside2
Launching the GUI from the command line using the sharppy command should work now.
The text was updated successfully, but these errors were encountered:
wblumberg
changed the title
TypeError when launching v1.4.0b1 binary from CLI
TypeError when launching v1.4.0b1 GUI from CLI
Mar 3, 2020
A TypeError appears when launching the v1.4.0b1 GUI from the macOS command line. I'm opening this issue in until the beta is updated so others can fix their SHARPpy installation. This issue sometimes appears in Conda recipes included in the conda-forge and sharppy channels. This issue is fixed in the Andover branch, but the changes have not been propagated to the conda channels. This issue does not impact the SHARPpy Windows or macOS binaries.
Here is the screenshot showing the error:
This error is because the qtpy package SHARPpy is using isn't recognizing properly that PySide2 needs to be used instead of PyQt5. This error can be simply fixed by setting the environment variable QT_API to point to PySide2 (per https://pypi.org/project/QtPy/):
$ export QT_API=pyside2
Launching the GUI from the command line using the
sharppy
command should work now.The text was updated successfully, but these errors were encountered: