📄
EBIS3003-2021
  • Introduction to the Course
  • Preliminaries
    • donorschoose.org
    • Installing Software
    • Sequel Pro Local Access
    • Import donorschoose.org Data to MySQL Server
    • MySQL Setting for Client Software
  • SQL
    • Class Activity 2 - Creating New Tables (Week 2)
    • Inserting Table
    • Select / Functions
    • Grouping
  • PYTHON
    • Installing Anaconda
    • Running Jupyter Notebook
    • Connecting MySQL via Python
  • Assignments
    • In-class Activity - ER (Week 5)
    • Homework Assignment 1
      • Solutions
    • Homework Assignment 2
    • In-Class Activity - Python (Week 11-12)
    • In-Class Activity - Normalization (Week 14)
Powered by GitBook
On this page

Was this helpful?

  1. PYTHON

Installing Anaconda

PreviousGroupingNextRunning Jupyter Notebook

Last updated 4 years ago

Was this helpful?

Installing Python

Python is one of the most common computer language that is known for its (human-language like) easy grammar and relatively good performance. Python is so versatile that it is used everywhere. In this course, we will only dabble on Python to experience how a business Web application can/should communicate with MySQL. (You will learn full skill set from ANOTHER COURSE)

What you will install is Anaconda. Anaconda is a "distribution" of Python. Don't worry too much about what "distribution" is. Anaconda is just a collection of software, including Python, and some others that help you use Python in a more user-friendly fashion.

Again, Windows users and Mac users have slightly different steps to follow to install Jupyter.

1. Windows

Please be careful about Step 8. You need to choose "add Anaconda to your PATH environment variable" on that step.

2. MacOS (graphical install should be enough)

Once Anaconda is installed, you need to install a package that allows MySQL server and Python can communicate. Windows users, you need to use Anaconda Prompt from now on to use Python/install Python packages. You can run Anaconda Prompt by finding it from Start menu (run it as the Administrator):

Now, open your Anaconda Prompt (Windows) or terminal (MacOS) and install two packages:

pip install --default-timeout=100 protobuf
pip install --default-timeout=100 mysql-connector-python 
pip install --default-timeout=100 seaborn

https://docs.anaconda.com/anaconda/install/windows/
https://docs.anaconda.com/anaconda/install/mac-os/