Comments (19)
from snowboy.
Thanks a lot for the support! It's always good to hear back from users that the project is actually doing them something good :-)
Unfortunately we don't have a near-term plan for porting this on to Windows. Windows 10 now has the native bash shell terminal. Will that be helpful for your testing?
from snowboy.
I'll be honest I don't even know what that is? Will that enable me to import the .so file in python? If so and you can tell me how that would be fantastic! For now I'm having to restort to using raw_input and bypassing snowboy, and thats just a shame as I full on love this project. Literally adding new features to my home automation every day :) Just today added the ability to play a film or tv show by name within kodi, and yesterday added the ability to play spotify via mopidy by genre/artist/generic search. Literally having so much fun making everything run so smoothly!
Just thought I'd list some of the cool things I've been enabled to do recently just because of your project, to let you guys know what a great job you've done and some examples of the tools you have enabled! :D
from snowboy.
Sounds like a lot of great things are going on in your home :-) Would you like making some videos/demos to show off your project to others? We have a blog that keeps track of the interesting projects developed with Snowboy from developers. We can put your project there as well. See here: https://blog.kitt.ai/2016/08/16/snowboy-has-more-than-1-000-developer-users/
For the bash shell terminal on Windows 10, more details can be found here. It's basically a Linux terminal on Windows systems that can run whatever program that runs on Linux, so it should be able to run Snowboy from Windows as well. But I'm not sure how easy it will be when you integrate this with your existing project on Windows. I haven't tried this by myself, and I haven't developed on Windows machines for a long long time :-(
from snowboy.
I am facing similar issue of ImportError: No module named _snowboydetect.
I have followed exactly the same procedure mentioned in the documentation. I am using python 2.7.5 and swig 3.0.10
Any help in this case will be appreciated!
from snowboy.
Please tell us more details, e.g., what is your platform, what is the os, etc.
from snowboy.
I am on Ubuntu 14.04 - just trying to compile and run the Python wrapper. Thanks
from snowboy.
Hi I've also got problems with Swig and Python.
Hope this info is helpful.
Ubuntu 15.10
swig 3.0.7 - built from source as recommended in snowboy/swig/Python/Makefile
Both python2.7 and python3.5 got this issue.
$ ~/src/github.com/Kitt-AI/snowboy/swig/Python$ python
Python 2.7.10 (default, Oct 14 2015, 16:09:02)
[GCC 5.2.1 20151010] on linux2
>>> import snowboydetect.py
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "snowboydetect.py", line 28, in <module>
_snowboydetect = swig_import_helper()
File "snowboydetect.py", line 24, in swig_import_helper
_mod = imp.load_module('_snowboydetect', fp, pathname, description)
ImportError: ./_snowboydetect.so: undefined symbol: _ZNK7snowboy13SnowboyDetect14GetSensitivityB5cxx11Ev
from snowboy.
We don't have a binary for Ubuntu 15.10. Could you try 14.04?
Guoguo
On Thu, Sep 1, 2016 at 5:19 AM, jurschreuder [email protected]
wrote:
Hi I've also got problems with Swig and Python.
Hope this info is helpful.Ubuntu 15.10
swig 3.0.7 - built from source as recommended in
snowboy/swig/Python/Makefile
Both python2.7 and python3.5 got this issue.$ ~/src/github.com/Kitt-AI/snowboy/swig/Python$ python
Python 2.7.10 (default, Oct 14 2015, 16:09:02)
[GCC 5.2.1 20151010] on linux2import snowboydetect.py
Traceback (most recent call last):
File "", line 1, in
File "snowboydetect.py", line 28, in
_snowboydetect = swig_import_helper()
File "snowboydetect.py", line 24, in swig_import_helper
_mod = imp.load_module('_snowboydetect', fp, pathname, description)
ImportError: ./_snowboydetect.so: undefined symbol: _ZNK7snowboy13SnowboyDetect14GetSensitivityB5cxx11Ev—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Kitt-AI/snowboy/issues/41#issuecomment-244061528, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALPfk1SCTEdVjidmFKvxoKFRXPfUAKW1ks5qlsLigaJpZM4JplGw
.
from snowboy.
Same for me on Ubuntu 16.04
cd Documents/snowboy/swig/Python/
nico@ubuntu:[~/Documents/snowboy/swig/Python]: ls
Makefile snowboydetect.py _snowboydetect.so snowboy-detect-swig.cc snowboy-detect-swig.i snowboy-detect-swig.o
nico@ubuntu:[~/Documents/snowboy/swig/Python]: python
Python 2.7.12 (default, Jul 1 2016, 15:12:24)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import snowboydetect.py
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "snowboydetect.py", line 28, in <module>
_snowboydetect = swig_import_helper()
File "snowboydetect.py", line 24, in swig_import_helper
_mod = imp.load_module('_snowboydetect', fp, pathname, description)
ImportError: ./_snowboydetect.so: undefined symbol: _ZNK7snowboy13SnowboyDetect14GetSensitivityB5cxx11Ev
from snowboy.
Please try Ubuntu 14.04 for now... We compiled it for Ubuntu 14.04
from snowboy.
It works on Ubuntu 16.04 with the compiled file from the tarball you provide for 14.04.
from snowboy.
OK @Sispheor @jurschreuder, I took a look and it appeared to be a g++ version problem. The Snowboy library was compiled with g++ 4.x, which mostly likely you guys have g++ 5.x on your system. The workaround is to add -D_GLIBCXX_USE_CXX11_ABI=0
to your CXXFLAGS
in your Makefile. Let me know if this works.
To add a bit more of explanation (just for the record):
Start from g++ 5.1, g++ added a new ABI for std::string and std::list. For back compatibility purpose, by default g++ will compile both the old ABI and the new ABI. This is much like the "fat-library" in iOS. Setting -D_GLIBCXX_USE_CXX11_ABI=0
basically turns off the new ABI.
from snowboy.
I'm assuming the issue has been resolved, so closing.
from snowboy.
Is the library supposed to work on Debian8? I am trying to run the demo.py and i am getting this error.
Traceback (most recent call last):
File "demo.py", line 1, in
import snowboydecoder
File "/home/loukas/snowboy-master/examples/Python/snowboydecoder.py", line 5, in
import snowboydetect
ImportError: No module named snowboydetect
from snowboy.
from snowboy.
Hello,
I get the error "ImportError: No module named _snowboydetect" on "kalliope start" command.
I am on Ubuntu 14.04 LTS with a g++ 4.8, Swig 2.0.11 and python 2.7.6.
My processor is an Intel Atom D510.
Can you help me?
from snowboy.
Same here on macOS 10.12.5
from snowboy.
Can someone, anyone, make an updated video tutorial, or step by step typed out detail tutorial on getting set up on python 3, raspian stretch, rpi zero w. Not one video, or document online is the same, I can't get any to work.
from snowboy.
Related Issues (20)
- Why not open source the main library? HOT 5
- How do i make a model without kitt-ai's site? HOT 1
- documentation? HOT 1
- fichier umdl + documentation
- I run demo on my device,I got a crash
- cant patch avs-kittai.patch to pi.sh and setup.sh HOT 2
- 安装到最后后端进不去 HOT 1
- snowboy issue HOT 1
- support for arm64 ubuntu 20.04 ? HOT 1
- issues while rebuilding snowboy on MMM-awesome-alexa
- /node_modules/.bin/electron-rebuild fails with weird errors
- Website down? HOT 1
- Make it available for windows!!!!!!! HOT 1
- Depencies not updated in documentation for latest Ubuntu versions.
- snowboy不支持 rsicv 架构 HOT 1
- Did you change `examples/Python/snowboydetect.py` by any chance? That file was generated by swig automatically and the first line is not `../../swig/Python/snowboydetect.py`. Your error message seems to suggest that the first line is `../../swig/Python/snowboydetect.py` HOT 2
- make -C arch64-ubuntu1604 libsnowboy-detect.a make[1]: *** arch64-ubuntu1604: No such file or directory. Stop. make: *** [Makefile:67: arch64-ubuntu1604/libsnowboy-detect.a] Error 2
- 不知道啥原因
- ../..//lib/ubuntu64/libsnowboy-detect.a : error adding symbols: file format not recognized
- makefile有问题 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snowboy.