[MacPorts] #46568: `port select --set <group>` does not symlink the correct Python utilities
MacPorts
noreply at macports.org
Thu Jan 15 07:15:35 PST 2015
#46568: `port select --set <group>` does not symlink the correct Python utilities
--------------------------------+--------------------------------
Reporter: meitarm+macports@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Keywords: | Port: python27
--------------------------------+--------------------------------
As described in this Stack Overflow question
(https://apple.stackexchange.com/q/167081/85015), the `port select --set`
command does not activate the appropriate supporting utilities that are
installed with the Python ports. For instance, switching the default
system `python` from Apple's version to MacPort's version with `port
select --set python27` does not also create a symlink so that invoking
`easy_install` invokes MacPort's `/opt/local/bin/easy_install-2.7`. This
means that despite switching to MacPort's `python`, Apple's own
`easy_install` will be invoked, which can lead to confusion when different
Python versions are used to `easy_install` eggs.
This may be an issue with other ports, too, but I ran into this recently
with Python and did not find an easy to way to instruct MacPorts to make
the appropriate symlinks. (If there is such a way, I would be very
grateful to be pointed at whatever documentation exists for doing that.)
--
Ticket URL: <https://trac.macports.org/ticket/46568>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list