<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" version="2.0">
    <channel>
        
        <title>
            <![CDATA[ anaconda - freeCodeCamp.org ]]>
        </title>
        <description>
            <![CDATA[ Browse thousands of programming tutorials written by experts. Learn Web Development, Data Science, DevOps, Security, and get developer career advice. ]]>
        </description>
        <link>https://www.freecodecamp.org/news/</link>
        <image>
            <url>https://cdn.freecodecamp.org/universal/favicons/favicon.png</url>
            <title>
                <![CDATA[ anaconda - freeCodeCamp.org ]]>
            </title>
            <link>https://www.freecodecamp.org/news/</link>
        </image>
        <generator>Eleventy</generator>
        <lastBuildDate>Sun, 24 May 2026 16:30:48 +0000</lastBuildDate>
        <atom:link href="https://www.freecodecamp.org/news/tag/anaconda/rss.xml" rel="self" type="application/rss+xml" />
        <ttl>60</ttl>
        
            <item>
                <title>
                    <![CDATA[ How to Run R Programs Directly in Jupyter Notebook Locally ]]>
                </title>
                <description>
                    <![CDATA[ R is a popular programming language that’s now widely used in research-related fields like Bioinformatics. And to use R, you’ll need to install the R Compiler and R Studio. But did you know that you can also directly run your R code right in a Jupyte... ]]>
                </description>
                <link>https://www.freecodecamp.org/news/how-to-run-r-programs-directly-in-jupyter-notebook-locally/</link>
                <guid isPermaLink="false">66feeca1dbd895463237bf4b</guid>
                
                    <category>
                        <![CDATA[ R ]]>
                    </category>
                
                    <category>
                        <![CDATA[ R Language ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Jupyter Notebook  ]]>
                    </category>
                
                    <category>
                        <![CDATA[ jupyterhub ]]>
                    </category>
                
                    <category>
                        <![CDATA[ jupyter ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Miniconda ]]>
                    </category>
                
                    <category>
                        <![CDATA[ anaconda ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Md. Fahim Bin Amin ]]>
                </dc:creator>
                <pubDate>Thu, 03 Oct 2024 19:12:33 +0000</pubDate>
                <media:content url="https://cdn.hashnode.com/res/hashnode/image/stock/unsplash/pUAM5hPaCRI/upload/d8014cab22d10f9bade9077d0d4af34b.jpeg" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>R is a popular programming language that’s now widely used in research-related fields like Bioinformatics.</p>
<p>And to use R, you’ll need to install the R Compiler and R Studio. But did you know that you can also directly run your R code right in a Jupyter Notebook? This helps in so many ways if you are already used to using Jupyter Notebook for Machine Learning-related tasks using Python.</p>
<p>In this tutorial, I’ll show you exactly how you can set up your local machine to run the R programming language directly in Jupyter Notebook. The processes I am going to show you today are equally applicable to all major operating systems (Windows, MacOS, and Linux OSes).</p>
<h2 id="heading-table-of-contents">Table of Contents</h2>
<ul>
<li><p><a class="post-section-overview" href="#heading-install-conda">Install Conda</a></p>
</li>
<li><p><a class="post-section-overview" href="#heading-create-a-new-environment">Create a New Environment</a></p>
</li>
<li><p><a class="post-section-overview" href="#heading-activate-your-conda-environment">Activate Your Conda Environment</a></p>
</li>
<li><p><a class="post-section-overview" href="#heading-install-ipykernel-and-jupyter">Install ipykernel and jupyter</a></p>
</li>
<li><p><a class="post-section-overview" href="#heading-install-r-in-the-conda-environment">Install R in the Conda Environment</a></p>
</li>
<li><p><a class="post-section-overview" href="#heading-open-the-jupyter-notebook">Open the Jupyter Notebook</a></p>
</li>
<li><p><a class="post-section-overview" href="#heading-run-r-in-jupyter-notebook">Run R in Jupyter Notebook</a></p>
</li>
<li><p><a class="post-section-overview" href="#heading-conclusion">Conclusion</a></p>
</li>
</ul>
<h2 id="heading-install-conda">Install Conda</h2>
<p>You’d normally use Conda to handle multiple environments in Python. And here, we’re going to use the same Conda program to install R in our environment. You can either use <a target="_blank" href="https://www.anaconda.com/">Anaconda</a> or <a target="_blank" href="https://docs.anaconda.com/miniconda/">Miniconda</a>.</p>
<p>I prefer Miniconda as it’s so lightweight. You’ll also get the opportunity to install the latest packages directly using Miniconda. But you can simply go with the Anaconda if you are already comfortable with that.</p>
<h2 id="heading-create-a-new-environment">Create a New Environment</h2>
<p>Many people tend to use the Base environment. But I never like to use the Base environment directly as you typically need multiple environments for handling different package and versions of packages as well.</p>
<p>So I’ll create a new environment where I’ll work on my R programming language-related tasks using Jupyter Notebook.</p>
<p>To create a new Conda environment, simply use the following command:</p>
<pre><code class="lang-bash">conda create --name r-conda
</code></pre>
<p>Here, <code>r-conda</code> is my Conda environment’s name. You can choose any other name, but keep in mind that the conda env name can not have any whitespaces in it.</p>
<p>It will create a new Conda environment named <code>r-conda</code> for me.</p>
<h2 id="heading-activate-your-conda-environment">Activate Your Conda Environment</h2>
<p>If you want to work on a separate conda environment, you’ll need to make sure that you’re activating that specific conda environment before starting to do anything.</p>
<p>I want to work on the <code>r-conda</code> conda environment. So I can simply activate the conda environment using the following command:</p>
<pre><code class="lang-bash">conda activate r-conda
</code></pre>
<p>You need to use the exact conda env name that you want if it’s different than <code>r-conda</code> in the command.</p>
<div data-node-type="callout">
<div data-node-type="callout-emoji">💡</div>
<div data-node-type="callout-text">Keep in mind that you need to activate the conda environment successfully before proceeding further.</div>
</div>

<p>You will see the conda environment’s name as <code>(conda-env-name)</code> at the left side of your terminal.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1727898007890/f8bf9ced-6c9e-4198-9116-63a32e7d0f03.png" alt="activate conda env" class="image--center mx-auto" width="1097" height="553" loading="lazy"></p>
<h2 id="heading-install-ipykernel-and-jupyter">Install <code>ipykernel</code> and <code>jupyter</code></h2>
<p>I always like to install the <code>ipykernel</code> and <code>jupyter</code> in all of my conda environments as they help manage different conda environments’ Jupyter notebooks/labs separately.</p>
<p>So I’m going to install them together in my conda env by using the command below:</p>
<pre><code class="lang-bash">conda install ipykernel jupyter
</code></pre>
<p>This will install both <code>ipykernel</code> and <code>jupyter</code> in the activated conda environment.</p>
<h2 id="heading-install-r-in-the-conda-environment">Install R in the Conda Environment</h2>
<p>To install R directly in the conda environment, simply use the following command:</p>
<pre><code class="lang-bash">conda install -c r r-irkernel
</code></pre>
<p>This will install the necessary components that enable your local computer to run the R program in your Jupyter Notebook.</p>
<h2 id="heading-open-the-jupyter-notebook">Open the Jupyter Notebook</h2>
<p>Now you can open the Jupyter Notebook either by using <code>jupyter notebook</code> or <code>jupyter notebook --ip=0.0.0.0 --port=8889 --no-browser --allow-root --NotebookApp.token=''</code>. Just make sure to modify the IP, port, root configuration, and token as you see fit for your work.</p>
<p>Open the given link in the terminal to open Jupyter Notebook in your web browser.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1727898291254/b932284e-05af-4eec-a6aa-f6b9ad50dd1c.png" alt="Open Jupyter Notebook" class="image--center mx-auto" width="1094" height="541" loading="lazy"></p>
<h2 id="heading-run-r-in-jupyter-notebook">Run R in Jupyter Notebook</h2>
<p>After opening Jupyter Notebook in your web browser, when you want to create a new notebook for R, you will get <code>R</code> directly in the “New” menu like the image given below.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1727898368089/a2d22b41-8ddd-480b-aaa4-65aeafb12f69.png" alt="R in notebook" class="image--center mx-auto" width="357" height="268" loading="lazy"></p>
<p>Now, you can use the R language directly in your Jupyter Notebook!</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1727898457072/05015331-742c-49c5-9325-b1d1cb1fc6cd.png" alt="Run &quot;R&quot; in Jupyter Notebook" class="image--center mx-auto" width="1244" height="524" loading="lazy"></p>
<p>You can also see the R programming language logo at the top right side of your Notebook.</p>
<h2 id="heading-conclusion">Conclusion</h2>
<p>Thank you for reading the entire article. I hope you have learned something new here.</p>
<p>If you have enjoyed the procedures step-by-step, then don't forget to let me know on <a target="_blank" href="https://twitter.com/Fahim_FBA">Twitter/X</a> or <a target="_blank" href="https://www.linkedin.com/in/fahimfba/">LinkedIn</a>. I would appreciate it if you could endorse me for some relevant skillsets on <a target="_blank" href="https://www.linkedin.com/in/fahimfba/">LinkedIn</a>. I would also recommend that you subscribe to my <a target="_blank" href="https://youtube.com/@FahimAmin">YouTube channel</a> for regular programming-related content.</p>
<p>You can follow me on <a target="_blank" href="https://github.com/FahimFBA">GitHub</a> as well if you are interested in open source. Make sure to check <a target="_blank" href="https://fahimbinamin.com/">my website</a> as well.</p>
<p>Thank you so much! 😀</p>
 ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ Conda Channel - What Is a Channel in Conda? ]]>
                </title>
                <description>
                    <![CDATA[ When you install a package in Conda, it is downloaded and extracted from a remote directory using the directory's URL. The directory where these packages are stored is known as a channel. In this article, you'll learn what a channel is, how to use de... ]]>
                </description>
                <link>https://www.freecodecamp.org/news/what-is-a-channel-in-conda/</link>
                <guid isPermaLink="false">66b0a3813dc92ea6a5a091f3</guid>
                
                    <category>
                        <![CDATA[ anaconda ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Ihechikara Abba ]]>
                </dc:creator>
                <pubDate>Fri, 14 Apr 2023 16:36:11 +0000</pubDate>
                <media:content url="https://www.freecodecamp.org/news/content/images/2023/04/freestocks-11SgH7U6TmI-unsplash.jpg" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>When you install a package in Conda, it is downloaded and extracted from a remote directory using the directory's URL. The directory where these packages are stored is known as a channel.</p>
<p>In this article, you'll learn what a channel is, how to use default channels, and how add new channels in Conda.</p>
<h2 id="heading-what-is-a-channel-in-conda">What Is a Channel in Conda?</h2>
<p>A channel is the location where packages are stored remotely. </p>
<p>When you install Conda for the first time, it comes with a channel called <code>default</code>. You can check that using the command below:</p>
<pre><code class="lang-bash">conda config --show channels
</code></pre>
<p>The <code>default</code> channel enables you to install packages that are currently available in its directory/storage.</p>
<p>To install a package using the <code>default</code> channel, you use the <code>conda install</code> command followed by the name of the package. That is:</p>
<pre><code class="lang-bash">conda install package-name
</code></pre>
<p>Although numerous packages can be installed from the <code>default</code> channel, it's possible to come across packages that are not accessible from it. </p>
<p>In cases like this, you'd usually get the "PackagesNotFoundError: The following channels are not available from current channels" error message. </p>
<p>You'll see a workaround for that error in the next section. </p>
<h2 id="heading-how-to-install-a-package-in-conda-using-a-channel-name">How To Install a Package in Conda Using a Channel Name</h2>
<p>In this section, you'll learn how to install a package that isn't available from the <code>default</code> channel in Conda by specifying the name of the channel where that package is stored remotely. </p>
<p>You'll also see how to add a channel to your list of channels.</p>
<p>Here's an example using Matplotlib:</p>
<pre><code class="lang-bash">conda install -c conda-forge matplotlib
</code></pre>
<p>In the command above:</p>
<ul>
<li>The <code>-c</code> flage denotes the word channel.</li>
<li><code>conda-forge</code> denotes the name of the channel where Matplotlib was installed from. </li>
</ul>
<p>Although we installed Matplotlib from <code>conda-forge</code>, <code>conda-forge</code>will not be added to our list of channels. </p>
<p>So if you run the <code>conda config --show channels</code> command, you'd only see the <code>default</code> channel. </p>
<p>You can add a channel to the list of channels using the <code>conda config --add channels channel-name</code> command. That is:</p>
<pre><code class="lang-bash">conda config --add channels conda-forge
</code></pre>
<p>The command above will add <code>conda-forge</code> to the list of Conda channels. This means that you don't have to specify the channel name if you are installing a package that is available from the <code>conda-forge</code> channel. </p>
<h2 id="heading-summary">Summary</h2>
<p>In this article, we talked about channels in Conda. They are used to access packages remotely. </p>
<p>We saw how to use Conda's default channel to install packages. We also saw how to use and add new channels that aren't built into Conda.</p>
<p>Happy coding!</p>
 ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ Conda Remove Package - How To Remove Matplotlib in Anaconda ]]>
                </title>
                <description>
                    <![CDATA[ You can use Conda to create and manage different environments and their packages. It is mostly used for data science and machine learning projects.  In this article, you'll learn how to remove an environment's package using in built Conda commands.  ... ]]>
                </description>
                <link>https://www.freecodecamp.org/news/how-to-remove-a-package-in-anaconda/</link>
                <guid isPermaLink="false">66b0a2e06428eb897141f87c</guid>
                
                    <category>
                        <![CDATA[ anaconda ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Matplotlib ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Ihechikara Abba ]]>
                </dc:creator>
                <pubDate>Wed, 12 Apr 2023 12:21:34 +0000</pubDate>
                <media:content url="https://www.freecodecamp.org/news/content/images/2023/04/joshua-woroniecki-lzh3hPtJz9c-unsplash.jpg" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>You can use Conda to create and manage different environments and their packages. It is mostly used for data science and machine learning projects. </p>
<p>In this article, you'll learn how to remove an environment's package using in built Conda commands. </p>
<p>You'll learn the following: </p>
<ul>
<li>How to create an environment. </li>
<li>How to install packages in an environment. </li>
<li>How to remove/delete an environment's package. </li>
</ul>
<p>Let's get started!</p>
<h2 id="heading-how-to-create-an-environment-in-conda">How To Create an Environment in Conda</h2>
<p>You can use the <code>conda create package-name</code> to create a new environment in Conda. </p>
<p>Here's an example:</p>
<pre><code class="lang-bash">conda create -n package-tutorial
</code></pre>
<p>The command above creates an environment called <code>package-tutorial</code>.</p>
<p>You can activate or switch to the <code>package-tutorial</code> environment using the <code>conda activate environment-name</code> command. That is:</p>
<pre><code class="lang-bash">conda activate package-tutorial
</code></pre>
<h2 id="heading-how-to-install-packages-in-a-conda-environment">How To Install Packages in a Conda Environment</h2>
<p>In the last section, we created and activated an environment called <code>package-tutorial</code>. </p>
<p>In this section, you'll see how to install a package in that environment. Let's install Matplotlib. </p>
<p>You can install a package using the <code>conda install package-name</code> command.</p>
<p>Here's one of the command for installing Matplotlib in Conda: </p>
<pre><code class="lang-bash">conda install -c conda-forge matplotlib
</code></pre>
<p>The installation might take a while to download and extract the package. You can check the packages that exist in your environment using <code>conda list</code> command. </p>
<p>Once the installation is complete, use the <code>conda list</code> command to verify that the package has been installed in your environment. </p>
<h2 id="heading-how-to-remove-a-package-in-conda">How To Remove a Package in Conda</h2>
<p>You can remove a package in the current environment by running the <code>conda remove package-name</code> command. </p>
<p>In our case, we want to remove Matplotlib from the current environment (<code>package-tutorial</code> environment):</p>
<pre><code class="lang-bash">conda remove matplotlib
</code></pre>
<p>The command above removes Matplotlib from the current environment. When you run the <code>conda list</code> command, Matplotlib will no longer be listed as a package.</p>
<h2 id="heading-summary">Summary</h2>
<p>In this article, we talked about packages in Conda. They can be installed in Conda environments. </p>
<p>We saw how to create and activate a Conda environment . We also saw how to install and remove packages in Conda. </p>
<p>Happy coding!</p>
 ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ Conda Remove Environment – How to Delete an Env ]]>
                </title>
                <description>
                    <![CDATA[ Conda is an open-source package management and environment management system that can be used to create different, isolated coding environments.  With Conda, you can create separate environments for specific projects. You can have one environment for... ]]>
                </description>
                <link>https://www.freecodecamp.org/news/how-to-delete-an-environment-in-conda/</link>
                <guid isPermaLink="false">66b0a2d3b30dd4d00547bb97</guid>
                
                    <category>
                        <![CDATA[ anaconda ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Python ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Ihechikara Abba ]]>
                </dc:creator>
                <pubDate>Fri, 07 Apr 2023 05:11:54 +0000</pubDate>
                <media:content url="https://www.freecodecamp.org/news/content/images/2023/04/lewis-kang-ethe-ngugi-f5pTwLHCsAg-unsplash.jpg" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>Conda is an open-source package management and environment management system that can be used to create different, isolated coding environments. </p>
<p>With Conda, you can create separate environments for specific projects. You can have one environment for machine learning and another environment for data analytics.</p>
<p>Each environment can have its own packages. Packages installed in one environment can't be accessed in a different environment.</p>
<p>In this article, you'll learn how to delete an environment in Conda using built-in Conda commands. </p>
<h2 id="heading-how-to-delete-an-environment-in-conda">How to Delete an Environment in Conda</h2>
<p>You can get a list of existing Conda environments using the command below:</p>
<pre><code class="lang-bash">conda env list
</code></pre>
<p>Before you delete an environment in Conda, you should first deactivate it. You can do that using this command: </p>
<pre><code class="lang-bash">conda deactivate
</code></pre>
<p>Once you've deactivated the environment, you'd be switched back to the <code>base</code> environment. </p>
<p>To delete an environment, run the command below:</p>
<pre><code class="lang-bash">conda remove --name ENV_NAME --all
</code></pre>
<p><code>ENV_NAME</code> denotes the name of the environment to be removed/deleted. Make sure you deactivate an environment before removing it by running the <code>conda deactivate</code> command. </p>
<p>The <code>--all</code> flag removes all the packages installed in that environment.</p>
<p>Here's a summary of the steps involved in deleting an environment in Conda:</p>
<ul>
<li>Deactivate the environment using the <code>conda deactivate</code> command. </li>
<li>Delete the environment using the <code>conda remove --name ENV_NAME --all</code> command. </li>
</ul>
<h2 id="heading-summary">Summary</h2>
<p>In this article, we talked about Conda. A package and environment management system that is used to install and manage separate coding environments and their packages. </p>
<p>We saw different commands that can be used to deactivate and remove an environment in Conda. </p>
<p>Happy coding!</p>
 ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ How to install TensorFlow and Keras using Anaconda Navigator — without the command line ]]>
                </title>
                <description>
                    <![CDATA[ By Ekapope Viriyakovithya Say no to pip install in the command line! Here's an alternative way to install TensorFlow on your local machine in 3 steps. _Photo by [Unsplash](https://unsplash.com/@kowalikus?utm_source=ghost&utm_medium=referral&utm_camp... ]]>
                </description>
                <link>https://www.freecodecamp.org/news/install-tensorflow-and-keras-using-anaconda-navigator-without-command-line/</link>
                <guid isPermaLink="false">66d45e404a7504b7409c3386</guid>
                
                    <category>
                        <![CDATA[ anaconda ]]>
                    </category>
                
                    <category>
                        <![CDATA[ keras ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Machine Learning ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Python ]]>
                    </category>
                
                    <category>
                        <![CDATA[ TensorFlow ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ freeCodeCamp ]]>
                </dc:creator>
                <pubDate>Wed, 24 Jul 2019 10:15:00 +0000</pubDate>
                <media:content url="https://cdn-media-2.freecodecamp.org/w1280/5f9ca140740569d1a4ca4d8c.jpg" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>By Ekapope Viriyakovithya</p>
<p>Say no to pip install in the command line! Here's an alternative way to install TensorFlow on your local machine in 3 steps.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/04/image-239.png" alt="Image" width="600" height="400" loading="lazy">
_Photo by [Unsplash](https://unsplash.com/@kowalikus?utm_source=ghost&amp;utm_medium=referral&amp;utm_campaign=api-credit"&gt;Krzysztof Kowalik / &lt;a href="https://unsplash.com/?utm_source=ghost&amp;utm_medium=referral&amp;utm<em>campaign=api-credit)</em></p>
<h1 id="heading-why-am-i-writing-this">Why am I writing this?</h1>
<p>I played around with pip install with multiple configurations for several hours, trying to figure how to properly set my python environment for TensorFlow and Keras.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2019/07/image-31.png" alt="Image" width="600" height="400" loading="lazy">
<em>why is tensorflow so hard to install — 600k+ results</em></p>
<p><img src="https://www.freecodecamp.org/news/content/images/2019/07/image-32.png" alt="Image" width="600" height="400" loading="lazy">
<em>unable to install tensorflow on windows site:stackoverflow.com — 26k+ results</em></p>
<h1 id="heading-just-before-i-gave-up-i-found-this">Just before I gave up, I found this…</h1>
<p>_“<a target="_blank" href="https://www.anaconda.com/tensorflow-in-anaconda/?source=post_page---------------------------">One key benefit of installing TensorFlow using conda rather than pip is a result of the conda package management system. When TensorFlow is installed using conda, conda installs all the necessary and compatible dependencies for the packages as well.</a> _”__</p>
<p>This article will walk you through the process how to install TensorFlow and Keras by using the GUI version of Anaconda. I assume you have downloaded and installed <a target="_blank" href="https://www.anaconda.com/distribution/?source=post_page---------------------------">Anaconda Navigator</a> already.</p>
<h1 id="heading-lets-get-started">Let’s get started!</h1>
<ol>
<li>Launch Anaconda Navigator. Go to the Environments tab and click ‘Create’.</li>
</ol>
<p><img src="https://www.freecodecamp.org/news/content/images/2019/07/image-33.png" alt="Image" width="600" height="400" loading="lazy">
<em>Go to ‘Environments tab’, click ‘Create’</em></p>
<ol start="2">
<li>Input a new environment name - I put ‘tensorflow_env’. <strong>Make sure to select Python 3.6 here!</strong> Then ‘Create’, this may take few minutes.</li>
</ol>
<p><img src="https://www.freecodecamp.org/news/content/images/2019/07/image-34.png" alt="Image" width="600" height="400" loading="lazy">
<em>make sure to select Python 3.6</em></p>
<ol start="3">
<li>In your new ‘tensorflow_env’ environment, select ‘Not installed’, and type in ‘tensorflow’. Then, tick ‘tensorflow’ and ‘Apply’. The pop-up window will appear, go ahead and apply. This may take several minutes.</li>
</ol>
<p><img src="https://www.freecodecamp.org/news/content/images/2019/07/image-35.png" alt="Image" width="600" height="400" loading="lazy"></p>
<p>Do the same for ‘keras’.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2019/07/image-36.png" alt="Image" width="600" height="400" loading="lazy"></p>
<p>Check your installation by importing the packages. If everything is okay, the command will return nothing. If the installation was unsuccessful, you will get an error.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2019/07/image-37.png" alt="Image" width="600" height="400" loading="lazy">
<em>no error pop up — Yeah!</em></p>
<p><img src="https://www.freecodecamp.org/news/content/images/2019/07/image-38.png" alt="Image" width="600" height="400" loading="lazy">
<em>You can also try with Spyder.</em></p>
<p><img src="https://www.freecodecamp.org/news/content/images/2019/07/image-39.png" alt="Image" width="600" height="400" loading="lazy">
<em>no error pop up — Yeah!</em></p>
<p>And…Ta-da! It’s done! You can follow <a target="_blank" href="https://towardsdatascience.com/how-to-build-a-neural-network-with-keras-e8faa33d0ae4?source=post_page---------------------------">this article</a> to test your newly installed packages :)</p>
<hr>
<p>Thank you for reading. Please give it a try, and let me know your feedback!</p>
<p>Consider following me on <a target="_blank" href="https://github.com/ekapope?source=post_page---------------------------">GitHub</a>, <a target="_blank" href="https://medium.com/@ekapope.v?source=post_page---------------------------">Medium</a>, and <a target="_blank" href="https://twitter.com/EkapopeV?source=post_page---------------------------">Twitter</a> to get more articles and tutorials on your feed if you like what I did. :)</p>
 ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ An introduction to Anaconda: what it is, and how to install it ]]>
                </title>
                <description>
                    <![CDATA[ By Nandhini Saravanan A simple guide to Anaconda and its installation on Ubuntu 16.04 (64-bit). [Anaconda Logo](https://en.wikipedia.org/wiki/Anaconda(Python_distribution)" rel="noopener" target="blank" title=") Hey everyone. I wrote this post to gu... ]]>
                </description>
                <link>https://www.freecodecamp.org/news/how-to-install-anaconda-on-ubuntu-16-04-64-bit-6f1c4675ce44/</link>
                <guid isPermaLink="false">66c352dac2631756f9f063d9</guid>
                
                    <category>
                        <![CDATA[ anaconda ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Data Science ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Python ]]>
                    </category>
                
                    <category>
                        <![CDATA[ tech  ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Ubuntu ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ freeCodeCamp ]]>
                </dc:creator>
                <pubDate>Fri, 09 Mar 2018 16:58:01 +0000</pubDate>
                <media:content url="https://cdn-media-1.freecodecamp.org/images/1*5FCJgZ0I7Qo9bHe8USGfvw.png" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>By Nandhini Saravanan</p>
<h4 id="heading-a-simple-guide-to-anaconda-and-its-installation-on-ubuntu-1604-64-bit">A simple guide to Anaconda and its installation on Ubuntu 16.04 (64-bit).</h4>
<p><img src="https://cdn-media-1.freecodecamp.org/images/1*5FCJgZ0I7Qo9bHe8USGfvw.png" alt="Image" width="800" height="400" loading="lazy">
<em>[Anaconda Logo](https://en.wikipedia.org/wiki/Anaconda</em>(Python_distribution)" rel="noopener" target="<em>blank" title=")</em></p>
<p>Hey everyone. I wrote this post to guide you through how Anaconda is installed in Ubuntu versions. Additionally, it covers various details about Anaconda and the area in which it is utilized.</p>
<h3 id="heading-for-starters-what-is-anaconda-all-about">For starters, what is Anaconda all about?</h3>
<p>Before probing into what Anaconda really means and what it is about, we will first learn about Conda.</p>
<p>Quoting Conda’s official blog:</p>
<blockquote>
<p>Conda is an <strong>open source package management system</strong> and environment management system that runs on Windows, macOS and Linux.</p>
<p>Conda quickly installs, runs and updates packages and their dependencies. Conda easily creates, saves, loads and switches between environments on your local computer.</p>
<p>It was created for <strong>Python</strong> programs, but it can <strong>package and distribute software</strong> for any language.</p>
</blockquote>
<p>The next question on the table is: why Conda, all of a sudden? We all know that is a package management system used to install and manage software packages written in Python.</p>
<p>That has its limitation too. It can only be used for Python packages.</p>
<p><code>pip</code> is focused around Python, neglecting non-Python library dependencies, such as HDF5, MKL, LLVM which do not have a setup file in their source code.</p>
<p>To put it in simple words:</p>
<p><code>pip</code> is a package manager that facilitates installation, upgrade, and uninstallation of <strong>python packages</strong>. It works with virtual <strong>python</strong> environments.</p>
<p><code>Conda</code> is a package manager for <strong>any software</strong> (installation, upgrade and uninstallation). It works with virtual <strong>system</strong> environments.</p>
<p>Conda is a packaging tool and installer that aims to do more than what <code>pip</code> does: handle library dependencies <em>outside</em> of the Python packages as well as the Python packages themselves.</p>
<p>Conda also creates a virtual environment.</p>
<h4 id="heading-how-does-anaconda-come-into-the-picture">How does Anaconda come into the picture?</h4>
<p>Conda is written entirely in Python which makes it easier to use in Python virtual environments. Furthermore, we can use Conda for C libraries, R packages, Java packages and so on.</p>
<p>It installs binaries. The <code>conda build</code> tool builds packages from source and <code>conda install</code> installs things from built conda packages.</p>
<p>Conda is the package manager of Anaconda, the Python distribution provided by Continuum Analytics. A skimpy line to describe Anaconda is this:</p>
<blockquote>
<p><strong><em>Anaconda is a python and R distribution. It aims to provide everything you need (python wise) for data science tasks.</em></strong></p>
</blockquote>
<p>Anaconda is a set of binaries that includes Scipy, Numpy, Pandas along with all their dependencies.</p>
<p><strong>Scipy</strong> is a statistical analysis package.</p>
<p><strong>Numpy</strong> is a numerical computing package .</p>
<p><strong>Pandas</strong> is a data abstraction layer that exposes a way to merge and transform data.</p>
<p><strong>Anaconda helps us by getting all of these together in one single shot</strong>.</p>
<p>The Anaconda binary is an installer that builds all of these packages and their dependencies in your system.</p>
<p>For more information on Anaconda, visit its official blog: <a target="_blank" href="https://anaconda.org/">https://anaconda.org/</a></p>
<h3 id="heading-installing-the-easier-way">Installing the easier way</h3>
<p>Installing files can be a big major mess sometimes, but Anaconda is a lot more user friendly than you might think. I prefer Ubuntu, as installation just requires a couple of strong commands and a good network connection. It feels a lot easier. Here are the subsequent steps on installation of Anaconda.</p>
<p>(This whole installation process works on 64-bit computers alone).</p>
<h4 id="heading-step-1-download-the-anaconda-bash-script">Step 1: Download the Anaconda bash script</h4>
<p>Download the latest version of the Anaconda installer bash script from their <a target="_blank" href="https://anaconda.org/">official website</a>. It can be downloaded by running a curl command. If you don’t have curl installed in your system, install it by running the following command.</p>
<pre><code>sudo apt-get updatesudo apt-get install curl
</code></pre><p>Go to the /tmp folder.</p>
<pre><code>cd /tmp
</code></pre><p>After you have installed curl, run the following command using it:</p>
<pre><code>curl -O https:<span class="hljs-comment">//repo.continuum.io/archive/Anaconda3-4.3.1-Linux-x86_64.sh</span>
</code></pre><p>The setup usually consumes a few minutes as its size is approximately 500 MB. Please wait until the whole download process completes.</p>
<p><img src="https://cdn-media-1.freecodecamp.org/images/1*utuN01gygzbxPM38z0-DMg.png" alt="Image" width="800" height="69" loading="lazy">
<em>Anaconda install process</em></p>
<p>The screen shot attached was taken after the script has been downloaded. Make sure you have a strong connection or else download errors might occur.</p>
<h4 id="heading-step-2-verify-the-integrity">Step 2: Verify the Integrity</h4>
<p>To verify the data integrity of the installer, we use a cryptographic hash algorithm called SHA-2 (Secure Hash Algorithm).</p>
<pre><code>sha256sum Anaconda3<span class="hljs-number">-4.3</span><span class="hljs-number">.1</span>-Linux-x86_64.sh
</code></pre><p>A checksum will be generated in the next line after the command is executed.</p>
<p><img src="https://cdn-media-1.freecodecamp.org/images/1*nbv3yfy9C59Q_kLkpvVVPw.png" alt="Image" width="800" height="105" loading="lazy">
<em>Verifying data integrity using checksum</em></p>
<h4 id="heading-step-3-run-the-bash-script">Step 3: Run the bash script</h4>
<p>We are almost there. The package is downloaded and we just have to run the script by typing this command.</p>
<pre><code>bash Anaconda3<span class="hljs-number">-4.3</span><span class="hljs-number">.1</span>-Linux-x86_64.sh
</code></pre><p>A normal verification step asks whether you want to install Anaconda. Type <code>yes</code> so that the installation continues.</p>
<p><img src="https://cdn-media-1.freecodecamp.org/images/1*mQnEPRvUKXMvgKTt4Yss8Q.png" alt="Image" width="800" height="449" loading="lazy">
<em>After running the bash script</em></p>
<h4 id="heading-step-4-installing-the-cryptographic-libraries">Step 4: Installing the Cryptographic Libraries</h4>
<p>This is a part of the prior process. The installer asks the user whether they want to install all the cryptographic libraries. Type in <code>yes</code> and you are good to go. Refer to the screen shot below. You’ll get details similar to it.</p>
<p><img src="https://cdn-media-1.freecodecamp.org/images/1*LXq81Fwp6lWgrwM9-X7b4A.png" alt="Image" width="800" height="318" loading="lazy">
<em>Cryptographic Libraries</em></p>
<h4 id="heading-step-5-confirm-the-location">Step 5: Confirm the Location</h4>
<p>The last and final step is confirm the path to where you want to place all the Anaconda packages. After you have specified the path, press Enter and you are done! Anaconda will start working out its magic by installing all the essentials you’ll need!</p>
<p><img src="https://cdn-media-1.freecodecamp.org/images/1*UQH2AdCUWxD7NYxcn4mPSg.png" alt="Image" width="800" height="449" loading="lazy">
<em>Anaconda Path Set up</em></p>
<h4 id="heading-step-6-activate-and-verify">Step 6: Activate and Verify</h4>
<p>In order to activate the installation, we should source the <code>~/.bashrc</code> file by typing in the following command:</p>
<pre><code>source ~/.bashrc
</code></pre><p>Verify your installation by using the <code>conda</code> command.</p>
<pre><code>conda list
</code></pre><p>The output of all the packages available through the Anaconda installation is displayed.</p>
<h4 id="heading-i-write-stories-on-life-lessons-coding-and-technology-and-books-to-read-more-follow-me-on-twitterhttpstwittercomsnandhini98-and-mediumhttpmediumcomnandhus05">I write stories on Life Lessons, Coding and Technology and Books. To read more, follow me on <a target="_blank" href="https://twitter.com/snandhini98">Twitter</a> and <a target="_blank" href="http://medium.com/@nandhus05">Medium.</a></h4>
 ]]>
                </content:encoded>
            </item>
        
    </channel>
</rss>
