On Sat, 13 Mar 2021 at 18:23, Steven Lembark wrote:
> > grep python_targets /etc/portage/package.use/*
>
> That was it: I never new that the python targets got stuck
> in the zz_autoconfigure file.
>
> Sanity check: Do I actually need to set the python target or
> python single target for the sys
On Sun, 7 Mar 2021 18:52:50 -0500, Steven Lembark wrote:
> > > Q: Is there no way to have a consistent version of Python on
> > >the system?
> >
> > Yes, make sure PYTHON_TARGETS and your chosen version of python
> > match.
>
> Q: How do I know which verson of python is suitable?
>
>
On Mon, 8 Mar 2021 at 00:32, Steven Lembark wrote:
> * emerge: there are no ebuilds to satisfy
> ">=dev-python/chardet-3.0.2[python_targets_python3_6(-),python_targets_python3_7(-),python_targets_python3_8(-),-python_single_target_pypy3(-),-python_single_target_python3_6(-),-python_single_targe
> > Q: Is there no way to have a consistent version of Python on
> >the system?
>
> Yes, make sure PYTHON_TARGETS and your chosen version of python match.
Q: How do I know which verson of python is suitable?
I never deal with the language... last I saw was some news that
turn off the t
On Sun, 7 Mar 2021 23:47:26 +, Neil Bothwick wrote:
> > So, I go back and eselect 3.8.
> > I then try to perform some basic maintainence which fails for
> > lack of a python module I think is installed for python 3.8.
>
> If your system has been built entirely with PYTHON_TARGETS="python3_8
On Sun, 7 Mar 2021 18:32:26 -0500, Steven Lembark wrote:
> > 1) use eselect to set your default python to 3.8
> > 2) Add python_39 to PYTHON_TARGETS
> > 3) Explicitly call python38 in the shebang line of the affected
> > script.
>
> So, I go back and eselect 3.8.
> I then try to perform some b
On Sun, 07 Mar 2021 19:30:21 +
Michael wrote:
> eselect python cleanup
> emerge --depclean -v -p
> emerge @preserved-rebuild -v -a
cleanup doesn't seem to change anything.
depcleand doesn't remove anything.
@preserved-rebuild failes due to lack of an already-installed
python library.
--
S
On Sun, 7 Mar 2021 22:04:39 +
Neil Bothwick wrote:
> But you have chosen a different default version of Python. That leaves
> you two choices:
>
> 1) use eselect to set your default python to 3.8
> 2) Add python_39 to PYTHON_TARGETS
> 3) Explicitly call python38 in the shebang line of the af
On Sun, 7 Mar 2021 11:00:16 -0500, Steven Lembark wrote:
> I believe there isn't any PYTHON_TARGET-ish setting on the system:
>
> $ grep PYTHON_TARGET /etc/portage/make.conf
> /etc/portage/package.use/*
> /etc/portage/make.conf:#PYTHON_TARGETS="python3_7 python2_7"
> /etc/portage/package.use
On Sunday, 7 March 2021 18:43:29 GMT Steven Lembark wrote:
> Checking my environment, I'd expect that "python" is 3.9.1, I think?
>
> # which python
> /usr/bin/python
>
> # ls -al /usr/bin/python
> lrwxrwxrwx 1 root root 13 Oct 20 10:46 /usr/bin/python -> python-exec2c
>
> #
Checking my environment, I'd expect that "python" is 3.9.1, I think?
# which python
/usr/bin/python
# ls -al /usr/bin/python
lrwxrwxrwx 1 root root 13 Oct 20 10:46 /usr/bin/python -> python-exec2c
# /usr/bin/python --version;
Python 3.9.1
(ins)root@dizzy ~ # esel
> While eselect python is still available the OP can run:
>
> eselect python update
> eselect python cleanup
# eselect python update
Switching to python3.9
# eselect python cleanup
# eselect python list;
Available Python interpreters, in order of preference:
[1] python
On Sunday, 7 March 2021 17:03:22 GMT Arve Barsnes wrote:
> On Sun, 7 Mar 2021 at 17:00, Steven Lembark wrote:
> > I believe there isn't any PYTHON_TARGET-ish setting on the system:
> > $ grep PYTHON_TARGET /etc/portage/make.conf
> > /etc/portage/package.use/*
> >
> > /etc/portag
On Sun, 7 Mar 2021 at 17:00, Steven Lembark wrote:
> I believe there isn't any PYTHON_TARGET-ish setting on the system:
>
> $ grep PYTHON_TARGET /etc/portage/make.conf /etc/portage/package.use/*
> /etc/portage/make.conf:#PYTHON_TARGETS="python3_7 python2_7"
> /etc/portage/package.use/
On Sun, 7 Mar 2021 00:09:47 +0100
David Haller wrote:
> Hello,
>
> On Sat, 06 Mar 2021, Steven Lembark wrote:
> >Question then is why "python-exec2c" dispatched via a symlink from
> >"python3" would fail to see the installed copy of pyyaml (or how
> >should I check with modules are avalable via
Hello,
On Sat, 06 Mar 2021, Steven Lembark wrote:
>Question then is why "python-exec2c" dispatched via a symlink from
>"python3" would fail to see the installed copy of pyyaml (or how
>should I check with modules are avalable via "python3")?
[..]
>I think that pyyaml is installed:
>
>* dev-python
On Sat, Mar 6, 2021 at 12:38 PM Steven Lembark wrote:
>
> $ which python3
> /usr/bin/python3
>
> $ ls -ld $(which python3)
> lrwxrwxrwx 1 root root 13 Oct 20 10:46 /usr/bin/python3 ->
python-exec2c
>
> Thanks
>
What do you see just running python3 in a terminal?
- Mark
Question then is why "python-exec2c" dispatched via a symlink from
"python3" would fail to see the installed copy of pyyaml (or how
should I check with modules are avalable via "python3")?
e.g., is there the equivalent of "perl -MYAML -d -E 0" that would
allow me to check what it is that python
18 matches
Mail list logo