arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Development Environment

This guide will help you set up your development environment by installing required tools: Python programming language, GitHub for version control, and PyCharm IDE.

hashtag
Python

  • Install Pythonarrow-up-right version 3.14.x or higher. Earlier versions may not be compatible with this course.

  • Take some time to familiarize yourself with Python's .

hashtag
GitHub

  1. Create a account (if you do not already have one). As a student, you can get features for free through the .

  2. Login to GitHub.

  3. Create a new repository named "nlp-essentials" and set its visibility to Private.

hashtag
PyCharm

  1. Install on your local machine:

    1. As a student, you can get for free by applying for a .

    2. The following instructions are based on PyCharm 2024.3.x Professional Edition.

  1. Create a new PyCharm project from GitHub:

    1. On the PyCharm welcome screen, click [Clone Repository].

    2. In the new window, select [GitHub] from the left menu, choose your nlp-essentials

hashtag
References

  • : a version control system for tracking changes in files.

  • : a tool to create isolated Python environment.

Go to [Settings] in your repository, and select [Collaborators and teams].

  • Click [Add people], and add each instructor using their GitHub usernames:

    1. Find their GitHub IDs in the "Instructors" section of the Syllabus.

    2. Enter each username and send the collaboration invitation.

  • Verify that all instructors have been added as collaborators.

  • Configure your GitHub account:

    1. Go to [Settings] > [Version Control] > [GitHub].

    2. Press [+], select [Log in via GitHub], and follow the browser prompts to authorize PyCharm with your GitHub account.

    3. Once connected, you will be able to access GitHub directly from PyCharm for version control operations.

    repository, and click
    [Clone]
    (verify the directory name is "nlp-essentials").
  • Set Up a Python virtual environment:

    1. Go to [Settings] > [Project: nlp-essentials] > [Project Interpreter].

    2. Click [Add Interpreter] and choose [Add Local Interpreter].

  • In the prompted menu, choose [Add Local Environment], configure as follows, then click [OK]:

    • Environment: Generate new

    • Type: Virtualenv

    • Base python: the Python version you installed above

    • Location: YOUR_LOCAL_PATH/nlp-essentials/.venv

  • new featuresarrow-up-right
    GitHubarrow-up-right
    GitHub Proarrow-up-right
    GitHub Student Developer Packarrow-up-right
    PyCharmarrow-up-right
    PyCharm Professionalarrow-up-right
    JetBrains Educational Licensearrow-up-right
    Gitarrow-up-right
    Virtualenvarrow-up-right
    Create a GitHub repository.
    Add collaborators to your GitHub repository.
    Add your GitHub account to PyCharm.
    Add a virtual environment.