-
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 more details, see manual.
For installation instructions 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.
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.
-
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.git
or
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.29 pip install moviepy pip install PyQt6 conda install numpy conda install pywin32 conda install psutil conda install pyserial conda install hidapi conda instal pygame
If you don't care about the
conda
environment, you can also use the much quicker:pip install -r requirements.txt
-
Make sure that Windows knows the variable
PYTHONPATH
set to your QDSpy folder.
To check, use:$env:PYTHONPATH
To set the folder (e.g., for
c:\qdspy
), use:[System.Environment]::SetEnvironmentVariable("PYTHONPATH", $env:PYTHONPATH + ";c:\qdspy", [System.EnvironmentVariableTarget]::User)
- In case installing a package with
conda
does not work, trypip
instead (see note above).
- Release notes
- Installation
2.1. ... under Windows
2.2. ... under Linux (experimental) - Using a LightCrafter DLP 230NP
- Notes
4.1. Aspect ratio of shader patterns