Re: Phoenix and pip
Robin Dunn <[email protected]>
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > I have the same problem, too. Using only the official repository > versions on Ubuntu 14.04.2 LTS. > > Package: python3-pip > Version: 1.5.4-1 > > Package: python3-setuptools > Version: 3.3-1ubuntu1 > > I don't know how to "update" this pip. > On Ubuntu is the difference between pip and pip3. > I am using Python3. Yes, usually. It will depend on how the distro deals with allowing multiple python installations, but typically pip3 will be the pip for whatever the current python3 alternative is set to. If it allows more than one python 3.x to be installed then you may have something like pip3.3 and pip3.4 instead. > > This doesn't work (no file "pip" or "pip3") > python -u pip install -U pip > python3 -u pip install -U pip > python -u pip3 install -U pip3 > python3 -u pip3 install -U pip3 > Actually I mistyped my suggestion in the earlier message. It should have been: python -m pip install -U pip The "-m module" tells python to find the module the same way that ain import statement would find it, but run it as if you did "python /path/to/module.py" That said, it wouldn't be needed in this case anywhere but on Windows because it is the only platform where there will be a pip.exe (instead of a pip script with a #! pointing to Python) and is also the only platform that will not let you overwrite an executable that is currently being run. > So I a little bit scared about confusing my system. So I will still go > on and delete the wx-files manually before upgrading to the current > wxPhoenix. ;) > Yet another reason to use the Python virtualenv tool. You can create a virtual environment with the system installed Python, and then update pip and other packages to the latest versions without fear of confusing your system at all. -- Robin Dunn Software Craftsman http://wxPython.org -- You received this message because you are subscribed to the Google Groups "wxPython-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.