Most of what we will work with will be provided in this GitHub repository, but there are a few things you can get set up so we don't have to spend time on it during the workshop.
Please have the following tools installed on your computer:
- Git
- Miniforge Note: please remember the location where miniforge is installed, e.g.
C:\Users\myusername\miniforge3
or/home/myusername/miniforge3
. - VScode
Now that you have the tools installed, you can try setting up an environment that we will work with. Give it a go, if you get stuck, no problems, we can finish setting up at the start of the workshop. Please follow the appropriate instructions for your computer and operating system.
- Open a terminal with
⊞ + R
(Windows key + R) and typecmd.exe
and press enter - You should see a window like the following:
- Now we can make miniforge/conda commands available by running the command
C:\Users\myusername\miniforge3\condabin\mamba.bat init --all
remember to replace "myusername" with your username, the path should match the miniforge install location. You will see a list of different shells which miniforge will try to set up, you will probably only see a couple that saymodified
, this is normal - Close the terminal
- Open a terminal again (the same way as step 1)
- Paste the following command in the terminal
mamba create -y -c conda-forge -c cogsci -npyworkshop python=3.10 psychopy pygame ipykernel matplotlib scipy scikit-learn numpy seaborn pandas
and press enter. - You'll see an install progress and then text that looks something like:
Congrats, it's all ready to go!
- Open a terminal with
CMD + space
and search for "Terminal", or open a terminal from Applications - You should see a terminal window open
- Now we can make miniforge/conda commands available by running the command
/home/myusername/miniforge3/condabin/mamba init --all
remember to replace "myusername" with your username, the path should match the miniforge install location. You will see a list of different shells which miniforge will try to set up, you will probably only see a couple that saymodified
, this is normal - Close the terminal
- Open a terminal again (the same way as step 1)
- Paste the following command in the terminal
mamba create -y -c conda-forge -c cogsci -npyworkshop python=3.10 psychopy pygame ipykernel matplotlib scipy scikit-learn numpy seaborn pandas
and press enter. - You'll see an install progress and then text that looks something like:
Congrats, it's all ready to go!
We will work through some examples and exercises, it's informal and you can ask questions at any time.
All of the resources we need are in this repository and we will go through them together on the day, starting with 01_setup.
You can find a handy list of resources here.