* [gentoo-user] "eselect (c)python --list" corrupted somehow?
@ 2018-02-03 6:25 tuxic
2018-02-03 9:46 ` Floyd Anderson
0 siblings, 1 reply; 2+ messages in thread
From: tuxic @ 2018-02-03 6:25 UTC (permalink / raw
To: Gentoo
Hi,
I want to compile/install FreeCAD. I checked my python/cpython
installation, because FreeCAD wants python 2.7
I got this output
/root>eselect python list --cpython
Available Python interpreters, in order of preference:
[1] python3.5
[2] python3.4 (uninstalled)
[3] python2.7
[4] python3.4 (uninstalled)
[5] python3.6
[6] python3.4 (uninstalled)
Why it is listing python versions, when '--cpython' is set?
Why do I have doubled entries?
Thank you very much in advance for any help!
Cheers!
Meino
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] "eselect (c)python --list" corrupted somehow?
2018-02-03 6:25 [gentoo-user] "eselect (c)python --list" corrupted somehow? tuxic
@ 2018-02-03 9:46 ` Floyd Anderson
0 siblings, 0 replies; 2+ messages in thread
From: Floyd Anderson @ 2018-02-03 9:46 UTC (permalink / raw
To: gentoo-user
On Sat, 03 Feb 2018 07:25:08 +0100
tuxic@posteo.de wrote:
>Hi,
>
>I want to compile/install FreeCAD. I checked my python/cpython
>installation, because FreeCAD wants python 2.7
>
>I got this output
>
>/root>eselect python list --cpython
>Available Python interpreters, in order of preference:
> [1] python3.5
> [2] python3.4 (uninstalled)
> [3] python2.7
> [4] python3.4 (uninstalled)
> [5] python3.6
> [6] python3.4 (uninstalled)
>
Not “corrupted somehow”, it’s a work-in-progress (WIP), see [1].
>Why it is listing python versions, when '--cpython' is set?
Because the filter ‘--py’ for option ‘--cpython’ (action list) probably
doesn’t match the condition:
[[ ${1} == --py* && ${i} != python${1:4}* ]] && continue
in file [a] to skip not requested output.
>Why do I have doubled entries?
Because your version of app-eselect/eselect-python probably doesn’t
provide the function do_cleanup() in [a] to sanitise [b].
References:
- [a] /usr/share/eselect/modules/python.eselect
- [b] /etc/python-exec/python-exec.conf
- [1] <https://bugs.gentoo.org/show_bug.cgi?id=635678>
--
Regards,
floyd
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-02-03 9:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-03 6:25 [gentoo-user] "eselect (c)python --list" corrupted somehow? tuxic
2018-02-03 9:46 ` Floyd Anderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox