This question already has answers here:
How do I install PyAudio on Python 3.7?
(9 answers)
Closed 3 years ago.
I tried installing pyaudio using pip but I am getting an error.
C:\Users\divya>pip install pyaudio
Collecting pyaudio
Using cached https://files.pythonhosted.org/packages/ab/42/b4f04721c5c5bfc196ce156b3c768998ef8c0ae3654ed29ea5020c749a6b/PyAudio-0.2.11.tar.gz
Installing collected packages: pyaudio
Running setup.py install for pyaudio ... error
Complete output from command "c:\program files (x86)\python37-32\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\divya\\AppData\\Local\\Temp\\pip-install-5eoc_ykq\\pyaudio\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\divya\AppData\Local\Temp\pip-record-xhzsi_4l\install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build\lib.win32-3.7
copying src\pyaudio.py -> build\lib.win32-3.7
running build_ext
building '_portaudio' extension
creating build\temp.win32-3.7
creating build\temp.win32-3.7\Release
creating build\temp.win32-3.7\Release\src
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.22.27905\bin\HostX86\x86\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MT "-Ic:\program files (x86)\python37-32\include" "-Ic:\program files (x86)\python37-32\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.22.27905\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" /Tcsrc/_portaudiomodule.c /Fobuild\temp.win32-3.7\Release\src/_portaudiomodule.obj
_portaudiomodule.c
src/_portaudiomodule.c(29): fatal error C1083: Cannot open include file: 'portaudio.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.22.27905\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2
----------------------------------------
Command ""c:\program files (x86)\python37-32\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\divya\\AppData\\Local\\Temp\\pip-install-5eoc_ykq\\pyaudio\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\divya\AppData\Local\Temp\pip-record-xhzsi_4l\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\divya\AppData\Local\Temp\pip-install-5eoc_ykq\pyaudio\
please see this error and help me out I am getting similar error while installing pyGTK too. I tried upgrading pip too but nothing worked for me.
There is no prebuilt package for Python 3.7 on Windows (you have a 32 bit version probably) so you need to prepare build environment on your PC to use this package. Easier would be finding the wheel for 3.7 as some packages are quite hard to build on Windows.
You can find your wheel here
Check your python version and download your correct wheel
after that you can type to install:
pip install <yourwheel.whl>
Related
After trying countless times I still cannot install PyAudio without getting this error
I have tried using many approaches including pipwin which doesn't get recognized as a real function, how can I install PyAudio?
ERROR: Command errored out with exit status 1:
command: 'C:\person\person\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\person\\AppData\\Local\\Temp\\pip-install-csmluknr\\pyaudio_4df1e1a74cd34515a3cf4ed28ceefeae\\setup.py'"'"'; __file__='"'"'C:\\Users\\person\\AppData\\Local\\Temp\\pip-install-csmluknr\\pyaudio_4df1e1a74cd34515a3cf4ed28ceefeae\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\person\AppData\Local\Temp\pip-record-tj523gnc\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\person\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\Include\PyAudio'
cwd: C:\Users\person\AppData\Local\Temp\pip-install-csmluknr\pyaudio_4df1e1a74cd34515a3cf4ed28ceefeae\
Complete output (17 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
copying src\pyaudio.py -> build\lib.win-amd64-3.7
running build_ext
building '_portaudio' extension
creating build\temp.win-amd64-3.7
creating build\temp.win-amd64-3.7\Release
creating build\temp.win-amd64-3.7\Release\src
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DMS_WIN64=1 "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\include" "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" /Tcsrc/_portaudiomodule.c /Fobuild\temp.win-amd64-3.7\Release\src/_portaudiomodule.obj
_portaudiomodule.c
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\include\pyconfig.h(117): warning C4005: 'MS_WIN64': macro redefinition
src/_portaudiomodule.c: note: see previous definition of 'MS_WIN64'
src/_portaudiomodule.c(29): fatal error C1083: Cannot open include file: 'portaudio.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.27.29110\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\person\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\person\\AppData\\Local\\Temp\\pip-install-csmluknr\\pyaudio_4df1e1a74cd34515a3cf4ed28ceefeae\\setup.py'"'"'; __file__='"'"'C:\\Users\\person\\AppData\\Local\\Temp\\pip-install-csmluknr\\pyaudio_4df1e1a74cd34515a3cf4ed28ceefeae\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\person\AppData\Local\Temp\pip-record-tj523gnc\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\person\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\Include\PyAudio' Check the logs for full command output.
You can install PyAudio by first installing:
pip install pipwin
Wait until it's done, then:
pipwin install pyaudio
It will work for people who have Python 3.9.
You can download PyAudio wheel file from here.
Then use pip install XXX.whl to install.
For example: pip install E:/PyAudio‑0.2.11‑cp37‑cp37m‑win_amd64.whl
You can check how many bits your computer is, and then download the corresponding wheel.
PyAudio‑0.2.11‑cp37‑cp37m‑win_amd64.whl supports python3.7 for windows 64-bit system.
PyAudio‑0.2.11‑cp37‑cp37m‑win32.whl supports python3.7 for windows 32-bit system.
If Anaconda is installed, we can also use the conda installation tool to install the module "PyAudio" in VSCode: (conda install PyAudio)
Reference: Environment in VSCode.
The suggestion by Aman above works for me, within the Anaconda3 environment, using the Anaconda3 Prompt.
First run this:
pip install pipwin
Then run this:
pipwin install pyaudio
Prior to this, I did install the Microsoft Visual Build Tools. It DID NOT help.
Similar issue found in previous Stackoverflow question.
I have Python 3.8 installed, I was able to install numpy and scipy flawlessly. When I try to install matplotlib I get this output in my command prompt.
building 'matplotlib.ft2font' extension
creating build\temp.win-amd64-3.8
creating build\temp.win-amd64-3.8\Release
creating build\temp.win-amd64-3.8\Release\src
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.23.28105\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DFREETYPE_BUILD_TYPE=system -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ft2font_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -IC:\Python38\lib\site-packages\numpy\core\include -IC:\Python38\include -IC:\Python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.23.28105\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" /Tcsrc/checkdep_freetype2.c /Fobuild\temp.win-amd64-3.8\Release\src/checkdep_freetype2.obj
checkdep_freetype2.c
src/checkdep_freetype2.c(1): fatal error C1083: Cannot open include file: 'ft2build.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.23.28105\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\duket\\AppData\\Local\\Temp\\pip-install-6otudvqg\\matplotlib\\setup.py'"'"'; __file__='"'"'C:\\Users\\duket\\AppData\\Local\\Temp\\pip-install-6otudvqg\\matplotlib\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\duket\AppData\Local\Temp\pip-record-2fr17_ng\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.
I have no idea how to fix this, I've updated pip and I have also tried to install from a .whl file but still no dice.
Any help is greatly appreciated.
EDIT: If you want the full command prompt output I made a pastebin with it here: https://pastebin.com/HNXcGrDH
Download the prebuilt lib from Prof. Gohlke and install using pip
https://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib
pip install matplotlib-3.1.1-cp38-cp38-win_amd64.whl
You are missing the freetype library that is a dependecy of matplotlib Take a look at this repo for building the required libraries for matplotlib. Note however that the latest release of matplotlib does only support python 3.7. You might still be able to build from source if you use the latest version from github, but there is no guarantee for its stability, esspecially since there are currently no official tests of matplotlib for python 3.8
i have installed the visual studio 2019 build tool , c++. Still i am having the problem in my cmd prompt, shown below.
Using cached https://files.pythonhosted.org/packages/ab/42/b4f04721c5c5bfc196ce156b3c768998ef8c0ae3654ed29ea5020c749a6b/PyAudio-0.2.11.tar.gz
Installing collected packages: pyaudio
Running setup.py install for pyaudio ... error
ERROR: Complete output from command 'c:\users\nisith saha\appdata\local\programs\python\python37\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\NISITH~1\\AppData\\Local\\Temp\\pip-install-p2pi0hy3\\pyaudio\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\NISITH~1\AppData\Local\Temp\pip-record-7qtci57w\install-record.txt' --single-version-externally-managed --compile:
ERROR: running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
copying src\pyaudio.py -> build\lib.win-amd64-3.7
running build_ext
building '_portaudio' extension
creating build\temp.win-amd64-3.7
creating build\temp.win-amd64-3.7\Release
creating build\temp.win-amd64-3.7\Release\src
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.21.27702\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MT -DMS_WIN64=1 "-Ic:\users\nisith saha\appdata\local\programs\python\python37\include" "-Ic:\users\nisith saha\appdata\local\programs\python\python37\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.21.27702\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /Tcsrc/_portaudiomodule.c /Fobuild\temp.win-amd64-3.7\Release\src/_portaudiomodule.obj
_portaudiomodule.c
c:\users\nisith saha\appdata\local\programs\python\python37\include\pyconfig.h(117): warning C4005: 'MS_WIN64': macro redefinition
src/_portaudiomodule.c: note: see previous definition of 'MS_WIN64'
src/_portaudiomodule.c(29): fatal error C1083: Cannot open include file: 'portaudio.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.21.27702\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Command "'c:\users\nisith saha\appdata\local\programs\python\python37\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\NISITH~1\\AppData\\Local\\Temp\\pip-install-p2pi0hy3\\pyaudio\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\NISITH~1\AppData\Local\Temp\pip-record-7qtci57w\install-record.txt' --single-version-externally-managed --compile" failed with error code 1 in C:\Users\NISITH~1\AppData\Local\Temp\pip-install-p2pi0hy3\pyaudio\
You will also need the Portaudio development headers and libraries installed.
Instead of doing that, I think you'll find it easier to get the proper precompiled wheel for Py3.7 from Christoph Gohlke's site over here: https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio
The wheel you'll want should be PyAudio‑0.2.11‑cp37‑cp37m‑win_amd64.whl. I won't hotlink to it since it's expressly discouraged by Gohlke.
I tried to install kmeans package but failed!
I've used so many different ways to solve the issue but none of them works. Hope that someone have idea of how to deal with the issue! Thanks a lot!!
The error message is as below
Collecting kmeans
Using cached https://files.pythonhosted.org/packages/d1/7e/87d12a99d7ccfd2c85b
19899012177e1718c2d6c0148fad421523160e84b/kmeans-1.0.2.tar.gz
Installing collected packages: kmeans
Running setup.py install for kmeans ... error
Complete output from command c:\users\AAA\appdata\local\programs\python\pyt
hon36\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\AAA\\A
ppData\\Local\\Temp\\pip-install-hjr78jwg\\kmeans\\setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(comp
ile(code, __file__, 'exec'))" install --record C:\Users\AAA\AppData\Local\Temp\
pip-record-rek9bpzw\install-record.txt --single-version-externally-managed --com
pile:
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.6
creating build\lib.win-amd64-3.6\kmeans
copying kmeans\performance.py -> build\lib.win-amd64-3.6\kmeans
copying kmeans\tests.py -> build\lib.win-amd64-3.6\kmeans
copying kmeans\__init__.py -> build\lib.win-amd64-3.6\kmeans
running egg_info
writing kmeans.egg-info\PKG-INFO
writing dependency_links to kmeans.egg-info\dependency_links.txt
writing top-level names to kmeans.egg-info\top_level.txt
reading manifest file 'kmeans.egg-info\SOURCES.txt'
writing manifest file 'kmeans.egg-info\SOURCES.txt'
copying kmeans\lib.c -> build\lib.win-amd64-3.6\kmeans
running build_ext
building 'kmeans/lib' extension
creating build\temp.win-amd64-3.6
creating build\temp.win-amd64-3.6\Release
creating build\temp.win-amd64-3.6\Release\kmeans
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe
/c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ic:\users\AAA\appdata\local\programs\pytho
n\python36\include -Ic:\users\AAA\appdata\local\programs\python\python36\includ
e "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Progr
am Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x
86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\
include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" /Tckmeans/
lib.c /Fobuild\temp.win-amd64-3.6\Release\kmeans/lib.obj -Wno-error=declaration-
after-statement -O3 -std=c99
cl : Command line error D8021 : invalid numeric argument '/Wno-error=declara
tion-after-statement'
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\B
IN\\x86_amd64\\cl.exe' failed with exit status 2
----------------------------------------
Command "c:\users\AAA\appdata\local\programs\python\python36\python.exe -u -c "
import setuptools, tokenize;__file__='C:\\Users\\AAA\\AppData\\Local\\Temp\\pip
-install-hjr78jwg\\kmeans\\setup.py';f=getattr(tokenize, 'open', open)(__file__)
;code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exe
c'))" install --record C:\Users\AAA\AppData\Local\Temp\pip-record-rek9bpzw\inst
all-record.txt --single-version-externally-managed --compile" failed with error
code 1 in C:\Users\AAA\AppData\Local\Temp\pip-install-hjr78jwg\kmeans\
====
Try downloading the .tar.gz file from pypi.org and then in cmd go to the directory with the file and do
pip install <file name>
I have been struggling to install Pyfst for days. After resolving the issue with vcvarsall and installing Visual Studio C++ tools, I ran into another issue, for which I cannot find the answer online (for Windows 7). I am trying to install it with PyCharm and I tried for both Python 2.7 and Python 3.5. I get this error:
Collecting pyfst
Using cached pyfst-0.2.3.tar.gz
Installing collected packages: pyfst
Running setup.py install for pyfst: started
Running setup.py install for pyfst: finished with status 'error'
Complete output from command C:\pyth\pythonw.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\...\\AppData\\Local\\Temp\\pycharm-packaging\\pyfst\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\...\AppData\Local\Temp\pip-ykez_6hi-record\install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.5
creating build\lib.win-amd64-3.5\fst
copying fst\__init__.py -> build\lib.win-amd64-3.5\fst
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
building 'fst._fst' extension
creating build\temp.win-amd64-3.5
creating build\temp.win-amd64-3.5\Release
creating build\temp.win-amd64-3.5\Release\fst
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\pyth\include -IC:\pyth\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\\winrt" /EHsc /Tpfst/_fst.cpp /Fobuild\temp.win-amd64-3.5\Release\fst/_fst.obj -O2
_fst.cpp
fst/_fst.cpp(321): fatal error C1083: Cannot open include file: 'fst/symbol-table.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\amd64\\cl.exe' failed with exit status 2
----------------------------------------
Command "C:\pyth\pythonw.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\...\\AppData\\Local\\Temp\\pycharm-packaging\\pyfst\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\...\AppData\Local\Temp\pip-ykez_6hi-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\...\AppData\Local\Temp\pycharm-packaging\pyfst\
Can anyone help?
You might have better luck using the Python bindings that are included in OpenFST 1.5+.
http://www.openfst.org/twiki/bin/view/FST/PythonExtension