Python: Difference between revisions

From wiki karavi
Jump to navigation Jump to search
(Created page with " env python -m venv ./venv Active venv\Scripts\activate")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
update
pip install --upgrade pip


env
env
   python -m venv ./venv
   python -m venv ./venv


Active
Active windows
  venv\Scripts\activate
  venv\Scripts\activate
Active ubuntu
source venv/bin/activate
install requirements
pip install --upgrade -r requirements.txt
JupyterLab
pip install jupyterlab
jupyter lab
Jupyter Notebook
pip install notebook
jupyter notebook
Homebrew
Homebrew is a package manager for macOS and Linux. You can use it to install Jupyter by running:
brew install jupyterlab
upgrade python
choco upgrade python -y

Latest revision as of 17:52, 5 April 2026


update

pip install --upgrade pip

env

 python -m venv ./venv

Active windows

venv\Scripts\activate

Active ubuntu

source venv/bin/activate

install requirements

pip install --upgrade -r requirements.txt

JupyterLab

pip install jupyterlab
jupyter lab

Jupyter Notebook

pip install notebook
jupyter notebook

Homebrew Homebrew is a package manager for macOS and Linux. You can use it to install Jupyter by running:

brew install jupyterlab



upgrade python

choco upgrade python -y