Skip to content

Add requirements.txt file #2

Description

@aklin2

Issue Overview

Downloading the requirements (pandas, numpy, etc.) is a hassle and a bit unclear.
It would be easier if all the library requirements were in a single file, i.e. a requirements.txt file.
So that you can run this command:
pip install -r requirements.txt

Possible Solution

I attached requirements.txt that you can use.
The contents are:

pandas
matplotlib
seaborn
scikit-learn
numpy
xgboost
notebook

I recommend doing these steps:

  1. Navigate to your copy of the repo.
  2. Download the requirements.txt file and place it in your copy of the repo or create your own doing this:
echo "pandas
matplotlib
seaborn
scikit-learn
numpy
xgboost
notebook" > requirements.txt
  1. Create a python virtual environment
    python3 -m venv ve
  2. Activate the python virtual environment
    source ./ve/bin/activate
  3. pip install requirements.txt
    pip install -r requirements.txt
  4. Test by running any notebook
  5. Done! 😄

You will also need to update the README.md to include these instructions, otherwise, I could do it if given permissions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions