- 
                Notifications
    
You must be signed in to change notification settings  - Fork 8
 
Installation under Windows
These are the latest instructions for the QDSpy installation under Windows 11.
For installation instructions under Linux, see here.
Note: With v0.91 and higher, the latest release of pyglet version 1 (currently v.1.5.29) can be used. Previous releases of QDSpy require pyglet v1.4.10. If you use an older QDSpy release, change line for pyglet installation below accordingly.
This version uses uv, a new and fast Python package and project manager, written in Rust. It assumes that you are using Windows powershell.
- 
Install Python from python.org
 - 
Install
uv:pip install uvIf running
uvresults in an error, try replacinguserwith the username of the account under which you are logged in.powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" $env:Path = "C:\Users\user\.local\bin;$env:Path" - 
Clone the branch of choice to a new location on your drive:
git clone https://github.com/eulerlab/QDSpy.gitor
git clone -b experimental https://github.com/eulerlab/QDSpy.git - 
Start QDSpy:
cd QDSpy uv run QDSpy_GUI_main.pyNote that when using the command for the first time,
uvwill automatically create a virtual environment and install the required packages. 
- 
Install Python from python.org
 - 
Make sure that
pipandvirtualenvare up to datepython.exe -m pip install --upgrade pip pip install virtualenv - 
Clone the branch of choice to a new location on your drive:
git clone https://github.com/eulerlab/QDSpy.gitor
git clone -b experimental https://github.com/eulerlab/QDSpy.git - 
Change into that folder, create a new virtual environment, and activate it. The powershell command is only needed, if activating the environment fails due to safety restrictions.
cd QDSpy python -m venv qdspy powershell -ExecutionPolicy Bypass .\qdspy\Scripts\activate - 
Install packages.
pip install -r requirements.txt - 
Make sure that Windows knows the variable
PYTHONPATHset to your QDSpy folder.
To check, use:$env:PYTHONPATHTo set the folder (e.g., for
c:\qdspy), use:[System.Environment]::SetEnvironmentVariable("PYTHONPATH", $env:PYTHONPATH + ";c:\qdspy", [System.EnvironmentVariableTarget]::User) - 
Create a tailored shortcut to QDSpy. This automatically starts a powershell, changes to the QDSpy folder, and activates the Python virtual environment:
- Create a shortcut on the Windows desktop, open "properties" via right-clicking on the icon
 - Under "target" enter the following line, starting with the path to 
powershell.exeon your system:... or, if the newer PowerShell 7 (C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoExit -ExecutionPolicy Bypass -Command "& { .\qdspy\Scripts\activate }"pwsh.exe) is installed:"C:\Program Files\PowerShell\7\pwsh.exe" -NoExit -ExecutionPolicy Bypass -Command "& { .\qdspy\Scripts\activate }" - Under "Execute in" enter the path to your QDSpy folder (e.g., 
C:\Users\karle\QDSpy) - Optionally, you can change the shortcut's icon to that of QDSpy (in the QDSpy folder).
 - Save changes.
 
 
- Release notes
 - Installation
2.1. ... under Windows
2.2. ... under Linux (experimental) - Features
4.1. Running QDSpy as MQTT client
4.2. Batch mode - Notes
4.1. Aspect ratio of shader patterns
4.2. Using a LightCrafter DLP 230NP