Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides setting up reproducible Python research environments with venv, conda, uv, dependency pinning, and Jupyter notebooks.
65% 81%+15 ptsof test cases passed
Passed 21 of 26 test cases with the skill, and 17 of 26 without it.
3 of 3 safety checks passed
Not used yet
Set up reproducible Python environments for research computing, using virtual environments, dependency management, Jupyter notebooks, and literate programming practices.
# Option 1: venv (built-in, lightweight)
python -m venv .venv
source .venv/bin/activate # macOS/Linux
# .venv\Scripts\activate # Windows
pip install -r requirements.txt
# Option 2: conda (includes non-Python dependencies)
conda create -n myproject python=3.11
conda activate myproject
conda install numpy pandas scipy matplotlib
conda env export > environment.yml
# Option 3: uv (fast, modern Python package manager)
uv venv
source .venv/bin/activate
uv pip install -r requirements.txt
# requirements.txt with exact versions (pip freeze)
pip freeze > requirements.txt
# Better: use pip-tools for compiled dependencies
pip install pip-tools
# Create requirements.in (human-readable, loose constraints)
cat > requirements.in << 'EOF'
numpy>=1.24
pandas>=2.0
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.