![]() On successful installation Executing transaction: done will be displayed.Once the library installs successfully, enter the below code to install jupyter lab, it is a browser-based user interface that can be used for executing python commands in a notebook format file.On successful installation Executing transaction: done will be displayed, enter the below code to install geemap library.Now, the earthengine-api library can be installed using the conda-forge enter the below code, anaconda prompt will ask for confirmation, press y and Enter to install the library.Ĭonda install -c conda-forge earthengine-api.Also, these libraries can be used only in this environment cannot be accessed from the base or other environments. Now the (base) will be replaced with (ee) indicating the environment is activated, now libraries in this environment will not affect the base environment.Enter the code to activate the environment. Once the environment is created the Executing transaction: done message will be displayed, if the execution is not successful, it will be marked as failed with an error message.Anaconda will validate the conda commands and before proceeding will ask for confirmation, press y, and enter to confirm.Note: You can use the shortcut Shift Insert to paste commands in Anaconda Prompt. Enter the below code to create a new environment called ee. ![]() We will new create a new environment to install Earth Engine related packages. ![]() It is a good practice to install new packages in a separate environment. Once the prompt launches, it will be in the base environment.( Mac/Linux users): Launch a Terminal window. ( Windows users) Once installed, search for Anaconda Prompt launch it.In that case, you can install it to a path such as C:\anaconda. Note: If your username has spaces, or non-English characters, it causes problems. Select an install for Just Me and use default settings. Once downloaded, double click the installer and install it into the default suggested directory. Download the Anaconda Installer for Python 3.7 (or a higher version) for your operating system. ![]() The preferred method for installing the Earth Engine Python API is via Anaconda. ![]()
0 Comments
Leave a Reply. |