8/12/2019 Ubuntu Install Pip
Internet Download Manager lets you manage and download multiple files from a single Web page. If you used the program in Windows and have switched to Ubuntu, you have probably noticed that IDM does not have a Linux version available. However, you can install an old version of IDM in Ubuntu and use it. You cannot get. More than 1 year has passed since last update. 記念すべきQiita初投稿はやっぱり自分用メモ。 DockerとかAnsibleとか触ってみたいなあと思い とりあえず仮想環境の構築に挑戦したときに通った道。 vagrantの準備 VirtualBoxは自分の環境に.
![]()
EDIT 18/02:Since I still don't have a solution, I'm updating with what I know so far.
I've installed python 3.7 successfully. I can install modules using pip (or pip3) but those modules are installed in Python 3.6 (Comes with ubuntu). Therefore I can't import those modules in python 3.7 (get a module not found)Python 3.7 doesn't recognize pip/pip3, so I can't install through pip/pip3I need python 3.7
--
I've installed Python 3.7 on my Ubuntu 18.04 machine. Following this instructions in case it's relevant:
Download : Python 3.7 from Python Website [1] ,on Desktop and manually unzip it, on Desktop Installation : Open Terminal (ctrl +shift+T)
Making Python 3.7 default Python :
From here: https://www.quora.com/How-can-I-upgrade-Python-3-6-to-3-7-in-Ubuntu-18-04
I've downloaded several modules through
pip install module but when I try to import them, I get a ModuleNotFoundError: No module names 'xx'
So I did some research and apparently when used pip to install, it installed in the modules in previous version of Python. Somewhere (probably a question in SO) I found a suggestion to install the module using
python3.7 -m pip install module but then I get /usr/local/bin/python3.7: no module named pip .
Now I'm stuck, pip is installed, but apparently not for Python 3.7. I'm assuming that if I can install pip for Python 3.7, I can run the pip install command and get the modules I need.If that is the case, how can I install pip for python 3.7, since it's already installed?
ZeCarioca
ZeCariocaZeCarioca
4 Answers
The command you're looking for is:
Took me a surprisingly long time to figure it out, too. The docs about it are here.
mpenkovmpenkov
To install all currently supported python versions (python 3.6 is already pre-installed) including pip for Ubuntu 18.04 do the following:
To install python3.5 and python3.7, use the deadsnakes ppa:
Install python2.7 via distribution packages:
To install pip use:
I used it for setting up a CI-chain for a python project with tox and Jenkins.
S. BrunnerS. Brunner
A quick add-on to mpenkov's answer above (didn't want this to get lost in the comments)
For me, I had to install pip for 3.6 first
and then I could install pip for 3.7
and as a bonus, to install other modules just preface with
dangeldangel
pip3 not pip . You can create an alias like you did with python3 if you like.
Patrick ConwellPatrick Conwell
Not the answer you're looking for? Browse other questions tagged pythonubuntupip or ask your own question.
I want to install pip. It should support Python 3, but it requires setuptools, which is available only for Python 2.
How can I install pip with Python 3?
deamondeamon
21 Answers
edit: Manual installation and use of
setuptools is not the standard process anymore.
If you're running Python 2.7.9+ or Python 3.4+
Congrats, you should already have
pip installed. If you do not, read onward.
If you're running a Unix-like System
You can usually install the package for
pip through your package manager if your version of Python is older than 2.7.9 or 3.4, or if your system did not include it for whatever reason.
Instructions for some of the more common distros follow.
Installing on Debian (Wheezy and newer) and Ubuntu (Trusty Tahr and newer) for Python 2.x
Run the following command from a terminal:
Installing on Debian (Wheezy and newer) and Ubuntu (Trusty Tahr and newer) for Python 3.x
Run the following command from a terminal:
Note:
On a fresh Debian/Ubuntu install, the package may not be found until you do:
Installing
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |