{"id":9,"date":"2025-12-07T13:16:53","date_gmt":"2025-12-07T13:16:53","guid":{"rendered":""},"modified":"2025-12-07T14:12:45","modified_gmt":"2025-12-07T14:12:45","slug":"setting-up-conda-environment","status":"publish","type":"post","link":"https:\/\/learnremotesensing.com\/?p=9","title":{"rendered":"Setting Up Your Remote Sensing Environment with Conda"},"content":{"rendered":"<p>Before you can start analyzing satellite imagery, you need to set up your development environment. This guide will walk you through installing Anaconda and setting up a conda environment with all the essential packages for remote sensing work.<\/p>\n<h2>Why Use Conda?<\/h2>\n<p>Conda is a package manager that makes it easy to install and manage Python packages, especially those with complex dependencies like geospatial libraries. It creates isolated environments so your projects don&#8217;t interfere with each other.<\/p>\n<h2>Step 1: Install Anaconda<\/h2>\n<p>First, download and install Anaconda from the official website:<\/p>\n<ol>\n<li>Visit anaconda.com\/download<\/li>\n<li>Download the installer for your operating system<\/li>\n<li>Run the installer and follow the prompts<\/li>\n<li>Restart your terminal after installation<\/li>\n<\/ol>\n<p>Verify the installation:<\/p>\n<pre class=\"language-bash\"><code class=\"language-bash\">conda --version<\/code><\/pre>\n<h2>Step 2: Create a New Environment<\/h2>\n<p>Create a dedicated environment:<\/p>\n<pre class=\"language-bash\"><code class=\"language-bash\">conda create -n remote-sensing python=3.11\nconda activate remote-sensing<\/code><\/pre>\n<h2>Step 3: Install Essential Packages<\/h2>\n<pre class=\"language-bash\"><code class=\"language-bash\"># Add conda-forge channel\nconda config --add channels conda-forge\n\n# Install core packages\nconda install -c conda-forge rasterio gdal numpy matplotlib<\/code><\/pre>\n<h3>Key Packages<\/h3>\n<ul>\n<li><strong>rasterio<\/strong> &#8211; Read and write geospatial raster data<\/li>\n<li><strong>gdal<\/strong> &#8211; Geospatial Data Abstraction Library<\/li>\n<li><strong>numpy<\/strong> &#8211; Fast numerical operations<\/li>\n<li><strong>matplotlib<\/strong> &#8211; Create visualizations<\/li>\n<\/ul>\n<h2>Step 4: Additional Packages<\/h2>\n<pre class=\"language-bash\"><code class=\"language-bash\">conda install -c conda-forge geopandas earthpy jupyter<\/code><\/pre>\n<h2>Test Your Installation<\/h2>\n<pre class=\"language-python\"><code class=\"language-python\">import rasterio\nimport numpy as np\nprint(\"Success!\")<\/code><\/pre>\n<h2>Useful Commands<\/h2>\n<pre class=\"language-bash\"><code class=\"language-bash\">conda env list\nconda activate remote-sensing\nconda install package-name\nconda update --all<\/code><\/pre>\n<p>Now you&#8217;re ready to start working with satellite imagery!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Before you can start analyzing satellite imagery, you need to set up your development environment. This guide will walk you through installing Anaconda and setting up a conda environment with all the essential packages for remote sensing work. Why Use&#8230;<\/p>\n","protected":false},"author":1,"featured_media":16,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-9","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/learnremotesensing.com\/index.php?rest_route=\/wp\/v2\/posts\/9","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/learnremotesensing.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learnremotesensing.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learnremotesensing.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learnremotesensing.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9"}],"version-history":[{"count":1,"href":"https:\/\/learnremotesensing.com\/index.php?rest_route=\/wp\/v2\/posts\/9\/revisions"}],"predecessor-version":[{"id":15,"href":"https:\/\/learnremotesensing.com\/index.php?rest_route=\/wp\/v2\/posts\/9\/revisions\/15"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/learnremotesensing.com\/index.php?rest_route=\/wp\/v2\/media\/16"}],"wp:attachment":[{"href":"https:\/\/learnremotesensing.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learnremotesensing.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learnremotesensing.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}