View previous topic :: View next topic |
Author |
Message |
picarica Guru
Joined: 11 Aug 2018 Posts: 326
|
Posted: Sat Oct 26, 2024 11:03 am Post subject: how do i get pip for python 3.10? |
|
|
i am getting frustrated iam googlin googling i have not idea how to have pip for python3.10
i have ensurepip flag, i have python 3.10 merged
Code: |
sudo emerge --ask dev-lang/python:3.10
...
python3.10 -m pip
/usr/bin/python3.10: No module named pip
dev-lang/python-3.10.15_p1::gentoo was built with the following:
USE="bluetooth ensurepip gdbm ncurses readline sqlite ssl -build -debug -examples -libedit -pgo -test -tk -valgrind -verify-sig" ABI_X86="(64)"
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fwrapv"
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fwrapv"
|
why no pip? i need it really badly, how do i get it? |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22859
|
Posted: Sat Oct 26, 2024 2:13 pm Post subject: |
|
|
Why are you trying to use pip for an outdated Python that is on its way out?
Per equery use python:3.10, ensurepip is not what you want: Code: | + + ensurepip : Install the ensurepip module that uses bundled wheels to bootstrap pip
and setuptools (if disabled, it will be only possible to use venv
`--without-pip`) | This tells me it is for the module ensurepip, not for the module pip.
Have you tried installing dev-python/pip with an appropriate PYTHON_TARGETS? |
|
Back to top |
|
|
picarica Guru
Joined: 11 Aug 2018 Posts: 326
|
Posted: Mon Oct 28, 2024 7:07 am Post subject: |
|
|
Hu wrote: | Why are you trying to use pip for an outdated Python that is on its way out?
Per equery use python:3.10, ensurepip is not what you want: Code: | + + ensurepip : Install the ensurepip module that uses bundled wheels to bootstrap pip
and setuptools (if disabled, it will be only possible to use venv
`--without-pip`) | This tells me it is for the module ensurepip, not for the module pip.
Have you tried installing dev-python/pip with an appropriate PYTHON_TARGETS? |
yess thank you that worked, didnt knew pip has python targets variable, and i am trying to run some ancient python scripts |
|
Back to top |
|
|
|