-
Notifications
You must be signed in to change notification settings - Fork 8
Installation under Windows
For detailed instructions, see manual.
For a newer (quicker) installation procedure, see below.
This is for Windows only; for instructions how to experimentally (!) install QDSpy under Linux, see here.
Note: I tested different virtual environments for Python to keep the QDSpy installation isolated from the system but none of these were really convincing. The following procedure works but still requires pip for some packages in a conda environment.
-
Install Anaconda (currently with Python v3.11)
-
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 conda environment, and activate it:
cd qdspy conda config --add channels conda-forge conda create --name qdspy conda activate qdspy -
Install packages.
conda install pip pip install pyglet==1.5.5 pip install moviepy pip install PyQt6 conda install qt.py conda install numpy conda install pywin32 conda install psutil conda install pyserial conda install hidapiIf you don't care about the
condaenvironment, you can also use the much quicker: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)
- In case
PyQt5does not load (e.g.,ImportError: DLL load failed while importing QtWidgets [...]), try reinstallingPyQt5from within the conda environment with pip3:pip3 install PyQt5 --user --ignore-installed
- 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