Tested with python 3.12
- Clone this repo
- Install python interpreter
- Create python virtual environment
- Download the traces dataset
Traces dataset is in a single file (TRS extension) you can download from here
Use the cmd instead of powershell if you cannot install anything due to access issues.
Check python version: Open a terminal, type: python --version
. You should see the info regarding python interpreter
To create a virtual environment in python open a terminal and navigate to the directory where you will create your virtual env:
cd C:\Users\your_user\
mkdir upv_env
cd upv_env
python -m venv upv_dpa_ex
Install the required python packages, but before, make sure you are in the virtual environtment you just created. In the same terminal you can type:
cd C:\Users\your_user
upv_dpa_ex\Scripts\activate # IMPORTANT: activate the virtual environtment first
Use the requirements.txt provided with this repo to install all the packages (virtually) automatically. Use the file to execute:
pip install -r requirements.txt
After installing the requirements, JupyterLab should be ready to be used. But first, we have to be in the folder that contains the files of this repo, meaning the location where you clone this repo. Open a terminal and navigate to the location where you clone this repository:
cd C:\Users\your_user\..\UPV_DPA_Example # Find the location of the repo folder
jupyter lab # An browser should be open after this command
If jupyter lab
does not work for you, then try: jupyter-lab