View previous topic :: View next topic |
Author |
Message |
saeb Tux's lil' helper
Joined: 13 Apr 2017 Posts: 82 Location: iran
|
Posted: Fri Aug 04, 2017 10:21 am Post subject: [solved]how I can install pip3.6 ? |
|
|
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30915 Location: here
|
Posted: Fri Aug 04, 2017 11:53 am Post subject: |
|
|
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 |
|
|
saeb Tux's lil' helper
Joined: 13 Apr 2017 Posts: 82 Location: iran
|
Posted: Fri Aug 04, 2017 12:17 pm Post subject: |
|
|
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30915 Location: here
|
Posted: Fri Aug 04, 2017 1:29 pm Post subject: |
|
|
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 |
|
|
|