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

MiaplPy installation issue #79

Open
nafissk opened this issue Feb 19, 2024 · 2 comments
Open

MiaplPy installation issue #79

nafissk opened this issue Feb 19, 2024 · 2 comments

Comments

@nafissk
Copy link

nafissk commented Feb 19, 2024

Hello @mirzaees,

I am attempting to install MiaplPy on my desktop by following the instructions provided in the documentation: https://github.com/insarlab/MiaplPy/blob/main/docs/installation.md.

It seems that I was unable to install it correctly. Whenever I check miaplpyApp.py -h, which should work if the installation was successful, I receive the error message bash: miaplpyApp.py: command not found. However, when I use miaplpyApp -h, it functions properly.

Before, I successfully installed MintPy and ISCE-2 on my desktop by following the instructions provided in this link: https://github.com/yunjunz/conda-envs.

I would greatly appreciate any assistance you could provide in resolving the installation issue with MiaplPy.

Screenshot from 2024-02-19 16-50-42
Screenshot from 2024-02-19 16-50-00

@mirzaees
Copy link
Collaborator

Hi @nafissk, sorry for my late reply.
The miaplpyApp command without .py is the way it is exposed in pip installation. So it is working correctly, although if you want to use the .py script, you need to add Miaplpy to your PYTHONPATH and PATH

@nafissk
Copy link
Author

nafissk commented Mar 18, 2024

@mirzaees Thanks for your response. It was very helpful. I added MIAPLPY_HOME to PYTHONPATH and PATH; now miaplpyApp.py is working.

export MIAPLPY_HOME=~/tools/MiaplPy
export PYTHONPATH=${PYTHONPATH}:${MIAPLPY_HOME}
export PATH=${PATH}:${MIAPLPY_HOME}/src/miaplpy

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