Creating a Python environment using `uv` is super simple, and the tooling looks nicer than other Python virtual environments I've seen in the past. The wrapper around venv is nice:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
uv init 30-days-of-scikit-learn
cd .\30-days-of-scikit-learn\
uv add scikit-learn pandas
Then, write your Python code:
from sklearn.linear_model import LinearRegression
model = LinearRegression()
model.fit(X_train, y_train)
predictions = model.predict(X_test)
And run with `uv run python .\main.py`!
🎉