-
Notifications
You must be signed in to change notification settings - Fork 5
Workshop Pre Test
To be successful with the workflows GeoAI-Retail embodies, you must be able to perform a few steps with Conda and the CookieCutter project templating framework.
All Python code execution in Pro is performed in a Conda environment installed with ArcGIS Pro. During the installation of ArcGIS Pro, Conda is installed with a default environment, arcgispro-py3
, configured to use with ArcGIS Pro. This environment should not be changed. Rather, you should clone it, and make changes to the cloned environment for doing analysis work. Check this functionality by running the following command.
conda create --name arcgis --clone arcgispro-py3
Once this process completes, switch to this environment for the following command.
activate arcgis
You will know this new environment is active because the command prompt will be prefixed with the name of the environment in parentheses.
The workshop depends on the functionality included in a few additional packages accessible from Anaconda. Most notable is the use of CookeCutter templating for project management. Hence, please test the ability to install packages using the following command.
conda install -c conda-forge cookiecutter git
With CookieCutter and Git packages installed from Anaconda, you now have everything installed to be able to attempt to create a new test project. First, navigate in the command prompt to a location where you have write permissions. Next, start a new project using the following command.
cookiecutter https://github.com/knu2xs/geoai-retail
You will be required to answer a few questions. For the purposes of testing, you can also simply accept the defaults to see if the project is created.
If you are able to successfully execute all the above steps, there is a high likelihood you have all the resources configured for a successful workshop!