Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

Errors when installing HeyAthena #59

Description

@Nawjy

Using Windows 7 64bit, was following along with the instructions at https://heyathena.com/docs/intro/install.html#windows until I ran into a hitch
Got to "pip3 install HeyAthena" and received this:

Collecting HeyAthena
Requirement already satisfied: gTTS in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from HeyAthena)
Requirement already satisfied: pyaudio in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from HeyAthena)
Collecting SpeechRecognition (from HeyAthena)
Using cached SpeechRecognition-3.7.1-py2.py3-none-any.whl
Requirement already satisfied: wolframalpha in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from HeyAthena)
Collecting pocketsphinx (from HeyAthena)
Using cached pocketsphinx-0.1.3.zip
Collecting selenium (from HeyAthena)
Using cached selenium-3.5.0-py2.py3-none-any.whl
Requirement already satisfied: requests in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from HeyAthena)
Requirement already satisfied: pyglet in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from HeyAthena)
Requirement already satisfied: pyyaml in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from HeyAthena)
Requirement already satisfied: gtts-token in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from gTTS->HeyAthena)
Requirement already satisfied: six in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from gTTS->HeyAthena)
Requirement already satisfied: xmltodict in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from wolframalpha->HeyAthena)
Requirement already satisfied: jaraco.itertools>=2.0 in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from wolframalpha->HeyAthena)
Requirement already satisfied: idna<2.7,>=2.5 in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from requests->HeyAthena)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from requests->HeyAthena)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from requests->HeyAthena)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from requests->HeyAthena)
Requirement already satisfied: more-itertools in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from jaraco.itertools>=2.0->wolframalpha->HeyAthena)
Requirement already satisfied: inflect in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from jaraco.itertools>=2.0->wolframalpha->HeyAthena)
Installing collected packages: SpeechRecognition, pocketsphinx, selenium, HeyAthena
Running setup.py install for pocketsphinx ... error
Complete output from command c:\users\john\appdata\local\programs\python\python36\python.exe -u -c "import setuptools, tokenize;file='C:\Users\John\AppData\Local\Temp\pip-build-noxgz8zn\pocketsphinx\setup.py';f=getattr(token
emp\pip-im441qge-record\install-record.txt --single-version-externally-managed --compile:
running install
running build_ext
building 'sphinxbase._ad' extension
swigging swig/sphinxbase/ad.i to swig/sphinxbase/ad_wrap.c
C:\Users\John\Downloads\swigwin-3.0.12\swig.exe -python -modern -Ideps/sphinxbase/include -Ideps/sphinxbase/include/sphinxbase -Ideps/sphinxbase/include/win32 -Ideps/sphinxbase/swig -outdir sphinxbase -o swig/sphinxbase/ad_wrap.c swig/s
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

----------------------------------------

Command "c:\users\john\appdata\local\programs\python\python36\python.exe -u -c "import setuptools, tokenize;file='C:\Users\John\AppData\Local\Temp\pip-build-noxgz8zn\pocketsphinx\setup.py';f=getattr(tokenize, 'open', open)(__fil
install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\John\AppData\Local\Temp\pip-build-noxgz8zn\pocketsphinx\

So I went to do the github installation to troubleshoot. After "pip install -U pip setuptools wheel", "pip3 install -U pocketsphinx pyaudio SpeechRecognition pyglet gTTS pyyaml wolframalpha selenium" returned this:
**Collecting pocketsphinx
Using cached pocketsphinx-0.1.3.zip
Requirement already up-to-date: pyaudio in c:\users\john\appdata\local\programs\python\python36\lib\site-packages
Requirement already up-to-date: SpeechRecognition in c:\users\john\appdata\local\programs\python\python36\lib\site-packages
Requirement already up-to-date: pyglet in c:\users\john\appdata\local\programs\python\python36\lib\site-packages
Requirement already up-to-date: gTTS in c:\users\john\appdata\local\programs\python\python36\lib\site-packages
Requirement already up-to-date: pyyaml in c:\users\john\appdata\local\programs\python\python36\lib\site-packages
Requirement already up-to-date: wolframalpha in c:\users\john\appdata\local\programs\python\python36\lib\site-packages
Collecting selenium
Using cached selenium-3.5.0-py2.py3-none-any.whl
Requirement already up-to-date: gtts-token in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from gTTS)
Requirement already up-to-date: requests in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from gTTS)
Requirement already up-to-date: six in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from gTTS)
Requirement already up-to-date: jaraco.itertools>=2.0 in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from wolframalpha)
Requirement already up-to-date: xmltodict in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from wolframalpha)
Requirement already up-to-date: certifi>=2017.4.17 in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from requests->gTTS)
Requirement already up-to-date: idna<2.7,>=2.5 in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from requests->gTTS)
Requirement already up-to-date: urllib3<1.23,>=1.21.1 in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from requests->gTTS)
Requirement already up-to-date: chardet<3.1.0,>=3.0.2 in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from requests->gTTS)
Requirement already up-to-date: inflect in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from jaraco.itertools>=2.0->wolframalpha)
Requirement already up-to-date: more-itertools in c:\users\john\appdata\local\programs\python\python36\lib\site-packages (from jaraco.itertools>=2.0->wolframalpha)
Building wheels for collected packages: pocketsphinx
Running setup.py bdist_wheel for pocketsphinx ... error
Complete output from command c:\users\john\appdata\local\programs\python\python36\python.exe -u -c "import setuptools, tokenize;file='C:\Users\John\AppData\Local\Temp\pip-build-oigw2pqm\pocketsphinx\setup.py';f=getattr(tokeniz
tmpqkj2d7x2pip-wheel- --python-tag cp36:
running bdist_wheel
running build_ext
building 'sphinxbase._ad' extension
swigging swig/sphinxbase/ad.i to swig/sphinxbase/ad_wrap.c
C:\Users\John\Downloads\swigwin-3.0.12\swig.exe -python -modern -Ideps/sphinxbase/include -Ideps/sphinxbase/include/sphinxbase -Ideps/sphinxbase/include/win32 -Ideps/sphinxbase/swig -outdir sphinxbase -o swig/sphinxbase/ad_wrap.c swig/sph
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools


Failed building wheel for pocketsphinx
Running setup.py clean for pocketsphinx
Failed to build pocketsphinx
Installing collected packages: pocketsphinx, selenium
Running setup.py install for pocketsphinx ... error
Complete output from command c:\users\john\appdata\local\programs\python\python36\python.exe -u -c "import setuptools, tokenize;file='C:\Users\John\AppData\Local\Temp\pip-build-oigw2pqm\pocketsphinx\setup.py';f=getattr(token
emp\pip-bvur81ea-record\install-record.txt --single-version-externally-managed --compile:
running install
running build_ext
building 'sphinxbase._ad' extension
swigging swig/sphinxbase/ad.i to swig/sphinxbase/ad_wrap.c
C:\Users\John\Downloads\swigwin-3.0.12\swig.exe -python -modern -Ideps/sphinxbase/include -Ideps/sphinxbase/include/sphinxbase -Ideps/sphinxbase/include/win32 -Ideps/sphinxbase/swig -outdir sphinxbase -o swig/sphinxbase/ad_wrap.c swig/s
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

----------------------------------------

Command "c:\users\john\appdata\local\programs\python\python36\python.exe -u -c "import setuptools, tokenize;file='C:\Users\John\AppData\Local\Temp\pip-build-oigw2pqm\pocketsphinx\setup.py';f=getattr(tokenize, 'open', open)(__fil
install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\John\AppData\Local\Temp\pip-build-oigw2pqm\pocketsphinx**

And after installing "pip install -U pip setuptools wheel" if I try "pip3 install HeyAthena" or any of the other commands, it returns a similar "Failed building wheel for pocketsphinx" error until I "pip uninstall wheel". After that, I just get the first error.

I am honestly very new/bad at this kind of stuff, so sorry if this is a rookie mistake. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions