Opened 5 years ago

Closed 5 years ago

#59271 closed defect (invalid)

Cannot set pip3 default to Macports version (Catalina)

Reported by: drmartinrohde Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: base Version:
Keywords: Cc:
Port: py-pip, pip_select

Description

If I do

sudo port select --set pip3 py37-pip

I get

Selecting 'py37-pip' for 'pip3' failed: The specified version 'py37-pip' is not valid.

Same happens for e.g. py37-virtualenv.

Python 3.7 and the above mentioned packages are installed. Everything is updated/upgraded. I have Catalina (10.15)

Thanks, Martin

Change History (3)

comment:1 Changed 5 years ago by jmroot (Joshua Root)

Keywords: port select --set removed
Owner: set to stromnov
Port: py-pip pip_select added; pip3 virtualenv removed
Status: newassigned
Type: requestdefect

Looks like that's just not the correct name to use:

% port notes py37-pip
py37-pip has the following notes:
  To make the Python 3.7 version of pip the one that is run when you execute the
  commands without a version suffix, e.g. 'pip', run:
  sudo port select --set pip pip37
  sudo port select --set pip3 pip37

comment:2 Changed 5 years ago by drmartinrohde

Thanks a lot!

Due to moving from homebrew to macports, I am not experienced yet in this package manager. You made my day

comment:3 Changed 5 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: assignedclosed
Note: See TracTickets for help on using tickets.