LMSouq
server-admin Open

How to install python3 version of package via pip on Ubuntu?

KE
kev
1 month ago
3 views
Problem Description
I have both `python2.7` and `python3.2` installed in `Ubuntu 12.04`. The symbolic link `python` links to `python2.7`. When I type: sudo pip install package-name It will default install `python2` version of `package-name`. Some package supports both `python2` and `python3`. How to install `python3` version of `package-name` via `pip`?

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base