Reputation: 129
I need use Python 3.6 in my project, I change my path ./bashrc
with:
alias python=python3
on the first line.
My problem is, I need use Pip
and Pipenv
, and when I try install these packages, they are installed for python 2.7
, and When I run these commands, they run with python2.7
.
I need change my Python path to 3.6 and Pip
and Pipenv
use with Python 3.6.
What do I do?
Upvotes: 0
Views: 1974
Reputation: 2325
Install the Python 3 version of Pip for Ubuntu: $ apt install python3-pip
and invoke it with $ pip3
Upvotes: 1