Skip to content

Latest commit

 

History

History
56 lines (41 loc) · 1.73 KB

README.md

File metadata and controls

56 lines (41 loc) · 1.73 KB

ISDM hackathon

This repository contains code for the ISDM hackathon

Setup environment

  1. Install Python: If you don't have Python installed on your machine, download and install it from the official website. This project uses Python 3.x.

  2. Check Python Version: Verify your Python installation by opening a terminal/command prompt and typing:

    python --version

    You should see Python 3.x as the output.

  3. Create a Virtual Environment: Navigate to your project directory and create a new virtual environment at the root

    cd /path/to/your/project
    python -m venv venv
  4. Activate the Virtual Environment: Before you can start installing or using packages in your virtual environment you’ll need to activate it. Activation depends on your operating system:

    • On macOS and Linux:
      source venv/bin/activate
    • On Windows:
      .\venv\Scripts\activate
  5. Install Required Packages: Install the required packages using pip. If you have a requirements.txt file, you can install all packages from it:

    pip install -r requirements.txt

Remember to deactivate the virtual environment when you're done:

deactivate

Start the interactive jupyter notebook

Make sure the python virtual environment is activated and dependencies are installed. From the root directory launch the jupyter server

jupyter notebook

Running scripts

Activate the env and go to the project root and run the script as

python scripts/<file_name>.py