How do download Planet Command Line Interface
Just downloaded Python 3.7.2 and ran the executable file and tried the pip -h in the DOS command prompt after Python was loaded but no success. The message I receive is
'pip' is not recognized as an internal or external command.
Did I miss a step to run the procedure below?
If you haven't used it yet, the Planet Command Line Interface (or CLI) allows you to search, and download images. It supports batch activation and download and can be a powerful tool if you are working with a lot of imagery. Your command line in windows is the command prompt and NOT the PowerShell, and it is the terminal in both Mac OS and most Linux distributions. Windows OS does not come with a default Python installed so you can learn how to install Python for your Operating system here. Once you have python installed you can test it by typing pip -h in your command prompt or terminal. This will make sure your system can access python and the pip installer and then install the Planet CLI by typing
pip install planet
Any help would appreciated.
-
Official comment
Hi Daniel,
Assuming the command "python" works from your command prompt, a quick solution would be to use pip to install the CLI tool by typing "python -m pip install planet" at the prompt.
Longer term, you'll want to make sure "pip" is added to your PATH. A quick web search returns a number of helpful results if you'd like to consult a guide for that process.
--Sara
Comment actions -
Hello Sara
Thanks for your help on this.
Question it has been awhile since I have access the Planet database to download json scenes what is the procedure to login to planet through the command prompt.
If I remember I need my username and password to access the Planet archive database to search for available json scenes.
any response would be grateful.
Daniel Rodriguez
RazorTek
Please sign in to leave a comment.
Comments
2 comments