Sample Header Ad - 728x90

How to create additional groups using MacPorts?

2 votes
2 answers
125 views
I've installed both pip (pip27) and pip3 (pip37) for Python. However, MacPorts has only created one group called "pip" that can either be set to pip27, pip37 or none. I want pip27 to be available as pip and pip37 to be available as pip3. How can I create an additional group, so that I can easily use both pip and pip3 from the Terminal app? None of the port select subcommands seem to provide this option? Currently, MacPorts has the following groups: Nicolass-MacBook-Pro:Projects nlykkei$ port select --summary Name Selected Options ==== ======== ======= pip pip27 pip27 pip37 none python python27 python27 python27-apple python37 none python2 none python27 python27-apple none python3 python37 python37 none virtualenv virtualenv37 virtualenv37 none
Asked by Shuzheng (1681 rep)
Feb 10, 2019, 10:08 AM
Last activity: Feb 16, 2024, 02:23 PM