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
I can't find messages_pb2.py #1030
Comments
The Could you make sure that protocol buffers are installed correctly? I'm not sure, but I think that you should be able to run The workaround that works in some cases is running |
Hello! I am also having the same problem (on Windows 10 with both 0.10.1 and 0.9.2). I ran python setup.py install to initially install the package after downloading and extracting the zip files from the repository. When I ran python setup.py build , I got the error "ValueError: No protobuf compiler executable was found!", however I have protobuf (v 4.0.0) installed in python (via pip). It looks like julia is being called as well, which I dont think is supposed to happen. When I run protoc.exe, the error is "python: can't open file 'protoc.exe': [Errno 2] No such file or directory". Any ways to work around this? Thanks! |
SOLUTION: The source of this problem for me was an incorrect installation of protobuf. Protobuf was installed originally only through pip, but this was an incorrect installation. To correctly install protobuf these are the steps I took:
From here, to correctly install bigartm:
If you have a protobuf installation error like I had, you will not get any errors when the bigartm setup.py install is ran, only when build is ran or when you try to import artm for the first time. |
I install Bigartm as it written on site
In trying to import module artm i get this error:
ImportError: cannot import name 'messages_pb2' from partially initialized module 'artm.wrapper' (most likely due to a circular import) (C:\Users\rust0\anaconda3\envs\coursera_d\lib\site-packages\bigartm10-0.10.1-py3.8.egg\artm\wrapper_init_.py)
I followed the indicated path, but not found the file messages_pb2.py
The text was updated successfully, but these errors were encountered: