Python: Difference between revisions

From wiki karavi
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 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
Jupyter Notebook
JupyterLab
JupyterLab
  pip install jupyterlab
  pip install jupyterlab
Line 21: Line 26:
Homebrew is a package manager for macOS and Linux. You can use it to install Jupyter by running:
Homebrew is a package manager for macOS and Linux. You can use it to install Jupyter by running:
  brew install jupyterlab
  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