Skip to content

Yonsei-HEP-COSMO/PhysicsLab_Guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

PhysicsLab Guide Documentation

Python

  1. Install uv (only once)

    curl -LsSf https://astral.sh/uv/install.sh | sh
  2. Source .bashrc (only once)

    source ~/.bashrc
  3. Install specific version of python (once per version)

    # System python version is 3.12 (2024.09.13)
    uv python install 3.12
  4. Go to your project directory

  5. Create virtual environment with your desired python version

    uv venv --python=3.12 
  6. Install dependencies

    uv pip install numpy matplotlib scipy notebook # any packages you need
  7. Activate virtual environment (every time you want to use it)

    source .venv/bin/activate
  8. Enjoy!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published