Skip to content

Instantly share code, notes, and snippets.

@igarag
Last active March 4, 2020 10:50
Show Gist options
  • Save igarag/f12721f07203a53d603559a63d1c18ba to your computer and use it in GitHub Desktop.
Save igarag/f12721f07203a53d603559a63d1c18ba to your computer and use it in GitHub Desktop.
Pequeños atajos y comandos en Python

Python commands

Virtual env SIN paquetes instalados

virtualenv --no-site-packages my-venv

Virtual env con Python3 sin paquetes heredados.

virtualenv -p python3 --no-site-packages my-env

Jupyter Notebook in virtual environment:

Original Link .

ipython kernel install --user --name=myenv
# Returns: Installed kernelspec myenv in /home/user/.local/share/jupyter/kernels/myenv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment