Brainstorm's snippets (1/258)

  Building Python 3 on embedded Linux

curl -O https://www.python.org/ftp/python/3.8.4/Python-3.8.4rc1.tgz
tar xzvf Python-3.8.4rc1.tgz
./configure
make
make install

References:

Install virtualenvwrapper (optional)

pip3 install virtualenvwrapper

Add this to ~/.profile:

alias ll='/bin/ls -lh'

export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python3
export WORKON_HOME=~/.virtualenvs
#mkdir -p $WORKON_HOME
source /usr/local/bin/virtualenvwrapper.sh

To create a new virtualenv:

mkvirtualenv webapp --seeder=pip