Statistical Methods in Python for KOS6313
- Install Python (
python.org
)- Mac computers do have python installed. Do not try to install a new version of python.
- Anaconda environment will not be used.
- Install
Visual Studio Code
- Install
Python Extension
invscode
- Hello World
- Install
- Virtual Environment
python -m venv .venv .venv/Scripts/activate python -m pip install --upgrade pip
- Python-Stan Interface (this takes time)
pip install cmdstanpy python -m cmdstanpy.install_cmdstan
- Install
pandas
,matplotlib
,seaborn
pip install pandas matplotlib seaborn
- create a Jupyter notebook in vscode (
myNotebook.ipynb
)- choose proper kernel:
.venv/python
hello world
will install necessary things
- choose proper kernel: