diff --git a/README.md b/README.md index 4bb1ec7db50696937ebb766da8fdd1040fe5082d..acdebac3719e95bf97d1f63de6166643435ff74e 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): diff --git a/requirements.txt b/requirements.txt index adc4d19530b6d049a00cd03544e83b98bd710941..6c51738d0e969fb5ba88dfbab173b2a65735de6a 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