Closed aleneum closed 3 years ago
Help is defintiely needed here!
Not sure, but this could be related to the fact that portaudio in this recipe is built with msys2, while Python and most of C++ libraries on Windows in conda-forge are built with the MSVC toolchain?
Not sure, but this could be related to the fact that portaudio in this recipe is built with msys2, while Python and most of C++ libraries on Windows in conda-forge are built with the MSVC toolchain?
If maintainers @conda-forge/portaudio agree, I would be happy to provide a PR to compile portaudio for MSVC.
At a first glance, https://github.com/conda-forge/pyaudio-feedstock seems to be the only conda-forge package that depends on portaudio on Windows, so I think this change is probably safe.
If maintainers @conda-forge/portaudio agree, I would be happy to provide a PR to compile portaudio for MSVC.
Yep please! BTW, if you want, add yourself as a maintainer too!
Hey im getting this error pls help me! i have aldready installed pyaudio
I filed this issue previously at pyaudio-feedstock. Short summary:
portaudio
provided byconda-forge
does not work for me on Windows (ImportError) and I can also not use it to buildpyaudio
(so far) due to missing headers.Usage issue
As there is no conda-forge version of
pyaudio
,conda
tries to installThis installation causes and
ImportError
due to DLL loading failures:If I manually override portaudio with
portaudio pkgs/main/win-64::portaudio-19.6.0-hfa6e2cd_3
pyaudio
works (at least I can import it).Build Issue
Now @ocefpaf suggested to add Windows support to the
conda-forge
recipe ofpyaudio
. I gave that a try and stumbled upon missing headers. The officialportaudio
package seems to install headers (e.g portaudio.h) into%CONDA%\envs\%ENV%\Library\include
. I could not find these headers when installingportaudio
fromconda-forge
.Do you have any suggestions about how to make
pyaudio
work withportaudio
on Windows? How do theportaudio
packages inpkgs/main
andconda-forge
differ? What needs to be done to allowpyaudio
to build withportaudio
on Windows?