From 978c5cde3794c6d415962254e7c6dc52b76a4e26 Mon Sep 17 00:00:00 2001 From: mrmanlu Date: Tue, 12 Mar 2024 18:29:19 +0100 Subject: [PATCH 1/2] Updated README.md to indicate libxt dependency --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 4bb1ec7..acdebac 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,20 @@ Install requirements: pip install -r requirements.txt ``` + **NOTE:** The installation could fail with the next message if the package `libxt-dev` is not found in your OS: +```bash +xtloop.c:9:10: fatal error: X11/Intrinsic.h: No such file or directory + 9 | #include + | ^~~~~~~~~~~~~~~~~ +``` +To solve that, you can install it with the following commands: + +- openSUSE: `sudo zypper install libXt-devel` +- Debian / Ubuntu: `sudo apt-get install libxt-dev` +- Fedora: `sudo dnf install libXt-devel` + +Then, run again: `pip install -r requirements.txt` + ## Usage To run the included example, execute the following command on the installation directory (with the activated enviroment): -- GitLab From ca80b377a2bd6539f1de71fad3e0e339e9795ea5 Mon Sep 17 00:00:00 2001 From: mrmanlu Date: Tue, 12 Mar 2024 18:30:06 +0100 Subject: [PATCH 2/2] Fix current versions of libraries Currently, the versions are fixed. It is needed to ensure if more relaxed version constraints are compatible with our package (e.g. "<=", ">=" instead of "==") --- requirements.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/requirements.txt b/requirements.txt index adc4d19..6c51738 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ -pandas -pyqt5 -matplotlib -astropy -requests -Pillow -pyds9 +pandas==2.0.1 +PyQt5==5.15.9 +matplotlib==3.7.1 +astropy==5.3 +requests==2.31.0 +Pillow==9.5.0 +pyds9==1.8.1 -- GitLab