Going forward all new tutorial projects will follow the pattern of subreddit_analysis/ with a readme and specific install steps.
For older projects feel free to create an issue if you need help installing and I will fix it sooner. In general I would recommend using Miniconda Latest 64 bit for your operating system.
Windows:
- Download Minconda -- Select Latest Windows 64 bit
- Install and select the option to add Minconda to your system path (it isn't default)
- Install Windows Terminal
- [Optional but recommended] Install git-bash
- Open windows terminal and select a shell of your choice, on Windows I use Command Prompt or Git Bash
- Test that conda was installed
conda info
should give something like
active environment : None
user config file : C:\Users\minim\.condarc
populated config files :
conda version : 4.10.1
conda-build version : not installed
python version : 3.9.1.final.0
virtual packages : __cuda=11.3=0
__win=0=0
__archspec=1=x86_64
base environment : C:\Users\minim\miniconda3 (writable)
conda av data dir : C:\Users\minim\miniconda3\etc\conda
conda av metadata url : https://repo.anaconda.com/pkgs/main
channel URLs : https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
package cache : C:\Users\minim\miniconda3\pkgs
C:\Users\minim\.conda\pkgs
C:\Users\minim\AppData\Local\conda\conda\pkgs
envs directories : C:\Users\minim\miniconda3\envs
C:\Users\minim\.conda\envs
C:\Users\minim\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/4.10.1 requests/2.25.0 CPython/3.9.1 Windows/10 Windows/10.0.19041
administrator : False
netrc file : None
offline mode : False
- Now choose where you want to run the projects. Use
cd
commands and you can download the repository by doinggit clone https://github.com/rogerfitz/tutorials
- Nearly done now,
cd
into the directory and test that a tutorial works. I'd recommend starting with subreddit_analysis/README.md
- Download Minconda -- Select Latest Mac 64 bit
- Install and select the option to add Minconda to your system path (it isn't default)
- Open the Mac Terminal and test that conda was installed
conda info
should give something like
active environment : None
user config file : C:\Users\minim\.condarc
populated config files :
conda version : 4.10.1
conda-build version : not installed
python version : 3.9.1.final.0
virtual packages : __cuda=11.3=0
__win=0=0
__archspec=1=x86_64
base environment : C:\Users\minim\miniconda3 (writable)
conda av data dir : C:\Users\minim\miniconda3\etc\conda
conda av metadata url : https://repo.anaconda.com/pkgs/main
channel URLs : https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
package cache : C:\Users\minim\miniconda3\pkgs
C:\Users\minim\.conda\pkgs
C:\Users\minim\AppData\Local\conda\conda\pkgs
envs directories : C:\Users\minim\miniconda3\envs
C:\Users\minim\.conda\envs
C:\Users\minim\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/4.10.1 requests/2.25.0 CPython/3.9.1 Windows/10 Windows/10.0.19041
administrator : False
netrc file : None
offline mode : False
- Install github command line if you don't have it already, in Mac terminal
brew install git
- Now choose where you want to run the projects. Use
cd
commands and you can download the repository by doinggit clone https://github.com/rogerfitz/tutorials
- Nearly done now,
cd
into the directory and test that a tutorial works. New to python? I'd recommend starting with intro_to_jupyter otherwise go with subreddit_analysis