Got it - thanks!

A typical confusion of the name of the port with the name of an executable that 
port installs.

> On Nov 30, 2022, at 4:19 PM, Mircea Trandafir <[email protected]> wrote:
> 
> I’m not aware of a program called py-pip. On the other hand, the port py-pip 
> installs pip — you can see that with port contents (I’m using py39-pip 
> because py-pip is a meta-port):
> 
> sudo port contents py39-pip
> — output omitted —
> /opt/local/bin/pip-3.9
> — output omitted —
> 
> Hope this helps,
> Mircea
> 
>> On Nov 30, 2022, at 9:42 PM, Murray Eisenberg <[email protected]> 
>> wrote:
>> 
>> I want to use py-pip (as a substitute for pip) to install a python package. 
>> I already have:
>> 
>>      % sudo port installed | grep py-pip
>>         py-pip @22.3.1_0 (active)
>> 
>> But If I enter “py-pip” (without the quotes, of course) at the command-line, 
>> I get:
>> 
>>      % py-pip
>>          zsh: command not found: py-pip
>> 
>> (Same thing if I try “py-pip —help”, “py-pip —version”, or “py-pip install 
>> [package name]._
>> 
>> The python package I’m trying to install is pyobjc, for which no separte 
>> MacPorts port seems to exist.
>> 
>> Environment: MacPorts 2.8.0 under macOS Ventura 13.0.1.
>> ---
>> Murray Eisenberg             [email protected]
>> Mobile (413)-427-5334
>> 503 King Farm Blvd #101              
>> Rockville, MD 20850-6667     
>> 
>> 
>> 
> 

---
Murray Eisenberg                [email protected]
Mobile (413)-427-5334
503 King Farm Blvd #101         
Rockville, MD 20850-6667        



Reply via email to