/
[SAMPLES] Python
Search
Notion
[SAMPLES] Python
Create virtual environment to run your code:
virtualenv --python=/usr/bin/python2.7 .venv virtualenv .venv source .venv/bin/activate
Bash
Fast Install pip within a docker container (this also installs setuptools 2 and wheel if they are not already):
python2:
curl https://bootstrap.pypa.io/2.7/get-pip.py |python -
Bash
python3:
curl https://bootstrap.pypa.io/get-pip.py |python -
Bash