andb0t/Fuxenpruefung

Mac brew install pyaudio

nalipour opened this issue · 1 comments

Hey,

I followed the Mac installations in the README and everything is installed without warning after adding

# [pipenv]                                                                                                                             
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

to my ~/.bash_profile. However, when trying to execute the program, it breaks with the following error message (the same error appears when executing import pyaudio from a clean python shell):

Python 3.6.2 |Anaconda custom (x86_64)| (default, Jul 20 2017, 13:14:59) 
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyaudio
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'pyaudio'

I have updated my Mac recently to MacOS High Sierra version 10.13.1.

Could you let me know what I am missing?

Thanks!

Hi Nilou,
can you try the following and see if the problem still appears after following the steps below? Maybe you forgot to activate the virtual python environment.

pipenv --python 3  # instruct pipenv to use set up a virtual environment using python3
pipenv shell  # enter the virtualenv
pipenv install
python fuxenpruefung.py