[Tutor] missing idlelib and pip

Mats Wichmann mats at wichmann.us
Wed Nov 1 12:08:15 EDT 2017


On 11/01/17 04:39, Alan Gauld via Tutor wrote:
> On 01/11/17 04:30, Paul Simon wrote:
>> The python distribution for the Mageia 6 update does not include idlelib 
>> or pip.  Please tell me where to find them to add.
> 
> IDLE should be in your package manager - along with zillions of
> other Python packages. You should just need to select it and
> install it. The caveat is that I don't use Mageia but that's
> how it works on every other Linux Python I've used.
> 
> On my Mint system I use Synaptic as a package manager and typing
> idle into the search box brings up a long list in the form
> 
> idle-pythonX.Y
> 
> Where X.Y represent every version from 2.3 through to 3.6
> Just select the version corresponding to your installed
> Python.
> 

Mageia is a descendant of Mandrake, which once upon a time (should be
over a decade ago by now) I used as my main system.  If they haven't
changed away, that means you would search using urpmi... but you've
indicated you have asked them for things and not gotten a satisfactory
answer.

You can _always_ just install your own Python environment.  I have used
this to simplify management/installation:

https://github.com/pyenv/pyenv

Once you are running in a Python you have installed and are not messing
up the system version, you should be able to install whatever you want,
however you want, outside of whatever you think the distribution isn't
doing right. Installing from source the way pyenv does means you have  a
full build, not one that's been segmented into sub-packages the way
Linux distributions do.

Note: IDLE would require a properly working tkinter, which requires a
working tk library, which should not actually be a problem, it's not a
tough thing to do, but has managed to trip up many people (for example,
the system-provided tk on MacOS is not functional for this use so a lot
of people have had IDLE problems there).  Don't feel you _have_ to use
IDLE as your interactive programming environment, there are tons of
other choices - the python.org website has a page of links.




More information about the Tutor mailing list