megies / obspyck

ObsPyck is a GUI application that is intended to cover the tasks in a standard analysis workflow for seismic events in seismological observatory practice.
https://github.com/megies/obspyck/wiki
GNU General Public License v2.0
61 stars 32 forks source link

Port to Qt5? #87

Closed thelenwes closed 3 years ago

thelenwes commented 5 years ago

Because Anaconda no longer supports qt4 on macosx, the installation of obspyck fails. Are there any tips on how to get qt4 in an alternative way that will play nice within a conda environment?

megies commented 5 years ago

I may not have time to look into transitioning to Qt5 in the near future, sorry. Necessary changes in source code might be trivial or not, hard to tell. Let me know if you try to adapt the source code and how it goes.

megies commented 5 years ago

Also, might be worth to switch to PySide 2 instead

fontiela commented 4 years ago

There are a new version with support to qt5.x.x?

megies commented 4 years ago

Not that I know of

megies commented 4 years ago

We had just had a similar problem on Windows. It turned out you can run obspyck on windows by installing qt4 from a non-default conda-forge channel/label.. there is one test build of qt4 for osx, maybe you could try that one @fontiela

https://anaconda.org/conda-forge/qt/4.8.7/download/osx-64/qt-4.8.7-7.tar.bz2

maybe it works, it's try in a new environment though, so you don't crash your existing envs conda install -c conda-forge/label/test qt=4

(what we did on win: conda install -c conda-forge/label/cf201901 qt=4)

CC @thomaslecocq

fontiela commented 4 years ago

That is a great new. During the weekend I will try and I will let you know if I install with success.

Yours, João Fontiela



João Fontiela skype: fontiela email: fontiela@gmail.com mobile phone +351 917 862 830

No dia 28/11/2019, às 14:58, Tobias Megies notifications@github.com escreveu:

We had just had a similar problem on Windows. It turned out you can run obspyck on windows by installing qt4 from a non-default conda-forge channel/label.. there is one test build of qt4 for osx, maybe you could try that one @fontiela https://github.com/fontiela https://anaconda.org/conda-forge/qt/4.8.7/download/osx-64/qt-4.8.7-7.tar.bz2 https://anaconda.org/conda-forge/qt/4.8.7/download/osx-64/qt-4.8.7-7.tar.bz2 maybe it works, it's try in a new environment though, so you don't crash your existing envs conda install -c conda-forge/label/cf201901 qt=4

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/megies/obspyck/issues/87?email_source=notifications&email_token=AFJAT53JLHR4JJQBWHS2PE3QV7MAZA5CNFSM4ILYKKEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFM2WCY#issuecomment-559524619, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFJAT5ZM3UJFZEMHFFIRUX3QV7MAZANCNFSM4ILYKKEA.

savardge commented 4 years ago

@fontiela Hello, did you ever manage to make the installation work with your Mac? I tried installing qt4 and pyqt4 from .tar.gz archives but then running obspyck produced segmentation fault. Let me know if you ever managed to create a conda environment that worked on MacOS (I run 10.15).

megies commented 4 years ago

@jwassermann is running it on a Mac, maybe he can share a conda list on his environment

megies commented 4 years ago

@thelenwes @fontiela @savardge the move to Qt5 and Python3 is under way, see #96