Hello,

    Problem solved.   After some more poking around, I found the site-packages 
directory and added that to my PYTHONPATH.     Things now work properly.

--Dan

From: "Daniel R. Marlow" <mar...@exchange.princeton.edu>
Date: Saturday, July 9, 2016 at 2:21 PM
To: "macports-users@lists.macosforge.org" <macports-users@lists.macosforge.org>
Subject: pyaudio

Hello,

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?

Sincerely,
Dan Marlow

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to