yumorishita / LiCSBAS2

GNU General Public License v3.0
18 stars 2 forks source link

LiCSBAS commands #49

Closed kashkoulimohammad closed 1 month ago

kashkoulimohammad commented 2 months ago

Hi all, How can I set path for LiCSBAS commands? I faced this error:

Check LiCSBAS commands
  ERROR: PATH is not set to LiCSBAS commands

I am using anaconda in windows 11.

yumorishita commented 2 months ago

I have never used LiCSBAS in Windows. These threads might be helpful: https://github.com/yumorishita/LiCSBAS/issues/85 https://github.com/yumorishita/LiCSBAS/issues/38#issuecomment-730830677

kashkoulimohammad commented 2 months ago

Hi @yumorishita I could not solved that problem so I have been installed ubuntu on the virtual machine to use the licsbas.

Python version: 3.8.10
  OK

Check required modues and versions
  astropy(5.2.2) OK
  bs4(4.12.3) OK
  h5py(3.11.0) OK
  matplotlib(3.7.5) OK
  numpy(1.24.4) OK
  psutil(5.9.8) OK
  requests(2.22.0) OK
  statsmodels(0.14.1) OK
  gdal(3.0.4) OK

Check LiCSBAS commands
  ERROR: PATH is not set to LiCSBAS commands

Check LiCSBAS library
  ERROR: PYTHONPATH is not set to LiCSBAS library

ERROR: LiCSBAS install is NOT OK

After installing modules and set the python path I faced this error:

mahdi@ubuntu:~/Desktop/LiCSBAS2-master$ echo $PYTHONPATH
/home/mahdi/LiCSBAS_lib:/etc/LiCSBAS_lib:
mahdi@ubuntu:~/Desktop/LiCSBAS2-master$ ls ${PYTHONPATH%:}
ls: cannot access '/home/mahdi/LiCSBAS_lib:/etc/LiCSBAS_lib': No such file or directory

how can I solve this issue?

kashkoulimohammad commented 2 months ago

when I used source bashrc_LiCSBAS.sh that problem fixed only once and when I closing terminal again the problem happens.

yumorishita commented 2 months ago

You can add the source command in ~/.bashrc or ~/.bash_profile so that you don't need to source everytime.