Daniel R. Marlow
marlow at Princeton.EDU
Sun Jul 10 03:22:15 PDT 2016
Problem solved. After some more poking around, I found the site-packages directory and added that to my PYTHONPATH. Things now work properly.
From: "Daniel R. Marlow" <marlow at exchange.Princeton.EDU>
Date: Saturday, July 9, 2016 at 2:21 PM
To: "macports-users at lists.macosforge.org" <macports-users at lists.macosforge.org>
I am running El Capitan 10.11.5
Forgive the newbie question, but I am not clear on how to install python packages using macports. In this case, I am trying to install pyaudio.
The port command:
% sudo port install py-pyaudio
appeared to go just fine, but when I run python and try to import pyaudio, I get an “ImportError: No module name pyaudio” message.
Is there a PYTHONPATH setting that I am missing?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the macports-users