#49970 closed defect (invalid)
py34-nltk contains python27, python2_select
Reported by: | johnlaudun@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: |
Description
During a fresh install of completely Python 3.4 setup -- python34, py34-numpy, etc. -- I noticed that port install was installing Python 2.7. A quick check of the dependencies listed at the beginning revealed the following listed:
xorg-libxcb python27 db48 python2_select xorg-libpthread-stubs
Change History (2)
comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Resolution: | → invalid |
Status: | new → closed |
comment:2 Changed 9 years ago by johnlaudun@…
Thank you both for the explanation and for the recommendation. I am still teaching myself all the complexities of dependencies, and this really helped.
Note: See
TracTickets for help on using
tickets.
That is correct. According to "
port rdeps py34-nltk
", py34-nltk depends on py34-matplotlib which depends on py34-tkinter which depends on tk which depends on Xft2 which depends on xrender which depends on xorg-libX11 which depends on xorg-libxcb which depends on xorg-xcb-proto which depends on python27 which depends on python2_select. This is not a bug. If you want xorg-xcb-proto to use python34 instead, install it with its +python34 variant:More generally, if you always want to use a +python34 in any port, if available, put "+python34" into your variants.conf file.
Not all ports that use python offer a +python34 variant. If you find one that doesn't, you can request one be added by filing a ticket.