-
Notifications
You must be signed in to change notification settings - Fork 613
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
python: cannot import name frontend #260
Comments
mark, same error. |
This is my way to solve this issue:
|
I followed the instructions mentioned above, and copy frontend.so to the thrift_compiler folder,but now I encounter this problem: |
Duplicate of #249. |
i have seen that this error reported before but none of the suggested solution solved my case
my machine is Ubuntu 16.04 doesn't have cuda , fresh installed
i have installed thrift successfully including wangle , the error i have is related to frontend module
what i have done till now
1 -
2- try to compile the using
g++ -I /usr/include/python2.7 -I fbthrift -std=c++14 -fpic -shared -o frontend.so compiler.cc -lboost_python -lpython2.7 -L/build/lib -lcompiler_base -lcompiler_ast -lboost_system -lboost_filesystem -lssl -lcrypto
could it not find frontend.so also i have an error related to relocation R_X86_64_32 against although i have added
in the CMakeLists.txt under fbthrift/thrift/compiler still the same error
how i can move forward in this case
The text was updated successfully, but these errors were encountered: