-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModuleNotFoundError: No module named '_pyIdlak_txp' when installing REST server #113
Comments
are you able to import pyIdalk from the base of the source directory? |
I don't think so. I tried running the tests in src/pyidlak, also have the same import problem. |
can you see if there is a problem if you run |
I ran make again, and no error has been reported. But I still got the import error. Here is the tree structure of
|
how about importing in the i.e (on my machine IDLAK is where I cloned idlak). It might be something in the virtual environment that is causing the problem, but I have 3.6 instead of 3.7 so I'm hoping it's nothing to do with that. |
I think I see what could be the problem: |
I tried with
But it still gives the same error:
I feel like this is a problem of swig_import_helper ... Btw, I have changed line 19 in idlak-server/app/endpoints/speech.py to direct to src directory. But it gave the same error. |
So far I have been unable to replicate the error, what OS are you using? |
I am using macOS. I guess the problem is on the swig on macOS... |
Hello, I am currently facing the same problem. I am trying to run the server on ubuntu 18. All the requirements are met but the result is as described above. Has anybody come to the solution for this problem? Thanks |
Had the same issue on Ubuntu 18.08, recent version (11.04.2020) and resolved it. Reason was that you might not have "kaldi.mk" present in path "idlak/src". The Makefile in "idlak/idlak-server" is including it, but obviously misses it, causing the abortion. What i did: I ran Afterwards, run Hopefully helps, maybe somebody facing this can confirm. |
I got the same error on OSX, and there were 2 root causes for me
EXTRA_LDLIBS = -Wl,-rpath,"$(PCREROOT)/lib" and
And it works now. |
I got the same error on OSX Catalina and none of your solution works. |
I am following the documentation https://idlak.readthedocs.io/en/latest/rest_server.html#install-server to install REST server. When I run
flask run
, I got an error:Before running this command, I succeeded in compiling pyIdlak by typing
make
in src/pyIdlak folder.The entire error message:
The text was updated successfully, but these errors were encountered: