Gerardo Marx Chávez-Campos 1077bbb6ce | 3 years ago | |
---|---|---|
.emacs | 3 years ago | |
Readme.md | 3 years ago | |
SourceCodePro_FontsOnly-1.009.zip | 3 years ago | |
source-fonts.sh | 3 years ago |
#Readme This repository contains the basic configuration to work with emacs for compile LaTeX, Markdown and Docker tested with MacOS, Ubuntu and Windows.
venv
It has been tested that to work with Python's virtual environments (venv) on emacs, the venv must be created and activated on shell y using:
$ python3 -m venv ~/.pyvenv/path/to/new/virtual/environment/
$ source /path/to/new/virtual/environment/activate
after this we have to activate the virtual environment with emacs' command pyvenv-workon
and select the environment to work with.
consider tath a variable in .emacs
must bedefined
(setenv "WORKON_HOME" "~/.pyvenv/")
The commands to create a environmet is
python3 -m venv ~/.pyvenv/path/to/new/vir
tual/environment/
then you need to acticate the environmet to install or update packages by:
source ~/.pyvenv/path/to/new/vir
tual/environment/bin/activate
and the command to install a package is:
pip install package-name