{"componentChunkName":"component---src-templates-post-tsx","path":"/development_environment/anaconda/","result":{"data":{"logo":{"childImageSharp":{"gatsbyImageData":{"layout":"fixed","backgroundColor":"#f8f8f8","images":{"fallback":{"src":"/static/e43c6530b7b2b056de6bfee951c9e393/b181d/compasslogo.png","srcSet":"/static/e43c6530b7b2b056de6bfee951c9e393/b181d/compasslogo.png 1920w","sizes":"1920px"},"sources":[{"srcSet":"/static/e43c6530b7b2b056de6bfee951c9e393/e02c9/compasslogo.webp 1920w","type":"image/webp","sizes":"1920px"}]},"width":1920,"height":472}}},"mdx":{"body":"const _excluded = [\"components\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsxRuntime classic */\n\n/* @jsx mdx */\nconst _frontmatter = {\n  \"layout\": \"post\",\n  \"title\": \"The Only Post you Need to Start Using Anaconda\",\n  \"author\": [\"Boris Giba\"],\n  \"tags\": [\"Development Environment\"],\n  \"image\": \"img/Anaconda/Anaconda_Thumbnail.png\",\n  \"date\": \"2021-02-05T18:15:52.584Z\",\n  \"dateModified\": \"2021-02-05T18:15:52.584Z\",\n  \"changelog\": [],\n  \"draft\": false,\n  \"imgCaption\": \"Background image by Alfonso Castro\",\n  \"imgSource\": \"https://unsplash.com/photos/HaGwCk2AD84\",\n  \"timeToRead\": 15,\n  \"uniquePostId\": 2,\n  \"excerpt\": \"In this article, you will learn what Anaconda and conda are, when to use them and how to use them. I will cover the pros and cons of Anaconda, installation on Windows, Mac, and Linux, as well as using conda to install packages and manage virtual environments and manage channels.\",\n  \"dependencies\": [],\n  \"proficiencyLevel\": \"Beginner\"\n};\n\nconst makeShortcode = name => function MDXDefaultShortcode(props) {\n  console.warn(\"Component \" + name + \" was not imported, exported, or provided by MDXProvider as global scope\");\n  return mdx(\"div\", props);\n};\n\nconst SmoothScrollLink = makeShortcode(\"SmoothScrollLink\");\nconst ToolTip = makeShortcode(\"ToolTip\");\nconst layoutProps = {\n  _frontmatter\n};\nconst MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  let {\n    components\n  } = _ref,\n      props = _objectWithoutProperties(_ref, _excluded);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"h2\", {\n    \"id\": \"outline\"\n  }, `Outline`), mdx(\"p\", null, `In this post, we will cover what Anaconda and Conda are, when you should consider using them, and how you can do so. If you are not interested in the pros and cons of Anaconda and you just want to read\nabout their usage, jump straight ahead to the section `, mdx(SmoothScrollLink, {\n    scrollid: \"how-to-use-anaconda\",\n    mdxType: \"SmoothScrollLink\"\n  }, `How to use Anaconda`), `.`), mdx(\"h2\", {\n    \"id\": \"what-even-is-anaconda\"\n  }, `What even is Anaconda?`), mdx(\"p\", null, `Anaconda is a Python distribution. You can imagine it being a sort of “flavor” of Python. The most important component of Anaconda is `, mdx(\"em\", {\n    parentName: \"p\"\n  }, `conda`), `, Anaconda’s package manager. If you are unfamiliar with the term package manager, or with virtual environments in general, I `, mdx(\"em\", {\n    parentName: \"p\"\n  }, `highly`), ` recommend that you read the article `, mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"/development_environment/packages_and_environments\"\n  }, `Package Managers and Virtual Environments Explained, Step by Step`), ` first. In that article, I explain these concepts in great detail, going one step at a time. Even if you have used package managers before, you still might pick up a nugget of wisdom or two, so I really do recommend that you read that article. `), mdx(\"p\", null, `If you know how virtual environments work, but would still like a quick refresher, here we go:\nA package manager (in the context of Python) is a piece of software that manages external packages on top of your local Python installation inside of a “box” called “(virtual) environment”. If you install external packages, they are added to your environment. By default, you always have full access to all of the packages that are inside your (global) environment. A package manager now creates new environments, thus allowing you to put certain packages only inside one specific environment. You could f.e. create an environment for Web Development and one for Machine Learning. You then need to `, mdx(\"em\", {\n    parentName: \"p\"\n  }, `activate`), ` an environment to use the packages inside of it. You won’t be able to use your Web Development packages inside your machine learning environment.\nAgain, if you want to read about the benefits of using virtual environments versus putting all of your packages into one global environment, check out the article linked above.`), mdx(\"p\", null, `Conda is exactly such a package manager. It is basically an alternative to `, mdx(\"em\", null, `pip`), `, Python’s native package manager that comes preinstalled with most modern Python-versions`, mdx(ToolTip, {\n    trigger: \"*\",\n    mdxType: \"ToolTip\"\n  }, `Pip comes preinstalled with Python 2.7.9+ and Python 3.4+.`), `.\nNow you might ask yourself the very reasonable question, “If pip is already installed on my system, why should I bother installing another package manager?“. Since conda is just an alternative\nto pip, there are reasons for, as well as against, using conda instead of pip. One is not\ndefinitively “better” than the other, they are both great and you won’t go wrong choosing either of\nthem. With that said, let’s take a look at the pros and cons of conda! `), mdx(\"h2\", {\n    \"id\": \"anaconda---the-pros\"\n  }, `Anaconda - The Pros`), mdx(\"p\", null, `One advantage conda has is that conda can manage virtual environments, while pip can’t. Now, this\nreally is not that much of a dealbreaker, since the tool `, mdx(\"em\", null, `venv`), `, which also manages virtual\nenvironments comes preinstalled with all modern Python-versions and is also the recommended\nway to manage your virtual environments`, mdx(ToolTip, {\n    trigger: \"*\",\n    mdxType: \"ToolTip\"\n  }, `\nSince Python version 3.5, the docs officially recommend venv for managing environments. See `, mdx(\"a\", {\n    rel: \"noopener noreferrer nofollow\",\n    target: \"_blank\",\n    href: \"https://docs.python.org/3/library/venv.html#creating-virtual-environments\"\n  }, `here`)), `.\nThe only benefit conda still has is that you can install your packages and manage your environments all within the same tool - conda, while with pip you\nhave to use an external utility like venv to manage your environments.`), mdx(\"p\", null, `Another benefit of Anaconda is that you can use what’s called `, mdx(\"em\", {\n    parentName: \"p\"\n  }, `Anaconda Navigator`), `, which\nis a GUI-program for launching popular applications for programming or data science-related tasks,\nsuch as VSCode, Jupyter, or RStudio. You can also manage your conda environments\ninside Anaconda Navigator (although I would really recommend using the command-line for things\nlike that). If you are a bit shy of the command line and you really enjoy\nusing GUI-applications, Anaconda Navigator might make your life just a tiny bit easier.`), mdx(\"p\", null, `The third benefit of Anaconda is that, by default, conda comes with `, mdx(\"em\", {\n    parentName: \"p\"\n  }, `a lot`), ` of machine learning\npackages preinstalled. Conda comes with NumPy, Matplotlib, Pandas, Scikit-Learn, and many more\nout of the box. This means that you do not have to install these packages manually; instead,\nyou can just install Anaconda and be ready to start working on your next data science or machine learning project. If you do not want to have all of those additional utilities and packages,\nyou can just install `, mdx(\"em\", {\n    parentName: \"p\"\n  }, `Miniconda`), `, which is a minimalistic version of Anaconda, that comes without\nAnaconda Navigator and does not preinstall that many packages onto your system.`), mdx(\"p\", null, `The fourth and final benefit of conda is that it is the recommended way to install and use `, mdx(\"em\", null, `Spyder`), mdx(ToolTip, {\n    trigger: \"*\",\n    mdxType: \"ToolTip\"\n  }, `\nSee `, mdx(\"a\", {\n    rel: \"noopener noreferrer nofollow\",\n    target: \"_blank\",\n    href: \"https://docs.spyder-ide.org/current/installation.html\"\n  }, `here`)), `.\nSpyder is an IDE that was developed specifically with machine learning and data science\npurposes in mind and is used by many people who work in these areas, although it is nowhere near\nas popular as modern alternatives such as VSCode. If you are happy with your text editor or IDE of\nchoice and you have no interest in taking a look at Spyder, then this really won’t matter to you. However, if you are interested in trying out Spyder, or you are already using it as your\nIDE of choice, then using conda is the way to go, although you can use Spyder as a standalone IDE, even if it is not recommended by the maintainers.`), mdx(\"p\", null, `As we see, the main arguments for using conda are that conda can make your life easier under certain\ncircumstances. The only strong reason to use conda is if you are also using Spyder as your IDE.\nWith the pros covered, let’s take a look at the cons of using Anaconda.`), mdx(\"h2\", {\n    \"id\": \"anaconda---the-cons\"\n  }, `Anaconda - The Cons`), mdx(\"p\", null, `As we saw, the pros are mostly “quality of life”-aspects. This also means that if you are comfortable\nwith your current setup, using f.e. `, mdx(\"em\", {\n    parentName: \"p\"\n  }, `pip`), ` and `, mdx(\"em\", {\n    parentName: \"p\"\n  }, `venv`), ` and you also like managing your environments\nand launching your programs like Jupyter from the command-line and you also either don’t care\nabout Spyder or you use it in combination with pip, then there really is no reason for you to\nmake the switch to Anaconda. In fact, `, mdx(\"em\", {\n    parentName: \"p\"\n  }, `not`), ` putting another piece of software on top of your\nexisting stack might even be helpful, because of a few reasons.`), mdx(\"p\", null, `Firstly, since pip is the default package manager for Python and more people in general use\ntools such as venv or virtualenv over conda, you will be more likely\nto find solutions to errors you encounter on StackOverflow, since a broader range of\npeople use pip over conda.`), mdx(\"p\", null, `If you also think about making the switch to Anaconda, but you don’t like all of these additional\ndependencies and think about going with Miniconda, why not just stick with pip? Pip and conda\nonly have that many differences and switching from one to another won’t make that big of a change.\nAlso, if you are already using a tool such as venv to manage your environments, it will be easier\nfor you to just stick with your current configuration rather than moving all of your existing\nenvironments to a new manager, such as conda.`), mdx(\"p\", null, `One final aspect, which is often overlooked, is that pip is a lot more battle-tested and robust. This means that you might encounter errors with conda that you would have never encountered with pip. Now,\nmost of the time conda will work just fine, but you might just end up in a situation with\na really annoying problem and no pleasant solution. So in terms of reliability, I think pip is the winner here.`), mdx(\"h2\", {\n    \"id\": \"what-do-i-use\"\n  }, `What do I use?`), mdx(\"p\", null, `If you are curious to know which tools I use, I can tell you that I have tried both conda and pip in combination with multiple virtual environment managers, and I ended up sticking with pip+venv as my preferred configuration. However, I have also seen Anaconda being actively used at a research institute for which I work, so both options are certainly good choices.  `), mdx(\"p\", null, `Do you already have a favorite tool for managing virtual environments? I would love to hear\nyour thoughts on this! Feel free to post a comment below and let me know what you use for\nyour Python setup.`), mdx(\"p\", null, `With all of that being said, I think Anaconda definitely has some valid use-cases and certainly has good reasons to exist. If you have decided that you want to give Anaconda a try, read on, because now I will show you everything you need to know in order for you to be able to start using Anaconda and conda right away in your next project.`), mdx(\"h2\", {\n    \"id\": \"how-to-use-anaconda\"\n  }, `How to use Anaconda`), mdx(\"h3\", {\n    \"id\": \"installation\"\n  }, `Installation`), mdx(\"h4\", {\n    \"id\": \"windows--os-x\"\n  }, `Windows / OS X`), mdx(\"p\", null, `If you are using either Windows or Mac OS you can just download the graphical installer over at the Anaconda website. For this, just go to `, mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://www.anaconda.com/products/individual\",\n    \"target\": \"_blank\",\n    \"rel\": \"nofollow noopener noreferrer\"\n  }, `https://www.anaconda.com/products/individual`), `\nand scroll down until you find this section:\n`, mdx(\"span\", {\n    parentName: \"p\",\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"1857px\"\n    }\n  }, `\n      `, mdx(\"span\", {\n    parentName: \"span\",\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"28.599999999999998%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAGCAYAAADDl76dAAAACXBIWXMAABYlAAAWJQFJUiTwAAAA8UlEQVQY012P226DMBBE+f9vymOlKmnANBI3X9IGSrBjzO0HplpjEO3Darx7PGNvxAeH0lqQymmEGAev1FeuB3f9Pt8YKfFjv2n0LgROcYxMd1Dz5IekrKnxVuQ4C46vZYY4BCT1A/Hje+9leMwH5n0PTkMyUSCdpxGlcyicW/vA5MasRdnbP79TgUWXrATjCgmXiCuBXGuoZcatbvCRVyuriElk5uVNn9rg0jxxbbWvm7GowgZR0rRIf55gVE2LwlqoefRmFtjG0854E4UknQHrDFL9AtOr8mFAdF8mqENta1Co+sdoJqdh53e6cyha+RfndbhnyakWYAAAAABJRU5ErkJggg==')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  }), `\n  `, mdx(\"picture\", {\n    parentName: \"span\"\n  }, `\n          `, mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/903d2c67288357a846d1fd2ffed0b95f/601b1/AnacondaDownloads.webp 500w\", \"/static/903d2c67288357a846d1fd2ffed0b95f/80c60/AnacondaDownloads.webp 1000w\", \"/static/903d2c67288357a846d1fd2ffed0b95f/43d24/AnacondaDownloads.webp 1857w\"],\n    \"sizes\": \"(max-width: 1857px) 100vw, 1857px\",\n    \"type\": \"image/webp\"\n  }), `\n          `, mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/903d2c67288357a846d1fd2ffed0b95f/0eb09/AnacondaDownloads.png 500w\", \"/static/903d2c67288357a846d1fd2ffed0b95f/1263b/AnacondaDownloads.png 1000w\", \"/static/903d2c67288357a846d1fd2ffed0b95f/530b1/AnacondaDownloads.png 1857w\"],\n    \"sizes\": \"(max-width: 1857px) 100vw, 1857px\",\n    \"type\": \"image/png\"\n  }), `\n          `, mdx(\"img\", {\n    parentName: \"picture\",\n    \"className\": \"gatsby-resp-image-image\",\n    \"src\": \"/static/903d2c67288357a846d1fd2ffed0b95f/530b1/AnacondaDownloads.png\",\n    \"alt\": \"Anaconda GUI-Installer Downloadlinks\",\n    \"title\": \"Anaconda GUI-Installer Downloadlinks\",\n    \"loading\": \"lazy\",\n    \"decoding\": \"async\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    }\n  }), `\n        `), `\n    `)), mdx(\"p\", null, `Once you have downloaded the installers, open the downloaded file and then just click yourself through the installation process. Usually, you can just accept the default values.\nIf you are thinking about which options to choose in this menu here,`), mdx(\"p\", null, mdx(\"span\", {\n    parentName: \"p\",\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"603px\"\n    }\n  }, `\n      `, mdx(\"span\", {\n    parentName: \"span\",\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"78.4%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAQCAYAAAAWGF8bAAAACXBIWXMAABYlAAAWJQFJUiTwAAACmUlEQVQ4y3VUa4+aUBT0//+ifmjdJvIGhRWU9QW+EJV7ufJwTdqk05wju2u7rcnJHLlhmHNmoLdYL7BZr5GmCZIk6XDFPVVRCLTtFU3ToKkbxqqqcFEXlLKEUgplWUKVCufTGb2iPuPSVlCXCqqqcBYSP37+xH6/w2QyQZqu8BLHiKcxP2w6maK9XvG/X2+cBQjTGH4Y4zmewRwGyI4n3G43rFYrbLdbZNkBSZJis9l013Y4nU7Y7/coS3Vn+tURSiHxen3FtW25bq/3nkZrmzv+XTRyXdeoq5rx8ayX5zkW8znG4zHCcYj5fAEhBKSUKM4FI+2ISgrByDu8XLjuZ5L3SX3veDyiVArTOIbv+3BdlzEInhGFIQL/GZ7r8f+h5yGKImT7jMc9HPJ3YioyiAlJxWjow3VcGLoB1/WgDTRYpgXLcjAcDmGaJizLhuO4sC0Hum5gNAqgFJEpdv2dUKmSlWmaDkPT4ToeNE1jYsf2mJQIdMOAphswTYvPyJg3ZZ8I03SN9WaD/T5jZ3mk7MCOkrvb3Q60b1oP3UgGXNsrFBH+qfAEISRs28XT03cei9SQQsd2YBgmKzItm5VSHimfnjdEHM/+rVDKkndDY9DeiMCxbd6pY7uwTQv+aMT71TUDfhAgjl8Qv8wgpOxIO8K8c6ooCohCMHIvBM7nM8eBYyTkR5TKEm2X1c8K85wDStmqLtUdH3vCh2i8ZVB1u3zsmXC327EiUkMqSE1RvNVdtSCUsvsQSEhR3AMtBUTX0xlN0DscDh9fDHpidUHz8Mq1HVJElssFSMC6aBAlOWaZwqmssdtusVyuWEAvTVJWRjfQBYoMvYJRGCEMow5DNqzf77P7Ay/ClycdX40RHD+ENhig/63Pb9RvVreTRCJKMqkAAAAASUVORK5CYII=')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  }), `\n  `, mdx(\"picture\", {\n    parentName: \"span\"\n  }, `\n          `, mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/6ff0e580e92818ed14000dc416fee2c8/601b1/AnacondaInstallerOptions.webp 500w\", \"/static/6ff0e580e92818ed14000dc416fee2c8/82b4d/AnacondaInstallerOptions.webp 603w\"],\n    \"sizes\": \"(max-width: 603px) 100vw, 603px\",\n    \"type\": \"image/webp\"\n  }), `\n          `, mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/6ff0e580e92818ed14000dc416fee2c8/0eb09/AnacondaInstallerOptions.png 500w\", \"/static/6ff0e580e92818ed14000dc416fee2c8/85b8d/AnacondaInstallerOptions.png 603w\"],\n    \"sizes\": \"(max-width: 603px) 100vw, 603px\",\n    \"type\": \"image/png\"\n  }), `\n          `, mdx(\"img\", {\n    parentName: \"picture\",\n    \"className\": \"gatsby-resp-image-image\",\n    \"src\": \"/static/6ff0e580e92818ed14000dc416fee2c8/85b8d/AnacondaInstallerOptions.png\",\n    \"alt\": \"Anaconda Installation Options\",\n    \"title\": \"Anaconda Installation Options\",\n    \"loading\": \"lazy\",\n    \"decoding\": \"async\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    }\n  }), `\n        `), `\n    `)), mdx(\"p\", null, `then you should consider a few factors. Are you already using a Python installation on your machine\nand do you want to keep primarily using your already installed version of Python? Then don’t check\nthe second box. If you want to primarily use the Python installation managed by conda, then tick the second box. Usually, you do not want to check the first box, since you can launch Anaconda-applications with separate programs, such as Anaconda Prompt or Anaconda Navigator,\nso there is no need for you to add it to the PATH in most cases.`), mdx(\"p\", null, `After the installation has finished, you should be good to go.`), mdx(\"h4\", {\n    \"id\": \"linux\"\n  }, `Linux`), mdx(\"p\", null, `If you are using Linux, the installation process may differ slightly based on your distribution.`), mdx(\"p\", null, `First of all, download the installation script here:`), mdx(\"p\", null, mdx(\"span\", {\n    parentName: \"p\",\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"1792px\"\n    }\n  }, `\n      `, mdx(\"span\", {\n    parentName: \"span\",\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"25.8%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAFCAYAAABFA8wzAAAACXBIWXMAABYlAAAWJQFJUiTwAAAA4UlEQVQY021Q0XKDIBD0/3+rnU5bTayxkqpQkjYRDhAxP7Ad0HF86MPOMrd3e3tkuZR46Vo8swY8TOgnn/jLWbwJjifWoBvdpok5gBlCLr9xNrTV+zCBTx5ZQxq1GsBIQ8Tiit57fCqVtNi419rRoSa9mDxm8DmAhyVIVinChzaojUtckVmG/IhyIJzI4kRm7bEpYWstSiFRXa6o5BX17z2Zx6RZqQjvN4X8phIfBr0Zxndx18hXRP08jmiI8NoJFOKCgksc5A+OisCcQxaHxQ77f/xPW5Z5tCFAxHO3kxftDxTublQgil59AAAAAElFTkSuQmCC')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  }), `\n  `, mdx(\"picture\", {\n    parentName: \"span\"\n  }, `\n          `, mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/fdb1c9fd5c2f7c7d1f9a765b04047220/601b1/AnacondaDownloadLinux.webp 500w\", \"/static/fdb1c9fd5c2f7c7d1f9a765b04047220/80c60/AnacondaDownloadLinux.webp 1000w\", \"/static/fdb1c9fd5c2f7c7d1f9a765b04047220/a4772/AnacondaDownloadLinux.webp 1792w\"],\n    \"sizes\": \"(max-width: 1792px) 100vw, 1792px\",\n    \"type\": \"image/webp\"\n  }), `\n          `, mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/fdb1c9fd5c2f7c7d1f9a765b04047220/0eb09/AnacondaDownloadLinux.png 500w\", \"/static/fdb1c9fd5c2f7c7d1f9a765b04047220/1263b/AnacondaDownloadLinux.png 1000w\", \"/static/fdb1c9fd5c2f7c7d1f9a765b04047220/445c6/AnacondaDownloadLinux.png 1792w\"],\n    \"sizes\": \"(max-width: 1792px) 100vw, 1792px\",\n    \"type\": \"image/png\"\n  }), `\n          `, mdx(\"img\", {\n    parentName: \"picture\",\n    \"className\": \"gatsby-resp-image-image\",\n    \"src\": \"/static/fdb1c9fd5c2f7c7d1f9a765b04047220/445c6/AnacondaDownloadLinux.png\",\n    \"alt\": \"Anaconda Download Linux\",\n    \"title\": \"Anaconda Download Linux\",\n    \"loading\": \"lazy\",\n    \"decoding\": \"async\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    }\n  }), `\n        `), `\n    `)), mdx(\"p\", null, `Now, before you run anything, make sure to install the dependencies first. To find out which packages you have to install, you can go to this page right `, mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://docs.anaconda.com/anaconda/install/linux/\",\n    \"target\": \"_blank\",\n    \"rel\": \"nofollow noopener noreferrer\"\n  }, `here`), `.\nIf you are using a distribution based on Ubuntu (Ubuntu, Linux Mint, Lubuntu, Kubuntu, …), you\ncan follow the installation instructions for Debian.\nThis page also contains information on the installation procedure as a whole and generally speaking, you should follow\nthe instructions on that page, since they may change over time. At the time of writing this article, here is how you would install Anaconda on an Ubuntu-based system.`), mdx(\"p\", null, `Open a terminal`, mdx(ToolTip, {\n    trigger: \"*\",\n    mdxType: \"ToolTip\"\n  }, `If you don’t know where to find your terminal, try searching for “Terminal”, “GNOME Terminal”, “Konsole” or “urxvt”.`), `, and execute the following command.`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `sudo apt-get install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6\n`)), mdx(\"p\", null, `This will use the package manager `, mdx(\"em\", {\n    parentName: \"p\"\n  }, `apt`), ` to install all of the dependencies listed above, that are needed in order for Anaconda to work properly.\nYou can also verify the integrity of your downloaded file, but I will not go over it in this tutorial, since this will usually not be necessary. You can check the details in the documentation linked above.`), mdx(\"p\", null, `Then, open your file manager and navigate to your Downloads-folder. There you should find a file named something similar to this: “Anaconda3-2020.11-Linux-x86_64.sh”.\nNow you need to go back to your terminal or open another one if you closed the previous one. In your terminal, paste the command from the documentation. It should look similar to this one:`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `bash ~/Downloads/Anaconda3-2020.02-Linux-x86_64.sh\n`)), mdx(\"p\", null, `What this will do is it will use `, mdx(\"em\", {\n    parentName: \"p\"\n  }, `bash`), `, your Linux-Shell to execute the file you just downloaded. This is similar to executing a “.exe”-file on Windows.\nNow, you `, mdx(\"em\", {\n    parentName: \"p\"\n  }, `could`), ` instead just right-click on the same file, grant it permission to be executed, and then double-click the file. However, I would not recommend this approach, because, with this approach, the file will usually open a terminal which will be closed after the file finished executing. This means that if the file has some error, you will not be able to see it in the terminal, because it will close immediately. This is why I recommend running the file through your terminal directly.`), mdx(\"p\", null, `Once you executed that command, your terminal should look similar to this:`), mdx(\"p\", null, mdx(\"span\", {\n    parentName: \"p\",\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"1021px\"\n    }\n  }, `\n      `, mdx(\"span\", {\n    parentName: \"span\",\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"26.200000000000003%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAFCAYAAABFA8wzAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAwElEQVQY042PyW4EIQxE+a/egG4wO+moo8ylNfP/P1EjW1E0Sw45lIyLsnmofd/RekH9WlE/Ca039P6B3rsoxoiU0psCEYgIUfoI5xy01lAhBOSU4DZCTgW1VgnVUiS0LMuvtF4wTRO0MdIbrWUJn621UtVxHLhcvtFaAy9nOibg19nLOYvPHtN671FKhXceOTNpEI9zq7VQ53nidr2CyMsAh+nnOxyyxmAYRyEb/6ivnmLUbdswDMPTxaPmef637uO+tM6B/08WAAAAAElFTkSuQmCC')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  }), `\n  `, mdx(\"picture\", {\n    parentName: \"span\"\n  }, `\n          `, mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/a18fcb9585dfa66093e669834d188e82/601b1/AnacondaLinuxInstallationStart.webp 500w\", \"/static/a18fcb9585dfa66093e669834d188e82/80c60/AnacondaLinuxInstallationStart.webp 1000w\", \"/static/a18fcb9585dfa66093e669834d188e82/c76c1/AnacondaLinuxInstallationStart.webp 1021w\"],\n    \"sizes\": \"(max-width: 1021px) 100vw, 1021px\",\n    \"type\": \"image/webp\"\n  }), `\n          `, mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/a18fcb9585dfa66093e669834d188e82/0eb09/AnacondaLinuxInstallationStart.png 500w\", \"/static/a18fcb9585dfa66093e669834d188e82/1263b/AnacondaLinuxInstallationStart.png 1000w\", \"/static/a18fcb9585dfa66093e669834d188e82/d8785/AnacondaLinuxInstallationStart.png 1021w\"],\n    \"sizes\": \"(max-width: 1021px) 100vw, 1021px\",\n    \"type\": \"image/png\"\n  }), `\n          `, mdx(\"img\", {\n    parentName: \"picture\",\n    \"className\": \"gatsby-resp-image-image\",\n    \"src\": \"/static/a18fcb9585dfa66093e669834d188e82/d8785/AnacondaLinuxInstallationStart.png\",\n    \"alt\": \"Anaconda Linux Installation Start in Terminal\",\n    \"title\": \"Anaconda Linux Installation Start in Terminal\",\n    \"loading\": \"lazy\",\n    \"decoding\": \"async\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    }\n  }), `\n        `), `\n    `)), mdx(\"p\", null, `Now you need to press down and then hold down the Enter-Key to scroll through the license agreement. After a while, you should be prompted to answer “yes” or “no”. Type in “yes” to proceed and confirm with Enter. Then you should see this:`), mdx(\"p\", null, mdx(\"span\", {\n    parentName: \"p\",\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"713px\"\n    }\n  }, `\n      `, mdx(\"span\", {\n    parentName: \"span\",\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"33%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAHCAYAAAAIy204AAAACXBIWXMAABYlAAAWJQFJUiTwAAABIklEQVQoz21R7W7CMAzscyG+RQsNbWkS56OldAzx/q9w01ljYtN+nOw4zsV3LlJKmK5XOGshEmBMjRACRARN08B7jyCi0VqrsW1bvTfGoO97pJQRgqCqShTjOCLnjBSjEjnnwFpVVVgul9hsNor1ev0TV6uV5tvtVrHf77Hb7bRW8OHpdFIC/na5dCjLUnE8HlHXtebsORwOetb+ssRisVDydxReBPPtBuc9ns8npuuoxDEGzPOMnAcMwwBa473g/nnHOIyYpkmlvyZmJIqu63QqNoVv35qmVQtIFFNSr8SL9gw5w/Y95vkDMcRfZEpIWZTER5TCnLIIemLMWZfBZvpEz1hn/j7dKxYxRjhndWuvTXI51vbqGaU+Ho9//fpLRsIvVU8GGhUMR8oAAAAASUVORK5CYII=')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  }), `\n  `, mdx(\"picture\", {\n    parentName: \"span\"\n  }, `\n          `, mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/91b77d7bfe5df9a0f5c0438d86eef841/601b1/AnacondaLinuxInstallationLocation.webp 500w\", \"/static/91b77d7bfe5df9a0f5c0438d86eef841/e185d/AnacondaLinuxInstallationLocation.webp 713w\"],\n    \"sizes\": \"(max-width: 713px) 100vw, 713px\",\n    \"type\": \"image/webp\"\n  }), `\n          `, mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/91b77d7bfe5df9a0f5c0438d86eef841/0eb09/AnacondaLinuxInstallationLocation.png 500w\", \"/static/91b77d7bfe5df9a0f5c0438d86eef841/61d11/AnacondaLinuxInstallationLocation.png 713w\"],\n    \"sizes\": \"(max-width: 713px) 100vw, 713px\",\n    \"type\": \"image/png\"\n  }), `\n          `, mdx(\"img\", {\n    parentName: \"picture\",\n    \"className\": \"gatsby-resp-image-image\",\n    \"src\": \"/static/91b77d7bfe5df9a0f5c0438d86eef841/61d11/AnacondaLinuxInstallationLocation.png\",\n    \"alt\": \"Anaconda Linux Installation Choosing Location\",\n    \"title\": \"Anaconda Linux Installation Choosing Location\",\n    \"loading\": \"lazy\",\n    \"decoding\": \"async\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    }\n  }), `\n        `), `\n    `)), mdx(\"p\", null, `Unless you have a reason to install Anaconda into a different directory, it is recommended to just stick with the provided directory and continue.\nThen you should be asked whether or not you want the installer to prepend the Anaconda3 install location to your PATH-variable. In most cases, you want to confirm this by typing in “yes” and proceeding with Enter.\n`, mdx(\"strong\", {\n    parentName: \"p\"\n  }, `If you have accidentally typed in “no” or skipped this question, here is what you can do.`), `\nThere should be a message telling you that you should consider adding a path export to your .bashrc-file. Just open that .bashrc-file (it should be in your home-directory ”~”) and\npaste the export that the installer printed before. The line should look similar to “export PATH=…:`, `$`, `PATH”`), mdx(\"p\", null, `After that, Anaconda may ask you if you also want Visual Studio Code to be installed. Type in “yes” or “no” perform the corresponding action. If you decline, you can still install VSCode afterward.`), mdx(\"p\", null, `Now the installation procedure should be complete and the last line of your terminal should look like this:`), mdx(\"p\", null, mdx(\"span\", {\n    parentName: \"p\",\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"833px\"\n    }\n  }, `\n      `, mdx(\"span\", {\n    parentName: \"span\",\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"4.6%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAABCAYAAADeko4lAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAQklEQVQI1z2JMQ6AMAzEeFejXMYAAiqmjuz0/7ORWonpbN9Sz8rejOsp5F3YjpX+djITM0MSUhARuPv0sZNHc/3fB7SAI7+sExWiAAAAAElFTkSuQmCC')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  }), `\n  `, mdx(\"picture\", {\n    parentName: \"span\"\n  }, `\n          `, mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/3a27bf371f4fc3785c53018e4773cc23/601b1/AnacondaLinuxPrompt.webp 500w\", \"/static/3a27bf371f4fc3785c53018e4773cc23/65619/AnacondaLinuxPrompt.webp 833w\"],\n    \"sizes\": \"(max-width: 833px) 100vw, 833px\",\n    \"type\": \"image/webp\"\n  }), `\n          `, mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/3a27bf371f4fc3785c53018e4773cc23/0eb09/AnacondaLinuxPrompt.png 500w\", \"/static/3a27bf371f4fc3785c53018e4773cc23/79f65/AnacondaLinuxPrompt.png 833w\"],\n    \"sizes\": \"(max-width: 833px) 100vw, 833px\",\n    \"type\": \"image/png\"\n  }), `\n          `, mdx(\"img\", {\n    parentName: \"picture\",\n    \"className\": \"gatsby-resp-image-image\",\n    \"src\": \"/static/3a27bf371f4fc3785c53018e4773cc23/79f65/AnacondaLinuxPrompt.png\",\n    \"alt\": \"Anaconda Linux Prompt with Environment\",\n    \"title\": \"Anaconda Linux Prompt with Environment\",\n    \"loading\": \"lazy\",\n    \"decoding\": \"async\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    }\n  }), `\n        `), `\n    `)), mdx(\"p\", null, `The “(base)” at the start signals that, right now, the base environment of Anaconda is being used. This is your global environment. Now that we have installed Anaconda, let’s go over the commands you need to know to use it!`), mdx(\"h3\", {\n    \"id\": \"usage---command-line\"\n  }, `Usage - Command Line`), mdx(\"p\", null, `Firstly, I will cover how to use Anaconda with the command line. If you only want to use the GUI-tool Anaconda Navigator, skip to the section `, mdx(SmoothScrollLink, {\n    scrollid: \"usage-anaconda-navigator\",\n    mdxType: \"SmoothScrollLink\"\n  }, `Usage - Anaconda Navigator`)), mdx(\"h4\", {\n    \"id\": \"adding-and-removing-packages\"\n  }, `Adding and Removing Packages`), mdx(\"p\", null, `Once Anaconda is installed, you can activate/deactivate your environment on Windows by running `), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `activate environment_name\ndeactivate\n`)), mdx(\"p\", null, `or`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda activate environment_name\nconda deactivate\n`)), mdx(\"p\", null, `if you are on Mac or Linux. You can add packages with `), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda install package_name\n`)), mdx(\"p\", null, `and you can remove packages with`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda remove package_name\nconda uninstall package_name\n`)), mdx(\"p\", null, `These two commands both do the same thing. You can also use pip if you want to. So let’s say we are in this base environment and we want to install NumPy. We could use one of these two commands:`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `pip install numpy\nconda install numpy\n`)), mdx(\"h3\", {\n    \"id\": \"managing-virtual-environments\"\n  }, `Managing Virtual Environments`), mdx(\"p\", null, `Virtual environments separate the packages you have installed on your machine. Say for example you want to have one Python installation for Tensorflow and one for PyTorch. You could create two virtual environments and then install packages directly into these environments so that they won’t be visible outside of them. If you want to create a new virtual environment in Anaconda, you can just type`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda create --name environment_name list_of_packages \n`)), mdx(\"p\", null, `to create a new environment with the name `, mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, `environment_name`), `.\nSo if we wanted to create a new environment named “myEnv” that contains the packages NumPy, Matplotlib and Pandas, we would write the following command:`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda create --name myEnv numpy matplotlib pandas\n`)), mdx(\"p\", null, `This command can be shortened to`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda create -n myEnv numpy matplotlib pandas\n`)), mdx(\"p\", null, `where `, mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, `-n`), ` is a shorthand for `, mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, `--name`), `.\nNote that you don’t have to specify packages to be installed in your new environment. You could also\njust type in`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda create -n myEnv\n`)), mdx(\"p\", null, `to create an empty environment. You can also specify a specific Python version to be used inside of your environment like this:`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda create -n myEnv python=3.6\n`)), mdx(\"p\", null, `You can do the same thing for specific packages like so:`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda create -n mEnv numpy=1.18.5\n`)), mdx(\"p\", null, `If you want to install a package into a specific environment, you have two options. You can\neither activate the environment and then install the package or you can install the package directly into the environment by specifying the name of your desired environment. For the first variant, type in`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda deactivate\nconda activate myEnv\nconda install numpy\n`)), mdx(\"p\", null, `and for the second variant, type`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda install -n myEnv numpy\n`)), mdx(\"p\", null, `To remove an environment type `), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda remove -n myEnv --all\n`)), mdx(\"p\", null, `You can check whether the removal was successful by running`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda info --envs\n`)), mdx(\"p\", null, `You should not see the environment myEnv listed anymore.`), mdx(\"h4\", {\n    \"id\": \"options-for-creating-new-environments\"\n  }, `Options for creating new environments`), mdx(\"p\", null, `You can also create a new environment based on a text file. If you find\na file named “environment.yml” in f.e. a GitHub-repo, you can create a new environment\nwith all of the dependencies that are listed in that file by running`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda env create -f environment.yml\n`)), mdx(\"p\", null, `If you are interested in creating such an environment.yml file yourself, without\nhaving to type out every single package by hand, run`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda env export > environment.yml\n`)), mdx(\"p\", null, `You can also specify the directory where your environment should be located at.\nSay f.e. you have a project called “myProject”, that has the following folder structure:`), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, `myProject`, mdx(\"ul\", {\n    parentName: \"li\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, `src`, mdx(\"ul\", {\n    parentName: \"li\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, `pages`), mdx(\"li\", {\n    parentName: \"ul\"\n  }, `content`))), mdx(\"li\", {\n    parentName: \"ul\"\n  }, `img`), mdx(\"li\", {\n    parentName: \"ul\"\n  }, `config.txt`), mdx(\"li\", {\n    parentName: \"ul\"\n  }, `(environment.yml)`)))), mdx(\"p\", null, `and you want to save your environment(s) in a separate folder called “environments”.\nYou can do this by first navigating to your project inside your terminal or\nAnaconda Prompt using the `, mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, `cd`), `-command and then running`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda create --prefix ./environments numpy pandas matplotlib\n`)), mdx(\"p\", null, `Of course you can also create an environment from a text specification:`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda create --prefix ./environments -f environment.yml\n`)), mdx(\"p\", null, `This is good when you want your project to also contain all of your development dependencies.\nThen you can activate your environment with`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda activate ./environments\n`)), mdx(\"p\", null, `Using this method, you will no longer be able to give names to the environments. This means that\nyou will have to provide the full path to the environment in order to activate it. For more info, check out the `, mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html\",\n    \"target\": \"_blank\",\n    \"rel\": \"nofollow noopener noreferrer\"\n  }, `docs`), `.`), mdx(\"p\", null, `Please note that if you create an environment with this path-specification rather than a name-specification, then your installation directory will be written to the\nresulting environment.yml-file when you run `, mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, `conda env export`), `. If this is an issue, you can either delete it by hand or\nuse the Unix-utility `, mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, `grep`), ` if you are not on Linux or Mac (`, mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://stackoverflow.com/questions/41274007/anaconda-export-environment-file\",\n    \"target\": \"_blank\",\n    \"rel\": \"nofollow noopener noreferrer\"\n  }, `reference`), `):`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda env export | grep -v \"^prefix: \" > environment.yml\n`)), mdx(\"h4\", {\n    \"id\": \"updating-your-environment\"\n  }, `Updating your environment`), mdx(\"p\", null, `If you want to update a package in your project, you can run one of these commands, depending on whether you are currently in your desired environment or not.`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda update numpy\nconda update -n myEnv numpy\n`)), mdx(\"p\", null, `If you are using an environment.yml file, just update the version listed in the file,\nif you did provide one in the first place, and then run`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda env update --prefix ./environments --file environment.yml  --prune\n`)), mdx(\"p\", null, `The `, mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, `--prune`), `-option makes it so that packages no longer needed will be uninstalled.`), mdx(\"h3\", {\n    \"id\": \"conda-channels\"\n  }, `Conda Channels`), mdx(\"p\", null, `Channels are the place where conda looks for when you want to install a package. Usually, you do not have to modify the channels you are using, since the default channels already contain most of the common packages.\nSometimes though, the documentation of the package you want to install will specify a specific environment for you.\nSo how can you install a package from a new channel?\nFor a one-time installation, you can use the `, mdx(\"em\", {\n    parentName: \"p\"\n  }, `-c`), ` argument. By far the most popular channel is conda-forge, which is community-maintained and contains a lot of packages.\nSo if you wanted to install NumPy using conda-forge, instead of the main\nconda channel, you could simply type`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda install -c conda-forge numpy\n`)), mdx(\"p\", null, `If you want to permanently add a channel to your local list of channels, you can type`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda config --prepend channels new_channel\n`)), mdx(\"p\", null, `to make this channel the new `, mdx(\"em\", {\n    parentName: \"p\"\n  }, `top`), `-priority channel, meaning conda will look in this channel\nbefore every other channel to find packages. You can also add it as the new `, mdx(\"em\", {\n    parentName: \"p\"\n  }, `bottom`), `-priority channel,\nmeaning conda will look at this channel last, by typing`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda config --append channels new_channel\n`)), mdx(\"p\", null, `You can find more information `, mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-channels.html\",\n    \"target\": \"_blank\",\n    \"rel\": \"nofollow noopener noreferrer\"\n  }, `here`), `.`), mdx(\"h3\", {\n    \"id\": \"useful-commands\"\n  }, `Useful Commands`), mdx(\"p\", null, `To display a list of every installed package+version in the currently active environment,\nor in a specific environment, run`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda list\n# or\nconda list -n myenv\n`)), mdx(\"p\", null, `To display all available commands, type`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `conda --help\n`)), mdx(\"p\", null, `To display all currently available environments, type in either of the following two commands:`), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, `# displays all currently available environments\nconda env list\nconda info --envs #same as above\n`)), mdx(\"h3\", {\n    \"id\": \"usage---anaconda-navigator\"\n  }, `Usage - Anaconda Navigator`), mdx(\"p\", null, `If you prefer a GUI, you can also do most of the actions that are possible in the CLI-tool\ninside of Anaconda Navigator as well. Once you open the app, go to the “Environments”-section\non the left-hand side and you will find familiar elements. Specifically,\nyou can separate the interface into two main parts:`), mdx(\"p\", null, mdx(\"span\", {\n    parentName: \"p\",\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"1920px\"\n    }\n  }, `\n      `, mdx(\"span\", {\n    parentName: \"span\",\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"48.199999999999996%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAKCAIAAAA7N+mxAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABgElEQVQoz22O62rbQBBG9f4v0R99i0JpS5JCYye2pJZix7KUyNFtd2Z3tZcZOVYcZFOaFh8+hmHg8E30/f7b1ezq64+bm/ltmv5MkjRO0iRJz3uSpPP75PYuXsbTfRHHs8Xsen798cuHz7NPUYfNVvar1m8E54ItHTSNvysvDVkeLY9V/7qF0R+ONB7D4dUfjvZlrINqfYie6/qxFuSMd3a5KduuRZRVVXVtA1JopSi4lyFQ8H8SKNAQqKgwWj9sikooRAkYZzuB0FsDAIiojfHeEzMRE/8DMZXCRNk2L547rRDOMoDpNYCcfABjDF+CmHeTnBf5SUZUdw+FwEnuulYhKqWm5veEaTCzZy5FPzXnf5tL3RvrewBQk6uste491nnvmTmc5abtikqcZLXMSoloXa+1NtoYY0IIF34mDnR6u7f+qZZGgUJcZI9N22gtAQRKqRB6o5nCwPRf9hzKVkWr9fpXtsue6lVeJdumbFHogG6PbkA3KLdX/lLcvlHhDacBKc0/uDFTAAAAAElFTkSuQmCC')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  }), `\n  `, mdx(\"picture\", {\n    parentName: \"span\"\n  }, `\n          `, mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/9b99640a701ba2b336a519343b991088/601b1/AnacondaNavigator.webp 500w\", \"/static/9b99640a701ba2b336a519343b991088/80c60/AnacondaNavigator.webp 1000w\", \"/static/9b99640a701ba2b336a519343b991088/0b34d/AnacondaNavigator.webp 1920w\"],\n    \"sizes\": \"(max-width: 1920px) 100vw, 1920px\",\n    \"type\": \"image/webp\"\n  }), `\n          `, mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/9b99640a701ba2b336a519343b991088/0eb09/AnacondaNavigator.png 500w\", \"/static/9b99640a701ba2b336a519343b991088/1263b/AnacondaNavigator.png 1000w\", \"/static/9b99640a701ba2b336a519343b991088/ac7a9/AnacondaNavigator.png 1920w\"],\n    \"sizes\": \"(max-width: 1920px) 100vw, 1920px\",\n    \"type\": \"image/png\"\n  }), `\n          `, mdx(\"img\", {\n    parentName: \"picture\",\n    \"className\": \"gatsby-resp-image-image\",\n    \"src\": \"/static/9b99640a701ba2b336a519343b991088/ac7a9/AnacondaNavigator.png\",\n    \"alt\": \"Anaconda Navigator GUI\",\n    \"title\": \"Anaconda Navigator GUI\",\n    \"loading\": \"lazy\",\n    \"decoding\": \"async\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    }\n  }), `\n        `), `\n    `)), mdx(\"p\", null, `On the left, you can manage your environments, whereas on the right you can manage\nyour packages and also your channels, which are hidden away in a separate menu,\nthat you can open by pressing the button on the top. The now visible window should\nlook similar to this:`), mdx(\"p\", null, mdx(\"span\", {\n    parentName: \"p\",\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"885px\"\n    }\n  }, `\n      `, mdx(\"span\", {\n    parentName: \"span\",\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"70.8%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAOCAYAAAAvxDzwAAAACXBIWXMAABYlAAAWJQFJUiTwAAABgElEQVQ4y5VTy07DMBD0t8IVjj3CfyC4gARc4Bc4VI2oWnGrRKogIfWQtjRxHk1jx3kMWqcJpo1KsTRaz+56vLtxWKYUhJCQWYZUSA0hm73QMeJC1jHKV3mOTOVbq8CDAD4PdJwppeB5HsIwRBBwcB4gCkNwzuH7PjxvhSiKEMexzsuyDLSqqmrteDyGZVlYr9dgeZ4jTdMWm81GY5c3PpMTkiSBEEJbuoxJKbFcLuG6LhaLha6CKjsGlEvVTyYT2LYNKo6R6nzuwnEczGazOtHfinr+wQsoRpX1+32MRiOUZVkL0i0UoDnR/lhQPs2euqT2qXVWFIVWNkGDNtGsXW76m7OtoOksq33Rv0DnSGtPUNvqcMVHC7ZA1dn2NvLTqsEbUS3YNcf/otFhROj9NI68yDXvgjkalLrE3ygBduzQadHDt+13+CuO++kVeoNTXAzPcDk8R29wgrevVzBKNIdf2+4PQW+O/qgkTmC5L3ic3uDJucXzxx0eptf4jBx8A+2UOFJfBpaeAAAAAElFTkSuQmCC')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  }), `\n  `, mdx(\"picture\", {\n    parentName: \"span\"\n  }, `\n          `, mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/b62e84ab0cc07059439f79f96413163f/601b1/AnacondaNavigatorChannels.webp 500w\", \"/static/b62e84ab0cc07059439f79f96413163f/4ce34/AnacondaNavigatorChannels.webp 885w\"],\n    \"sizes\": \"(max-width: 885px) 100vw, 885px\",\n    \"type\": \"image/webp\"\n  }), `\n          `, mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/b62e84ab0cc07059439f79f96413163f/0eb09/AnacondaNavigatorChannels.png 500w\", \"/static/b62e84ab0cc07059439f79f96413163f/540ae/AnacondaNavigatorChannels.png 885w\"],\n    \"sizes\": \"(max-width: 885px) 100vw, 885px\",\n    \"type\": \"image/png\"\n  }), `\n          `, mdx(\"img\", {\n    parentName: \"picture\",\n    \"className\": \"gatsby-resp-image-image\",\n    \"src\": \"/static/b62e84ab0cc07059439f79f96413163f/540ae/AnacondaNavigatorChannels.png\",\n    \"alt\": \"Anaconda Navigator Channel Window\",\n    \"title\": \"Anaconda Navigator Channel Window\",\n    \"loading\": \"lazy\",\n    \"decoding\": \"async\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    }\n  }), `\n        `), `\n    `)), mdx(\"p\", null, `Using this interface should be self-explanatory in most use-cases, so I won’t go into\nmore detail here. Please note that Anaconda Navigator was optimized for larger screen\nsizes, so if you are using the program on a laptop, your interface might look a bit cramped.`), mdx(\"p\", null, `Even if you prefer using a GUI, I would still recommend at least trying out the CLI-utility,\nsince it functions in a very similar fashion to pip/venv, whereas Anaconda Navigator is a tool\nexclusive to Anaconda. Nevertheless, it does not hurt to know that both options exist.`), mdx(\"h2\", {\n    \"id\": \"useful-websites\"\n  }, `Useful websites`), mdx(\"p\", null, `There is a conda cheat sheet, which you can find `, mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://docs.conda.io/projects/conda/en/4.6.0/_downloads/52a95608c49671267e40c689e0bc00ca/conda-cheatsheet.pdf\",\n    \"target\": \"_blank\",\n    \"rel\": \"nofollow noopener noreferrer\"\n  }, `here`), `.`), mdx(\"p\", null, `Anaconda also has a “getting-started”-website with a lot of useful information. You can find it\n`, mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://conda.io/projects/conda/en/latest/user-guide/getting-started.html\",\n    \"target\": \"_blank\",\n    \"rel\": \"nofollow noopener noreferrer\"\n  }, `here`), `.`), mdx(\"p\", null, `You can also find the documentations here:`), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"a\", {\n    parentName: \"li\",\n    \"href\": \"https://docs.continuum.io/\",\n    \"target\": \"_blank\",\n    \"rel\": \"nofollow noopener noreferrer\"\n  }, `Anaconda Documentation`)), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"a\", {\n    parentName: \"li\",\n    \"href\": \"https://conda.io/en/latest/index.html\",\n    \"target\": \"_blank\",\n    \"rel\": \"nofollow noopener noreferrer\"\n  }, `Conda Documentation`))), mdx(\"h2\", {\n    \"id\": \"further-reading\"\n  }, `Further Reading`), mdx(\"p\", null, `If you just got started with Data Science and Anaconda, you might also be interested in `, mdx(\"em\", {\n    parentName: \"p\"\n  }, `Jupyter`), `,\na collection of programs that allows you to interactively run code in your browser, display figures directly inline, and also format your document with markdown-text. It looks like this:`), mdx(\"p\", null, mdx(\"span\", {\n    parentName: \"p\",\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"1018px\"\n    }\n  }, `\n      `, mdx(\"span\", {\n    parentName: \"span\",\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"70.8%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAAOABQDASIAAhEBAxEB/8QAFwAAAwEAAAAAAAAAAAAAAAAAAAEDBf/EABQBAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwEAAhADEAAAAdxOZQA//8QAFxABAQEBAAAAAAAAAAAAAAAAAQIQAP/aAAgBAQABBQLHLqhe/8QAFBEBAAAAAAAAAAAAAAAAAAAAEP/aAAgBAwEBPwE//8QAFBEBAAAAAAAAAAAAAAAAAAAAEP/aAAgBAgEBPwE//8QAGBABAAMBAAAAAAAAAAAAAAAAARARIIH/2gAIAQEABj8CwUHY/8QAHBABAAEEAwAAAAAAAAAAAAAAAQAQESExQVFx/9oACAEBAAE/IVls80Oj2FzR7Tef/9oADAMBAAIAAwAAABDQD//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQMBAT8QP//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQIBAT8QP//EABwQAQEBAAEFAAAAAAAAAAAAAAERACEQMUFhgf/aAAgBAQABPxBINeWTUWED6mSJ446FQ8o0EfhhRe83/9k=')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  }), `\n  `, mdx(\"picture\", {\n    parentName: \"span\"\n  }, `\n          `, mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/1cff53372685a5c36e326b45ffd23684/601b1/jupyterpreview.webp 500w\", \"/static/1cff53372685a5c36e326b45ffd23684/80c60/jupyterpreview.webp 1000w\", \"/static/1cff53372685a5c36e326b45ffd23684/43134/jupyterpreview.webp 1018w\"],\n    \"sizes\": \"(max-width: 1018px) 100vw, 1018px\",\n    \"type\": \"image/webp\"\n  }), `\n          `, mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/1cff53372685a5c36e326b45ffd23684/953fe/jupyterpreview.jpg 500w\", \"/static/1cff53372685a5c36e326b45ffd23684/0a251/jupyterpreview.jpg 1000w\", \"/static/1cff53372685a5c36e326b45ffd23684/11f53/jupyterpreview.jpg 1018w\"],\n    \"sizes\": \"(max-width: 1018px) 100vw, 1018px\",\n    \"type\": \"image/jpeg\"\n  }), `\n          `, mdx(\"img\", {\n    parentName: \"picture\",\n    \"className\": \"gatsby-resp-image-image\",\n    \"src\": \"/static/1cff53372685a5c36e326b45ffd23684/11f53/jupyterpreview.jpg\",\n    \"alt\": \"Jupyter Interface\",\n    \"title\": \"Jupyter Interface\",\n    \"loading\": \"lazy\",\n    \"decoding\": \"async\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    }\n  }), `\n        `), `\n    `)), mdx(\"p\", null, `If you are interested in reading more about Jupyter, I highly recommend that you take a look at `, mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"/development_environment/jupyter\"\n  }, `The Only Post you Need to Start Using Jupyter`), `, where I tell you everything you need to know and a bit more about Jupyter and the awesome things you can do with it.`));\n}\n;\nMDXContent.isMDXComponent = true;","excerpt":"In this article, you will learn what Anaconda and conda are, when to use them and how to use them. I will cover the pros and cons of Anaconda, installation on Windows, Mac, and Linux, as well as using conda to install packages and manage virtual environments and manage channels.","tableOfContents":{"items":[{"url":"#outline","title":"Outline"},{"url":"#what-even-is-anaconda","title":"What even is Anaconda?"},{"url":"#anaconda---the-pros","title":"Anaconda - The Pros"},{"url":"#anaconda---the-cons","title":"Anaconda - The Cons"},{"url":"#what-do-i-use","title":"What do I use?"},{"url":"#how-to-use-anaconda","title":"How to use Anaconda","items":[{"url":"#installation","title":"Installation","items":[{"url":"#windows--os-x","title":"Windows / OS X"},{"url":"#linux","title":"Linux"}]},{"url":"#usage---command-line","title":"Usage - Command Line","items":[{"url":"#adding-and-removing-packages","title":"Adding and Removing Packages"}]},{"url":"#managing-virtual-environments","title":"Managing Virtual Environments","items":[{"url":"#options-for-creating-new-environments","title":"Options for creating new environments"},{"url":"#updating-your-environment","title":"Updating your environment"}]},{"url":"#conda-channels","title":"Conda Channels"},{"url":"#useful-commands","title":"Useful Commands"},{"url":"#usage---anaconda-navigator","title":"Usage - Anaconda Navigator"}]},{"url":"#useful-websites","title":"Useful websites"},{"url":"#further-reading","title":"Further Reading"}]},"frontmatter":{"title":"The Only Post you Need to Start Using Anaconda","userDate":"5 February 2021","date":"2021-02-05T18:15:52.584Z","dateModified":"2021-02-05T18:15:52.584Z","changelog":[],"tags":["Development Environment"],"timeToRead":15,"excerpt":"In this article, you will learn what Anaconda and conda are, when to use them and how to use them. I will cover the pros and cons of Anaconda, installation on Windows, Mac, and Linux, as well as using conda to install packages and manage virtual environments and manage channels.","image":{"childImageSharp":{"gatsbyImageData":{"layout":"fullWidth","placeholder":{"fallback":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAALCAIAAADwazoUAAAACXBIWXMAAC4jAAAuIwF4pT92AAACbklEQVQozxXPaU/aAADG8SZLFt2kSEGw9JJRKG2h911oixyKrqBGp05j5jE30SkwBEXHNM7pNpcle7Ovu5A8b3/J8wewNINRoyFk5ufT0+237+1u7/i0Nfhy0/zUPj7rXFwNu73r/uXw7v7h682dapZggiVSAk7yAEaxI5nKkDlhaX1jZX2zVl/7eNI5bJ4trWzV/a3Vtd1CafHN5u7G9t5puy9qxfhMLpkWWVoBongKoxgiw6JpGk1nM4JLSw4jahlTQGyaPuFgg4YJjswprJyneIWRjJzqcJxJpQUgAKHQdAJ+Rc2wvGQ61mzBKupSSZa2NcbVqWXJ/WerjbxoFsz5uuaVOMMS7FlaySdZDQDDWABCg2FsGqOysmiWBJLhMg25vOc//ngadO7K/ap2rivanFld1IplMe/weSNnGoLhjTAYwULRBBRNxBCSoJgkK6hvTW9/btC/PTpo1R7mra5rOb5RqapFV3RtwVFzlkax4ggHITw0hUdgAoqi42AkTiQzsqCf60pfFnq8+VszX1eMclEu5kVPFwp61tAYVc5k5VEzGB3dnpxCYZw08sUAFB+biITwOLcjLN/6hYZDqyxj04qnSa5Ma1xK4HjF0mULIHJMyuIieOL5i1h9ZaPXv7wYXB2dnH7u9nXF+/Pr7/Vw2L7ovG8e3j88VvwlCKcISk5lNZnTAYRPZW01AifHg7Co2DvvDhb8Zb+x2up0BdW2vQonWfuHx7sfmketrrvQoFRTLpRJ3iQoCQhGUTCKgCEsFCPAMBKAkHFweiwQezY29XISeTkJgxF8AkLCaFJyanrFt6o1ilMTjCo63n9Fu5ZcMqvRBgAAAABJRU5ErkJggg=="},"images":{"fallback":{"src":"/static/f5a4fcd99a9e6fb285df56190a604a31/87706/Anaconda_Thumbnail.png","srcSet":"/static/f5a4fcd99a9e6fb285df56190a604a31/0dee1/Anaconda_Thumbnail.png 750w,\n/static/f5a4fcd99a9e6fb285df56190a604a31/8beaa/Anaconda_Thumbnail.png 1080w,\n/static/f5a4fcd99a9e6fb285df56190a604a31/87706/Anaconda_Thumbnail.png 1280w","sizes":"100vw"},"sources":[{"srcSet":"/static/f5a4fcd99a9e6fb285df56190a604a31/a66aa/Anaconda_Thumbnail.webp 750w,\n/static/f5a4fcd99a9e6fb285df56190a604a31/65dd5/Anaconda_Thumbnail.webp 1080w,\n/static/f5a4fcd99a9e6fb285df56190a604a31/71d4d/Anaconda_Thumbnail.webp 1280w","type":"image/webp","sizes":"100vw"}]},"width":1,"height":0.5625}}},"author":[{"id":"Boris Giba","bio":"Hi! I'm Boris and I run this website. You can find more information in the \"About\"-tab.","avatar":{"children":[{"fluid":{"base64":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAAUABQDASIAAhEBAxEB/8QAFwABAQEBAAAAAAAAAAAAAAAAAAQFBv/EABYBAQEBAAAAAAAAAAAAAAAAAAABAv/aAAwDAQACEAMQAAAB25bcya1Bcz84HRg//8QAGxAAAwACAwAAAAAAAAAAAAAAAQIDABESMTP/2gAIAQEAAQUCo3FFo4OEbG1R8u5SXZh4f//EABURAQEAAAAAAAAAAAAAAAAAAAEg/9oACAEDAQE/ASP/xAAUEQEAAAAAAAAAAAAAAAAAAAAg/9oACAECAQE/AR//xAAeEAABBAEFAAAAAAAAAAAAAAABAAIQETESIUFRcf/aAAgBAQAGPwIkZTQ/Sb6ilvxBIzDPF//EABoQAQACAwEAAAAAAAAAAAAAAAERIQAQMUH/2gAIAQEAAT8hQ1PjHRkxa9E644V8JdD3BEk1JiRlbnUf/9oADAMBAAIAAwAAABADAID/xAAWEQEBAQAAAAAAAAAAAAAAAAABESD/2gAIAQMBAT8QAjcf/8QAFhEBAQEAAAAAAAAAAAAAAAAAARAR/9oACAECAQE/EFdIT//EAB4QAQACAQQDAAAAAAAAAAAAAAERIQAQMUFRYYGx/9oACAEBAAE/EClkAFglYJ8Xl1kNwXZjrQ1xCEcPBl8E6A89+sAII7JzjXgEBSYlyYrZm+d/uVsWluf/2Q==","aspectRatio":1,"src":"/static/ba9e631272af1b925d6491b30df3b36f/2f1b1/boris.jpg","srcSet":"/static/ba9e631272af1b925d6491b30df3b36f/b3d27/boris.jpg 40w,\n/static/ba9e631272af1b925d6491b30df3b36f/5a735/boris.jpg 80w,\n/static/ba9e631272af1b925d6491b30df3b36f/6e81a/boris.jpg 120w,\n/static/ba9e631272af1b925d6491b30df3b36f/2f1b1/boris.jpg 800w,\n/static/ba9e631272af1b925d6491b30df3b36f/97bce/boris.jpg 1878w","sizes":"(max-width: 800px) 100vw, 800px"}}]}}],"imgCaption":"Background image by Alfonso Castro","imgSource":"https://unsplash.com/photos/HaGwCk2AD84","uniquePostId":2,"tutorialId":null,"tutorialEntryIdx":null,"dependencies":[],"proficiencyLevel":"Beginner"}},"relatedPosts":{"totalCount":3,"edges":[{"node":{"id":"9a20e942-2783-5955-a0a9-a9a97e937fa2","excerpt":"In this article you will learn what Jupyter and Jupyter Notebooks are, when to use them and how to use them. You will learn about the most common shortcuts, Jupyter Lab, as well as magic commands.","frontmatter":{"title":"The Only Post you Need to Start Using Jupyter","timeToRead":11,"date":"2021-02-20T17:13:56.071Z"},"fields":{"slug":"/development_environment/jupyter/"}}},{"node":{"id":"ff5a26d8-f48b-5d71-aa50-1d6b1dcfb60c","excerpt":"In this article, you will learn what Anaconda and conda are, when to use them and how to use them. I will cover the pros and cons of Anaconda, installation on Windows, Mac, and Linux, as well as using conda to install packages and manage virtual environments and manage channels.","frontmatter":{"title":"The Only Post you Need to Start Using Anaconda","timeToRead":15,"date":"2021-02-05T18:15:52.584Z"},"fields":{"slug":"/development_environment/anaconda/"}}},{"node":{"id":"29c967bc-f331-5748-9e28-3b2f8edc1e59","excerpt":"In this post, we will cover what package managers and virtual environments are, why you should use them and how you can do so. If you have heard of tools such as pip, virtualenv, venv,conda, or maybe even used them before, but you did not fully understand what was going on under the hood, this post is for you.","frontmatter":{"title":"Package Managers and Virtual Environments Explained, Step by Step","timeToRead":10,"date":"2021-01-22T19:44:03.128Z"},"fields":{"slug":"/development_environment/packages_and_environments/"}}}]}},"pageContext":{"slug":"/development_environment/anaconda/","prev":{"excerpt":"In this post, we will cover what package managers and virtual environments are, why you should use them and how you can do so. If you have heard of tools such as pip, virtualenv, venv,conda, or maybe even used them before, but you did not fully understand what was going on under the hood, this post is for you.","frontmatter":{"title":"Package Managers and Virtual Environments Explained, Step by Step","tags":["Development Environment"],"date":"2021-01-22T19:44:03.128Z","dateModified":"2021-01-22T19:44:03.128Z","changelog":[],"draft":false,"excerpt":"In this post, we will cover what package managers and virtual environments are, why you should use them and how you can do so. If you have heard of tools such as pip, virtualenv, venv,conda, or maybe even used them before, but you did not fully understand what was going on under the hood, this post is for you.","uniquePostId":1,"timeToRead":10,"tutorialId":null,"tutorialEntryIdx":null,"dependencies":["Python"],"proficiencyLevel":"Beginner","image":{"childImageSharp":{"gatsbyImageData":{"layout":"fullWidth","placeholder":{"fallback":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAALCAIAAADwazoUAAAACXBIWXMAAC4jAAAuIwF4pT92AAACU0lEQVQozx3LSXPSYACA4Rx1dAqEhNaKEEoxbCHNQvYvCSH7boCwNAVKW1vt1NoZb171fzv19j6HFyLEWNBS2ZjJxhcR+IwSAyOTJ6moxZKesmoi6ImkJ6q54LSM4EPJyAVjAZwNp80ggndf5+lcnKQ983KgzSi7oKc5ay0pIyelgNMSeToDVs6BON6/7L4/zYundPPIKDE0oFSaUUQ9oUCCGIeycYvaD1V9d+Q+V4IXfGzL07li5cBajgXz95+/D493/vw+nB0IgoeaHeqCUYe8t776+vPH83qz26y3N7cPd0+/8uLgRflYy/hJJluL0djASVX3CsleMSAeXMhQCcHQer/ek0kQWcnGChaymWSr/Wr/TbMzQQ9IOeoKQV8Muqw7YO351bPsFG3K6XI+VK61SwhWqZ0h9SE2VGsdaRosDX9R60jnlNmhLVIM+5zXZZ2R4pNTnzC8/sQeABfnXKhSa1dP2sjxGYxijdYQmFG23Nphziouo4ZDwWUVnwceK3qTbK4eAmGvivc6uHUJ0YHg43PkpI3UexUUa7b6RbF1HT/L8sP1jeUvcMakRJeRPR74tORRSuiGazO8VO0VrQRQGcHgar3MpUf87D3pvqGTt3T07sJHJteIvq1ODx/AsstaA97rjBRSdNLlwYwKVvZwQoBqZxSCy5UmWWqM4OaogpFIm4EbRBmjys3X7ot+l7Nw1hrxlmLPgJNLTm54easvQHXaPRci9BQvwZ9gFCtXGzDShNEWjDar/3ly2vn4me1xNqunZnRpZjd6utfjXYsy/wHl5pp0adQ/agAAAABJRU5ErkJggg=="},"images":{"fallback":{"src":"/static/2808baf1ca8b1f9b0a5c234efae604d1/87706/PackagesThumbnail.png","srcSet":"/static/2808baf1ca8b1f9b0a5c234efae604d1/0dee1/PackagesThumbnail.png 750w,\n/static/2808baf1ca8b1f9b0a5c234efae604d1/8beaa/PackagesThumbnail.png 1080w,\n/static/2808baf1ca8b1f9b0a5c234efae604d1/87706/PackagesThumbnail.png 1280w","sizes":"100vw"},"sources":[{"srcSet":"/static/2808baf1ca8b1f9b0a5c234efae604d1/a66aa/PackagesThumbnail.webp 750w,\n/static/2808baf1ca8b1f9b0a5c234efae604d1/65dd5/PackagesThumbnail.webp 1080w,\n/static/2808baf1ca8b1f9b0a5c234efae604d1/71d4d/PackagesThumbnail.webp 1280w","type":"image/webp","sizes":"100vw"}]},"width":1,"height":0.5625}}},"author":[{"id":"Boris Giba","bio":"Hi! I'm Boris and I run this website. You can find more information in the \"About\"-tab.","avatar":{"children":[{"fluid":{"aspectRatio":1,"base64":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAAUABQDASIAAhEBAxEB/8QAFwABAQEBAAAAAAAAAAAAAAAAAAQFBv/EABYBAQEBAAAAAAAAAAAAAAAAAAABAv/aAAwDAQACEAMQAAAB25bcya1Bcz84HRg//8QAGxAAAwACAwAAAAAAAAAAAAAAAQIDABESMTP/2gAIAQEAAQUCo3FFo4OEbG1R8u5SXZh4f//EABURAQEAAAAAAAAAAAAAAAAAAAEg/9oACAEDAQE/ASP/xAAUEQEAAAAAAAAAAAAAAAAAAAAg/9oACAECAQE/AR//xAAeEAABBAEFAAAAAAAAAAAAAAABAAIQETESIUFRcf/aAAgBAQAGPwIkZTQ/Sb6ilvxBIzDPF//EABoQAQACAwEAAAAAAAAAAAAAAAERIQAQMUH/2gAIAQEAAT8hQ1PjHRkxa9E644V8JdD3BEk1JiRlbnUf/9oADAMBAAIAAwAAABADAID/xAAWEQEBAQAAAAAAAAAAAAAAAAABESD/2gAIAQMBAT8QAjcf/8QAFhEBAQEAAAAAAAAAAAAAAAAAARAR/9oACAECAQE/EFdIT//EAB4QAQACAQQDAAAAAAAAAAAAAAERIQAQMUFRYYGx/9oACAEBAAE/EClkAFglYJ8Xl1kNwXZjrQ1xCEcPBl8E6A89+sAII7JzjXgEBSYlyYrZm+d/uVsWluf/2Q==","sizes":"(max-width: 800px) 100vw, 800px","src":"/static/ba9e631272af1b925d6491b30df3b36f/2f1b1/boris.jpg","srcSet":"/static/ba9e631272af1b925d6491b30df3b36f/fd013/boris.jpg 200w,\n/static/ba9e631272af1b925d6491b30df3b36f/25252/boris.jpg 400w,\n/static/ba9e631272af1b925d6491b30df3b36f/2f1b1/boris.jpg 800w,\n/static/ba9e631272af1b925d6491b30df3b36f/0ff54/boris.jpg 1200w,\n/static/ba9e631272af1b925d6491b30df3b36f/06655/boris.jpg 1600w,\n/static/ba9e631272af1b925d6491b30df3b36f/97bce/boris.jpg 1878w"}}]}}]},"fields":{"layout":"post","slug":"/development_environment/packages_and_environments/"}},"next":{"excerpt":"In this article you will learn what Jupyter and Jupyter Notebooks are, when to use them and how to use them. You will learn about the most common shortcuts, Jupyter Lab, as well as magic commands.","frontmatter":{"title":"The Only Post you Need to Start Using Jupyter","tags":["Development Environment"],"date":"2021-02-20T17:13:56.071Z","dateModified":"2021-03-22T10:07:41.913Z","changelog":[["2021-03-22T10:07:41.913Z","Added a paragraph about performance of Jupyter in the section 'Jupyter Integrations'."]],"draft":false,"excerpt":"In this article you will learn what Jupyter and Jupyter Notebooks are, when to use them and how to use them. You will learn about the most common shortcuts, Jupyter Lab, as well as magic commands.","uniquePostId":3,"timeToRead":11,"tutorialId":null,"tutorialEntryIdx":null,"dependencies":["Python"],"proficiencyLevel":"Beginner","image":{"childImageSharp":{"gatsbyImageData":{"layout":"fullWidth","placeholder":{"fallback":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAALCAIAAADwazoUAAAACXBIWXMAAC4jAAAuIwF4pT92AAACU0lEQVQoz1XP20/aYBgGcJZs2SanHoXSltaWQk9fLW1BaAsiFIbKVHQ654kLRI2LioaATowui1nilm3Zkl0u+1M3d3BZ8l4+v+fJ64Oj8t2FRkVgTCp6cQTmEULCYnIQFVKqjZPAjyTCeAohlN9JKCLhlOb7D+Pi/NLWzbsPaxvt8+HVcPj68Kh3cXF19uqyezJo73ZDf/0d/lMGEwrJ6kvLWy/W252dg8HF9f7R6d7hYGG1c3wy2N7eK1ebWNxCCPUWR2WcBL4wLsBRGSEUkjOY1AQvu5zsykZlb6bwfRV8W1G7SzXLeSppBVHJKekpMun8Ww5AVBBmcEpl5Ela9SilTClTklbcrDitxYVn9enNqZxte9nJRT3jAS2nGhUikQtHRJz+hQMQBeEsSmuM5pFaPaZWMaEwKlfe3HzqnV/z5gwv5dMTNcttqOMO0G3RqCGkhlPgFoeQeBjj/AgTwvkIn8WSJUYulsxMudp0ijMN15WBI6huOj+rWZ4IbJCpEYKNkqovANEBlA2gY0GM88PM/ceRIMaPaeX+yvTXueSXRmLd0WnR5WUnAUpSZpoT84LqMmoZ/f0zitF+hPXDLEokrVz5wUiU5oBZmI3RSvVJMw68EAEwWk+AQsqsU8k8LWRjqoexpm9ckKq6TMfYe48ijfnnvf7Z4HTY2T04Pu6Zucr7j5/Pzi/3j/qt9v7125vqQguKWzHeQlMlbCzjywpcxTLwCPfQHwVpZ2Nruz7bbMwtd0/6uuk4xRpI2+3Oy43WzlprN12cg+IZnDVgzv6JfwDLUIiDGLwFgwAAAABJRU5ErkJggg=="},"images":{"fallback":{"src":"/static/93f510c2f49caa940058b5d7c90f1871/87706/Jupyter_Thumbnail.png","srcSet":"/static/93f510c2f49caa940058b5d7c90f1871/0dee1/Jupyter_Thumbnail.png 750w,\n/static/93f510c2f49caa940058b5d7c90f1871/8beaa/Jupyter_Thumbnail.png 1080w,\n/static/93f510c2f49caa940058b5d7c90f1871/87706/Jupyter_Thumbnail.png 1280w","sizes":"100vw"},"sources":[{"srcSet":"/static/93f510c2f49caa940058b5d7c90f1871/a66aa/Jupyter_Thumbnail.webp 750w,\n/static/93f510c2f49caa940058b5d7c90f1871/65dd5/Jupyter_Thumbnail.webp 1080w,\n/static/93f510c2f49caa940058b5d7c90f1871/71d4d/Jupyter_Thumbnail.webp 1280w","type":"image/webp","sizes":"100vw"}]},"width":1,"height":0.5625}}},"author":[{"id":"Boris Giba","bio":"Hi! I'm Boris and I run this website. You can find more information in the \"About\"-tab.","avatar":{"children":[{"fluid":{"aspectRatio":1,"base64":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAAUABQDASIAAhEBAxEB/8QAFwABAQEBAAAAAAAAAAAAAAAAAAQFBv/EABYBAQEBAAAAAAAAAAAAAAAAAAABAv/aAAwDAQACEAMQAAAB25bcya1Bcz84HRg//8QAGxAAAwACAwAAAAAAAAAAAAAAAQIDABESMTP/2gAIAQEAAQUCo3FFo4OEbG1R8u5SXZh4f//EABURAQEAAAAAAAAAAAAAAAAAAAEg/9oACAEDAQE/ASP/xAAUEQEAAAAAAAAAAAAAAAAAAAAg/9oACAECAQE/AR//xAAeEAABBAEFAAAAAAAAAAAAAAABAAIQETESIUFRcf/aAAgBAQAGPwIkZTQ/Sb6ilvxBIzDPF//EABoQAQACAwEAAAAAAAAAAAAAAAERIQAQMUH/2gAIAQEAAT8hQ1PjHRkxa9E644V8JdD3BEk1JiRlbnUf/9oADAMBAAIAAwAAABADAID/xAAWEQEBAQAAAAAAAAAAAAAAAAABESD/2gAIAQMBAT8QAjcf/8QAFhEBAQEAAAAAAAAAAAAAAAAAARAR/9oACAECAQE/EFdIT//EAB4QAQACAQQDAAAAAAAAAAAAAAERIQAQMUFRYYGx/9oACAEBAAE/EClkAFglYJ8Xl1kNwXZjrQ1xCEcPBl8E6A89+sAII7JzjXgEBSYlyYrZm+d/uVsWluf/2Q==","sizes":"(max-width: 800px) 100vw, 800px","src":"/static/ba9e631272af1b925d6491b30df3b36f/2f1b1/boris.jpg","srcSet":"/static/ba9e631272af1b925d6491b30df3b36f/fd013/boris.jpg 200w,\n/static/ba9e631272af1b925d6491b30df3b36f/25252/boris.jpg 400w,\n/static/ba9e631272af1b925d6491b30df3b36f/2f1b1/boris.jpg 800w,\n/static/ba9e631272af1b925d6491b30df3b36f/0ff54/boris.jpg 1200w,\n/static/ba9e631272af1b925d6491b30df3b36f/06655/boris.jpg 1600w,\n/static/ba9e631272af1b925d6491b30df3b36f/97bce/boris.jpg 1878w"}}]}}]},"fields":{"layout":"post","slug":"/development_environment/jupyter/"}},"primaryTag":"Development Environment"}},"staticQueryHashes":["13077718","1316742457","1394499604","2907728042","3762220167"]}