ustore
ustore copied to clipboard
Bug: no module found ustore.ucset
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?
- [X] I have searched the existing issues
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
@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?
@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.
@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'
'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.
@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.