-
Notifications
You must be signed in to change notification settings - Fork 32
Local installation instructions
Eric Wieser edited this page May 11, 2023
·
1 revision
-
If using the DPO computers:
- It is strongly advisible to boot into Linux, as
gitwill already be installed there. - You should use the "Anaconda terminal" not the usual terminal, as this will have a more recent version of Python.
- If you are using Windows in the DPO:
- You might have file path issues unless you work on the
U:orZ:drives. To usecdin a command prompt to change drives, first typeU:and thencd U:/path/to/sf2. - You might find you are unable to install things with
pip, and that your plots don't show up correctly, due to an old version of Anaconda being used that you will not be able to update.
- You might have file path issues unless you work on the
- It is strongly advisible to boot into Linux, as
- Have a recent version of python + Jupyter installed.
Check that
python --versionemits what you expect it to. -
git clonethis repository (recommended). If you do not have git installed, you can download and extract the zip from the top of the github page; but this will make it harder for you to get updated versions. - Open a command prompt in the folder you downloaded the code to, and run
python -m pip install -e . --user --upgrade. This will install various dependencies, and acued_sf2_labpython package containing a collection of helper functions.- If this fails, make sure to speak to a demonstrator rather than just continuing anyway; it likely means there is a bigger problem with your python system
- Open the notebooks (
ipynbfiles) in the root of this repository.- Do not "upload" the notebooks into Jupyter, this will just make a copy and leave you with two different copies on your system!