Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]how I can install pip3.6 ?
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
saeb
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2017
Posts: 82
Location: iran

PostPosted: Fri Aug 04, 2017 10:21 am    Post subject: [solved]how I can install pip3.6 ? Reply with quote

hi there . how i can install pip3.6 for python?
_________________
I`m noob and I have a jillion question


Last edited by saeb on Fri Aug 04, 2017 12:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30915
Location: here

PostPosted: Fri Aug 04, 2017 11:53 am    Post subject: Reply with quote

You mean pip for python3.6?
For this you should unmask python_targets_python3_6 use flag that in a stable environment is masked, with:
Code:
# echo "-python_targets_python3_6" >> /etc/portage/profile/use.mask

and than active use flag for pip package:
Code:
# echo "dev-python/pip python_targets_python3_6" >> /etc/portage/package.use

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
saeb
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2017
Posts: 82
Location: iran

PostPosted: Fri Aug 04, 2017 12:17 pm    Post subject: Reply with quote

fedeliallalinea wrote:
You mean pip for python3.6?
For this you should unmask python_targets_python3_6 use flag that in a stable environment is masked, with:
Code:
# echo "-python_targets_python3_6" >> /etc/portage/profile/use.mask

and than active use flag for pip package:
Code:
# echo "dev-python/pip python_targets_python3_6" >> /etc/portage/package.use


tnx only secound command worked for me.

Code:

Fujitsu /home/saeb # emerge dev-python/pip --autounmask-write -a



Code:

Fujitsu /home/saeb # echo "-python_targets_python3_6" >> /etc/portage/profile/use.mask
bash: /etc/portage/profile/use.mask: No such file or directory
Fujitsu /home/saeb # tree /etc/portage
/etc/portage
├── make.conf
├── make.conf.catalyst
├── make.conf.euse_backup
├── make.profile -> ../../usr/portage/profiles/default/linux/amd64/13.0/desktop
├── package.accept_keywords
├── package.license
├── package.mask
│   ├── libtool
│   ├── openrc
│   └── perl
├── package.unmask
├── package.use
├── package.use.save
├── repo.postsync.d
│   ├── example
│   └── q-reinit
└── savedconfig
    ├── sys-apps
    │   └── busybox-1.26.2-r1
    └── sys-kernel
        └── linux-firmware-20170622

6 directories, 15 files
Fujitsu /home/saeb #

_________________
I`m noob and I have a jillion question
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30915
Location: here

PostPosted: Fri Aug 04, 2017 1:29 pm    Post subject: Reply with quote

saeb wrote:
tnx only secound command worked for me.

Because you shoud create directory /etc/portage/profile, but if you have a unstable (~arch) system python_targets_python3_6 is already unmasked
_________________
Questions are guaranteed in life; Answers aren't.
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