Skip to content

Latest commit

 

History

History
63 lines (39 loc) · 1.37 KB

readme.org

File metadata and controls

63 lines (39 loc) · 1.37 KB

Qml Tutorial Readme

This is the repository for my QML tutorial. There’s a couple of piece to take care of before we begin.

Establish a working environment

For this tutorial, you will need both Python 3 and Git

Download the repo

From the command prompt, in the convenient directory, run

git clone https://github.com/rprospero/qml-slides.git
cd qml-slides
git checkout tutorial

This will bring you onto the tutorial branch of the repo, which has all the code that we will be discussing.

Setup a python virtual environment

We’ll need certain python dependencies. To not wreck your main python, we’ll establish a virtual environment.

python -m venv .venv

We then need to active the environment, which can depend on your shell

Windows PowerShell

.venv\Scripts\Activate.ps1

Windows Dos Prompt

.venv\Scripts\activate.bat

Mac or Linux (not fish)

source .venv/bin/activate

Install dependencies

Now that we’re in a custom python environment, we’ll need to install our dependencies

pip install -r requirements.txt

Access the Slides

Once you have a working environment, access the slides to learn.