-
Notifications
You must be signed in to change notification settings - Fork 53
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
import error #8
Comments
How are you building the application? The only mode currently supported by Riegeli is with bazel (and I admit that bazel’s way of importing other projects is currently awkward, requiring a WORKSPACE listing all transitive dependencies). There is an effort to make a PIP-installable package with Riegeli but this is not done yet. |
@QrczakMK I changed to the python dir of riegeli-master, and run 'python setup.py build' and 'python setup.py install'. I want to use it in python |
any estimate on when there will be pip support? |
For building the package yourself, if you have TensorFlow installed (which should not really be a hard requirement but currently there is no option to skip TensorFlow-dependent stuff — this will change), then './configure' and 'python python/setup.py build' works (sdist and bdist too). The resulting package did not install for me though, complains about lack of setup.py inside… I am sorry, this will need someone more knowledgeable to debug. I am not sure what is supposed to work and what not — I have no experience with Python packaging, only with regular Python coding, and during coronavirus times I am with this alone. |
I'm facing the exact same issue. "'./configure' and 'python python/setup.py build' " doesn't work in my case. Anyone able to import riegeli? |
Simply import riegeli gives me this error:
Traceback (most recent call last):
File "test.py", line 22, in
import riegeli
File "build/bdist.linux-x86_64/egg/riegeli/init.py", line 21, in
ImportError: cannot import name record_position
The text was updated successfully, but these errors were encountered: