I am new to pyo and wanted to use it for college final year project. But, I have encountered an issue while downloading it on my device.
I am using Windows 11 with Python 3.7 version installed.
I have used this link to go through my installation process.
Steps to download pyo on Windows(If the link is not opening, please refer this file on the pyo repo on github "
pyo/
scripts/
win/
windows-10-64bit-build-routine.txt")
I am stuck on the last step of the process, where you download pyo sources from git and build it.
I went to "pyo/" directory which holds the setup.py file. and run this command "py -3.7 setup.py install --use-double"
I ran in an error while executing this...
```
C:\Users\Admin\Desktop\Codes\TYPROJECT\pyo>py -3.7 setup.py install --use-double
running install
running bdist_egg
running egg_info
writing pyo.egg-info\PKG-INFO
writing dependency_links to pyo.egg-info\dependency_links.txt
writing entry points to pyo.egg-info\entry_points.txt
writing top-level names to pyo.egg-info\top_level.txt
reading manifest file 'pyo.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pyo.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
running build_ext
dllwrap: WARNING: dllwrap is deprecated, use gcc -shared or ld -shared instead
building 'pyo._pyo' extension
C:\msys64\mingw64\bin\gcc.exe -mdll -O -Wall -DUSE_PORTAUDIO -DUSE_PORTMIDI -DUSE_OSC -DMS_WIN64 -I../vcpkg/packages/portmidi_x64-windows/include -I../vcpkg/packages/portaudio_x64-windows/include -I../vcpkg/packages/libsndfile_x64-windows/include -I../vcpkg/packages/liblo_x64-windows/include -I../vcpkg/packages/pthreads_x64-windows/include -IC:\msys64\mingw64\include -Iinclude -IC:\Users\Admin\AppData\Local\Programs\Python\Python37\include -IC:\Users\Admin\AppData\Local\Programs\Python\Python37\include -c src/engine\pyomodule.c -o build\temp.win-amd64-3.7\Release\src\engine\pyomodule.o -Wno-strict-prototypes -Wno-strict-aliasing -O3 -g0 -DNDEBUG
src/engine\pyomodule.c:25:10: fatal error: sndfile.h: No such file or directory
25 | #include "sndfile.h"
| ^~~~~~~~~~~
compilation terminated.
error: command 'C:\\msys64\\mingw64\\bin\\gcc.exe' failed with exit status 1
```
So, it says sndfile.h was not found. I have searched on google but cannot find a proper solution. I tried re installing libsndfile on vcpkg but the problem still persists.
Kindly look into this, it would mean a lot to me.
Thank you.