Skip to content

Latest commit

 

History

History
117 lines (76 loc) · 3.96 KB

Instruction.md

File metadata and controls

117 lines (76 loc) · 3.96 KB

Please follow step 1-7 to set up your python environment and make sure your computer has Internet connection.

Step 1: Install Anaconda

Anaconda is a completely free Python distribution. It includes more than 300 of the most popular Python packages for science, math, engineering, and data analysis. Go to Anaconda Website and download the version that matches your operating system.

If you have python installed in your computer, please remove it before installing Anaconda.

  • For Windows user
    • please download the following graphical installer and install it in the default path.

  • For Mac user
    • please download and install the following graphical installer and install it in the default path.

Step 2: Install Seaborn Plotting Package

  • For Windows user

    • Go to Start menu
    • Find Anaconda Prompt icon under the Anaconda folder
    • Press ENTER
    • Type pip install seaborn in the Anaconda Prompt.
    install seaborn
  • For Mac user

    • type pip install seaborn in the Terminal.

Step 3: Install Gensim Natural Language Processing Package

  • For Windows user

    • Type easy_install -U gensim in the Anaconda Prompt.
  • For Mac user

    • Type pip install -U gensim in the Terminal.

Step 4: Install NLTK Natural Language Processing Package

  • For Windows user

    • Type python -m nltk.downloader all in the Anaconda Prompt.
  • For Mac user

    • Type python in the Terminal. Then you will see the Python environment.
    • Type import nltk
    • Type nltk.download()
    • You will see a GUI which includes 4 tabs.
    • Go to "All Packages" and click download

Step 5: Locate Your iPython Notebook Working Directory on Your Computer

  • For Windows user

    • The iPython Notebook Working Directory will be your user folder on C drive.
    • For example, my user name is zyin3.
    • So my user folder is located in C:\Users\zyin3
  • For Mac user

    • The iPtyhon notebook Working Directory will be your user folder.
    • For example, my user name is zhitaoyin.
    • So my user folder is located in \Users\zhitaoyin

Step 6: Download "Installation Test" iPython Notebook

  • Download the Installation Test iPython Notebook

  • Move it to your iPython Notebook Working Directory

Step 7: Run "Installation Test" iPython Notebook

  • For Windows user

    • Go to Start menu
    • Find jupyter Notebook icon under the Anaconda folder
    • Press ENTER
    • You will see the iPython notebook interface.
    + click "Installation_Test.ipnb". + You will see the content of "Installation_Test.ipnb" as following. + Press the triangle icon to run each cell. + **You are all set if the script doesn't return any warning:)**
  • For Mac user

    • Open the Terminal
    • Type ipython notebook
    • Press ENTER
    • You will see the iPython notebook interface.
    + click "Installation_Test.ipnb". + You will see the content of "Installation_Test.ipnb" as following. + Press the triangle icon to run each cell. + **You are all set if the script doesn't return any warning:)**