Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

İnstall #441

Closed
Bekir3343 opened this issue Jan 14, 2025 · 2 comments
Closed

İnstall #441

Bekir3343 opened this issue Jan 14, 2025 · 2 comments

Comments

@Bekir3343
Copy link

Hi, I had to delete and install LiCSBAS and I started having problems. First the matplotlib version was buggy and I downgraded it, this time matplotlib and numpy were no longer compatible. They conflict with each other like this. Which is the best python version for licsbas? and the best versions for the following. Thanks in advance.

  • astropy
  • beautifulsoup4
  • gdal
  • h5py
  • matplotlib
  • numpy
  • psutil
  • requests
  • shapely
  • statsmodels
@yumorishita
Copy link
Owner

Good point. I have been thinking of specifying the version for each module in requirements.txt to avoid errors due to module updates, but I have not done it yet.

Anyway, I share the versions in my environments built before.

Python3.10

# Name                    Version                   Build  Channel
astropy                   5.1             py310ha9d4c09_0  
beautifulsoup4            4.11.1          py310h06a4308_0  
gdal                      3.4.1           py310h8f0303e_0  
h5py                      3.7.0           py310he06866b_0  
matplotlib                3.7.0           py310h06a4308_0  
numpy                     1.23.5          py310hd5efca6_0  
psutil                    5.9.0           py310h5eee18b_0  
python                    3.10.9               h7a1cb2a_0  
requests                  2.28.1          py310h06a4308_0  
shapely                   1.8.4           py310h81ba7c5_0  
statsmodels               0.13.5          py310ha9d4c09_0  

Python3.11

# Name                    Version                   Build  Channel
astropy                   5.1             py311hbed6279_0  
beautifulsoup4            4.12.2          py311h06a4308_0  
gdal                      3.6.2           py311h4618797_1  
h5py                      3.7.0           py311h021c08c_0  
matplotlib                3.7.1           py311h06a4308_1  
numpy                     1.24.3          py311hc206e33_0  
psutil                    5.9.0           py311h5eee18b_0  
python                    3.11.3               h7a1cb2a_0  
requests                  2.29.0          py311h06a4308_0  
shapely                   2.0.1           py311h24a2a10_0  
statsmodels               0.13.5          py311h5eee18b_1  

@Bekir3343
Copy link
Author

Bekir3343 commented Jan 15, 2025

Thank you for your answer. I did what you said and did not experience any problems with data processing. Only in visualization phase
LiCSBAS_plot_ts.py ver1.14.0 20230219 Y. Morishita
LiCSBAS_plot_ts.py -i TS_GEOCml1GACOSclip/cum_filt.h5

Reading TS_GEOCml1GACOSclip/cum_filt.h5
Reading TS_GEOCml1GACOSclip/cum.h5 as 2nd
reading mask
reading mask
Reading coh_avg
Reading n_unw
Reading vstd
Reading maxTlen
Reading n_gap
reading stc
Reading n_ifg_noloop
Reading n_loop_err
Reading resist_rms
Reading slc.mli
reading hgt
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
I got such an error.
This problem was fixed with the sudo apt-get install -y cdo nco gdal-bin libgdal-dev command. Friends who get the same error can use it.
Thanks again, if anyone wants to use it, the edited version of the LiCSBAS.yml file is attached.
LiCSBAS.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants