Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how do i get pip for python 3.10?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
picarica
Guru
Guru


Joined: 11 Aug 2018
Posts: 326

PostPosted: Sat Oct 26, 2024 11:03 am    Post subject: how do i get pip for python 3.10? Reply with quote

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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22859

PostPosted: Sat Oct 26, 2024 2:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
picarica
Guru
Guru


Joined: 11 Aug 2018
Posts: 326

PostPosted: Mon Oct 28, 2024 7:07 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum