How use py-pip?

Murray Eisenberg murrayeisenberg at gmail.com
Wed Nov 30 21:28:57 UTC 2022


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 <tramir at hotmail.com> 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 <murrayeisenberg at gmail.com> 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		murrayeisenberg at gmail.com
>> Mobile (413)-427-5334
>> 503 King Farm Blvd #101		
>> Rockville, MD 20850-6667	
>> 
>> 
>> 
> 

---
Murray Eisenberg		murrayeisenberg at gmail.com
Mobile (413)-427-5334
503 King Farm Blvd #101		
Rockville, MD 20850-6667	



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20221130/a794b703/attachment.htm>


More information about the macports-users mailing list