-
Notifications
You must be signed in to change notification settings - Fork 8
Installation under Windows
Thomas Euler edited this page Mar 7, 2022
·
30 revisions
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 further below. The following instructions assume that you are using a fairly recent Anaconda distribution. The advantage of this installation procedure is that it uses a virtual (conda
) environment and therefore does not touch your current Python installation.
- Clone the branch of choice to a new location on your drive:
or
git clone https://github.com/eulerlab/QDSpy.git
git clone -b experimental https://github.com/eulerlab/QDSpy.git
- Change into that folder and create a new conda environment, defining the Python version that you have installed:
To check if successful, run:
cd qdspy conda create -n qdspy python=3.8
conda env list
- Activating this conda environment under Windows does not always work reliably. Therefore, run the "conda prompt" from your start menu and then go there back into your QDSpy folder.
- In the conda prompt window, activate the conda environment and install there the packages QDSpy needs:
conda activate qdspy pip install -r requirements.txt
To remove the conda environment and start over, run:
conda deactivate
conda env remove -n qdspy
If running Raspberry Pi OS (standard Linux) on a RPi, use pip3
.
hidapi
(e.g. Ubuntu):
sudo apt-get install python-dev libusb-1.0-0-dev libudev-dev
sudo pip install --upgrade setuptools
sudo pip install hidapi
Download the respective wheel file from pypi.org and extract it into .../QDSpy/Devices
.
hidapi
(Raspberry Pi OS):
sudo apt install libhidapi-hidraw0
sudo apt install libhidapi-libusb0
sudo pip3 install hidapi hid
pip3 install --ugrade numpy
- 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