I finished installing this project (piscat==0.1.12) on my Fedora 34 machine with Python 3.9 and would like to share some helpful hints if someone is going to do similar someday.
Using a virualenv really helps, I know you already mention that in your README but I took it lightly. Do not try to install this with pip install --user piscat the low-level mkl/intel numpy dependencies are a bit "snappy". Go into an empty folder, run python -m venv .venv followed by source ./.venv/bin/activate, and install with pip install piscat.
I had to install some dependencies. On Fedora try sudo dnf install python3-devel hdf5-devel if you encounter problems stating "libhdf5.so" or "Python.h"
I also had a problem with Qt5, building opencv-python from source fixed it (took ~1h to build). There might be a better way but this worked for me. To do this install some dev-tools dnf install gcc qt-devel cmake (you might need more) and reinstall opencv from source using pip install --no-binary opencv-python opencv-python --force-reinstall.
After that the first tutorial worked perfectly.
Thx for your effort and open-sourcing this project. (I have no clue about physics but I know people that are happy to have it ;) ).
Hi!
I finished installing this project (piscat==0.1.12) on my Fedora 34 machine with Python 3.9 and would like to share some helpful hints if someone is going to do similar someday.
pip install --user piscat
the low-level mkl/intel numpy dependencies are a bit "snappy". Go into an empty folder, runpython -m venv .venv
followed bysource ./.venv/bin/activate
, and install withpip install piscat
.sudo dnf install python3-devel hdf5-devel
if you encounter problems stating "libhdf5.so" or "Python.h"dnf install gcc qt-devel cmake
(you might need more) and reinstall opencv from source usingpip install --no-binary opencv-python opencv-python --force-reinstall
.After that the first tutorial worked perfectly.
Thx for your effort and open-sourcing this project. (I have no clue about physics but I know people that are happy to have it ;) ).
Cheers, Michael