Skip to content
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

Bug: no module found ustore.ucset #383

Open
2 of 3 tasks
Amrosx opened this issue Jun 21, 2023 · 5 comments
Open
2 of 3 tasks

Bug: no module found ustore.ucset #383

Amrosx opened this issue Jun 21, 2023 · 5 comments
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@Amrosx
Copy link

Amrosx commented Jun 21, 2023

Describe the bug

I am trying to run Ustore but unfortunately there is no clear docs
I got problem with ucset is not defined

~/ustore$ python3 python/examples/browser.py
Traceback (most recent call last):
  File "python/examples/browser.py", line 3, in <module>
    import ustore.ucset as ustore
ModuleNotFoundError: No module named 'ustore.ucset'

Steps to reproduce

I tried to do cmake but also it doesn't work

Expected behavior

python3.8

ustore in /home/user/.local/lib/python3.8/site-packages (1.7.5)
pyaes in /home/user/.local/lib/python3.8/site-packages (from ustore) (1.6.1)

UStore version

1.6.1

Operating System

ubuntu 20

Hardware architecture

x86

Are you using an embedded version?

  • I use the embedded version

Which interface are you using?

Native C interface

Which engine are you using?

UCSet

Contact Details

No response

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Amrosx Amrosx added bug Something isn't working invalid This doesn't seem right labels Jun 21, 2023
@ashvardanian
Copy link
Contributor

@Amrosx sorry it's a but cumbersome, we are refactoring the builds to get back to regular releases, and there is some version mismatch there.

Are other backends also unavailable? Have you tried ukv.ucset? Any advice, @davvard and @DarvinHarutyunyan?

@DarvinHarutyunyan
Copy link
Contributor

@Amrosx sorry it's a but cumbersome, we are refactoring the builds to get back to regular releases, and there is some version mismatch there.

Are other backends also unavailable? Have you tried ukv.ucset? Any advice, @davvard and @DarvinHarutyunyan?

To determine the problem, we need answers to the above questions. But there are problems related to the use of 'ukv' and 'ustore' python packages. For example, if you install both packages and then uninstall 'ustore', in special cases the components of the 'ukv' package may also be deleted.

@Amrosx
Copy link
Author

Amrosx commented Jun 22, 2023

@DarvinHarutyunyan may I know in which version of python is working with ukv fine?
And which version of ukv is stable?
I really got confused about ukv, ustore, ucset, unum
for example when I install ukv I couldn't call ustore or ucset
or import ustore.ucset as ustore ucset module not available

 import ustore.ucset as ustore
ModuleNotFoundError: No module named 'ustore.ucset'

@DarvinHarutyunyan
Copy link
Contributor

'ukv' works fine with python version 3.7, 3.8, 3.9 and 3.10. the stable version of 'ukv' is its latest version of python package.

@Arman-Ghazaryan
Copy link
Contributor

@Amrosx
you need to do:

pip install ukv

import ustore.ucset as ustore

"ucset" is not a module to import, it's a part of ustore.
Try the above example, it should work.
If you will get same error try to create new environment install there python(>=3.9) and ukv and try it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

4 participants