ahodges9 / LedFx

LedFx is a network based LED effect controller with support for advanced real-time audio effects! LedFx can control multiple devices and works great with cheap ESP8266 nodes allowing for cost effectvice syncronized effects across your entire house!
MIT License
384 stars 91 forks source link

Pyaudio problems, can't launch ledfx #139

Open ramzumo opened 3 years ago

ramzumo commented 3 years ago

(ledfx) C:\Users\user\anaconda3\envs\ledfx>ledfx --open-ui Loading configuration file from C:\Users\user\AppData\Roaming.ledfx Could not import the PyAudio C module '_portaudio'. Traceback (most recent call last): File "c:\users\user\anaconda3\envs\ledfx\lib\runpy.py", line 193, in _run_modu le_as_main "main", mod_spec) File "c:\users\user\anaconda3\envs\ledfx\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\user\anaconda3\envs\ledfx\Scripts\ledfx.exe__main.py", line 7, in File "c:\users\user\anaconda3\envs\ledfx\lib\site-packages\ledfx__main__.py", line 88, in main ledfx = LedFxCore(config_dir = args.config) File "c:\users\user\anaconda3\envs\ledfx\lib\site-packages\ledfx\core.py", lin e 39, in init port=self.config.get('port', None)) File "c:\users\user\anaconda3\envs\ledfx\lib\site-packages\ledfx\http.py", lin e 19, in init self.api = RestApi(ledfx) File "c:\users\user\anaconda3\envs\ledfx\lib\site-packages\ledfx\api__init. py", line 33, in init super().init__(ledfx, RestEndpoint, self.PACKAGE_NAME) File "c:\users\user\anaconda3\envs\ledfx\lib\site-packages\ledfx\utils.py", li ne 189, in init__ self.import_registry(package) File "c:\users\user\anaconda3\envs\ledfx\lib\site-packages\ledfx\utils.py", li ne 225, in import_registry importlib.import_module(name) File "c:\users\user\anaconda3\envs\ledfx\lib\importlib__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 994, in _gcd_import File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 665, in _load_unlocked File "", line 678, in exec_module File "", line 219, in _call_with_frames_removed File "c:\users\user\anaconda3\envs\ledfx\lib\site-packages\ledfx\api\audio_dev ices.py", line 6, in import pyaudio File "c:\users\user\anaconda3\envs\ledfx\lib\site-packages\pyaudio.py", line 1 16, in import _portaudio as pa ImportError: DLL load failed: The specified module was not found.

Steps what i did: conda create -n ledfx python=3.6 conda activate ledfx conda config --add channels conda-forge conda install aubio portaudio pywin32 conda install -c anaconda pyaudio pip install pipwin pipwin install pyaudio pip install ledfx ledfx --open-ui

Can anybody explain what a problem with it?

texdetex commented 3 years ago

Same here. I’m following the instructions but not able to execute

datadrian commented 3 years ago

Looks like pyaudio isn't installed correctly

Adrian Stucker 513.341.LENS

On Wed, Oct 21, 2020, 4:20 PM texdetex notifications@github.com wrote:

Same here. I’m following the instructions but not able to execute

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ahodges9/LedFx/issues/139#issuecomment-713962929, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJFUGINW3X3LIMJRI3U5BJLSL5UE5ANCNFSM4SR64LSQ .

texdetex commented 3 years ago

Start over on a different pc all good now.

On Wed, Oct 21, 2020 at 4:24 PM datadrian notifications@github.com wrote:

Looks like pyaudio isn't installed correctly

Adrian Stucker 513.341.LENS

On Wed, Oct 21, 2020, 4:20 PM texdetex notifications@github.com wrote:

Same here. I’m following the instructions but not able to execute

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ahodges9/LedFx/issues/139#issuecomment-713962929, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AJFUGINW3X3LIMJRI3U5BJLSL5UE5ANCNFSM4SR64LSQ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ahodges9/LedFx/issues/139#issuecomment-713969056, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARO5FZXRDZ5IL3T2N3LTL6DSL5USVANCNFSM4SR64LSQ .

Mattallmighty commented 3 years ago

Try running: conda install portaudio

And if that doesn't resolve your issue, follow this: https://stackoverflow.com/a/53087826/14312698