Coder Social home page Coder Social logo

cm122_starter_code's Introduction

Getting Started

It's recommended that you start by downloading the Anaconda Python Distribution (we will use Python 3 syntax for this class) from https://docs.conda.io/projects/conda/en/latest/user-guide/install/; it's available for Windows, Mac, and Linux, and it should come with all the packages you'll need for this class pre-installed.

Windows users may want to consider setting up VirtualBox with Ubuntu Linux. While this is not necessary for this class, scientific computing is significantly complicated by using a Windows machine, and you'll need to use a workaround to get the git tool used for version control.

If you don't already have a Python IDE that you like, you can download the PyCharm IDE from https://www.jetbrains.com/pycharm/download/; it has a lot of features and is much simpler to use than a text editor. You should be able to get free access to the Professional edition with your .edu email; if you don't have one, the Community edition is also sufficient.

If you have PyCharm installed, you'll want to go into Preferences and make sure that the anaconda python is set as the project interpreter for this project. Type "interpreter" into the searchbox and the project interpreter option should show up.

Finally, you'll want to set up git on your machine. If you have a Mac, type "git" at the command line, and you'll download some XCode Developer Tools that will set up git automatically;

If you have a Windows machine, things might be a little trickier. I recommend just downloading git for windows from https://git-scm.com/download/win. This will come with it's own command line tool that will allow you to clone the repository using git clone https://github.com/rosie068/CM122_starter_code.git.

Installing dependencies

We recommend creating a new python environment for this class. The starter code doesn't have that many dependencies and things should come pre installed with your Anaconda distribution, but it's general good practice to keep things in separate environments, especially when you're running somebody else's code. Unix users can do this via command line by running

conda create -n CM122 python=3.7
conda activate CM122

You can then use conda install package_name to install any package you might need. The description of each project will mention if you need to install any packages for that project.

For Windows users and those who are generally adverse to using the command-line, you don't really need to have a separate environment for this project, but if you wish to do it, you can manage virtual environments using PyCharm as well: https://www.jetbrains.com/help/pycharm/creating-virtual-environment.html or you should be able to run the commands above using the Anaconda prompt that came with your Anaconda installation.

cm122_starter_code's People

Contributors

asperlea avatar jrotman avatar nlapier2 avatar rosie068 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.