I have python 2.7 & 3.5 on my system. When I use sudo, easy_install, or pip to install a package it installs to 2.7.
How do I tell pip, sudo, easy_install to install the package to 3.5?
Example: This installs pytest to 2.5
pip install -U pytest
What would be the equivalent to install to 3.5?
pipfor python2 andpip3for python3