From 5d0b7731384c2a2b2bf410bc90e542300f0a0ad3 Mon Sep 17 00:00:00 2001 From: Christian Kolset Date: Thu, 13 Feb 2025 19:25:10 -0700 Subject: renamed files to contain numbering --- tutorials/intro_to_anaconda.md | 60 ------------------------------------------ 1 file changed, 60 deletions(-) delete mode 100644 tutorials/intro_to_anaconda.md (limited to 'tutorials/intro_to_anaconda.md') diff --git a/tutorials/intro_to_anaconda.md b/tutorials/intro_to_anaconda.md deleted file mode 100644 index f05cb4c..0000000 --- a/tutorials/intro_to_anaconda.md +++ /dev/null @@ -1,60 +0,0 @@ -# Introduction to Anaconda Navigator - -Anaconda Navigator is a program that we will be using in this course to manage Python environments, libraries and launch programs to help us write our python code. - -The Anaconda website nicely describes *Navigator* as: -
-

a graphical user interface (GUI) that enables you to work with packages and environments without needing to type conda commands in a terminal window.Find the packages you want, install them in an environment, run the packages, and update them – all inside Navigator. -

- - -Note to windows 10 users: Some installation instances do not allow users to search the start menu for *Navigator*, instead, you'll have to find the program under the *Anaconda (anaconda3)* folder. Expand the folder and click on *Anaconda Navigator* to launch the program. - -![Anaconda Navigator screen](figures/installingAnaconda_windows_launched.png) - -Once Navigator starts, under *Home*, you'll see tiles of programs that come with anaconda. The tab allows you to launch the programs we will be using in this course. Before jumping straight into the programs we will first need to configure our Python instance. - -The *Environment* page allows us to install a variety of libraries and configure our environments for different project, more on this in the next section. - -## Environments -A Python environment can be thought of as a "container" where you can have all the tools, libraries, and dependencies your Python project needs without interfering with other projects. Think of it as a toolbox dedicated to a specific task. - -Although the base environment comes with many libraries and programs pre-installed, it's recommended to create a dedicated environment for your projects. This protects the base environment from breaking due to complex dependency conflicts. Let us go ahead and create a new environment for us to use Spyder with. - -1. Click on the *Environments* page located on the left hand side. - -![Environment page](https://docs.anaconda.com/_images/nav-env-labeled1.png) - -2. At the bottom of the environments list, click *Create*. - -![Create new environment](https://docs.anaconda.com/_images/nav-env-create1.png) - -3. Select the python checkbox. - -4. Select versions of python. At the time of making this tutorial the latest version of Python is 3.xx.x. We will go ahead and use that one. - -5. Choose an appropriate name for your project. We will be creating an environment for the Spyder IDE so we'll call it "spyder-dev". - -6. Click *Create*. - -For more information see [Anaconda Environments](https://docs.anaconda.com/working-with-conda/environments/) and [Managing environment](https://docs.anaconda.com/navigator/tutorials/manage-environments/). - -## Package Management -Now that we have a clean environment configured, let us install some library we will be using for this class. - -1. Navigate to the environment page and select the environment we just created in the previous section. - -![Select environment to manage](https://docs.anaconda.com/_images/nav-pkg-list1.png) - -2. Use the search bar in the top right corner to search for the following packages: - -| Library | Usage | -| ---------- | ---------------------------------------------------- | -| numpy | Numerical computation | -| scipy | Scientific and techical computing | -| pandas | Data manipulation and analysis | -| matplotlib | Plots and visualizations | -| sympy | Symbolic mathematics | -| cython | Optimizing Python code and interfacing with C++ code | - -3. Once the -- cgit v1.2.3