Python
- There's issues with installing things that require
sixon El Capitan: https://github.com/pypa/pip/issues/3165 Adding--ignore-installed sixto the pip command gets around this.
Setting up isolated environments on Ubuntu
python3 -m pip install --user pipxpython3 -m pipx ensurepathpipx install virtualenv- In the directory in which you want the environment:
virtualenv venv chmod u+x venv/bin/activate./venv/bin/activate
To install using that environment's pip:
venv/bin/pip install <package>
Running pip globally in Python 3
Example:
python3 -m pip install git+https://github.com/kmaasrud/oboe
#python #environment #pip