infinispan / infinispan/python-client

ImportError: cannot import name 'VERSION' from 'Infinispan' (unknown location)

Open
#18 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
17
Forks
12
PR merge metrics
No merged PRs in 30d

Description

I installed the module as per README on my centos 7 with python 3.8.3.
If I try to import anything from the module I get errors.

I can import the module Infinispan but there are no objects I can use from it.

I also added the path to the `libhotrod.so.1.0` library to `LD_LIBRARY_PATH`.

Coming from version 1.0.0b1, I noticed that with the current version the module name now is Infinispan with capital I.
Example of imports that worked in version 1.0.0b1 and do not work anymore now (after changing infinispan to Infinispan):

```
from Infinispan.remotecache import RemoteCache
from Infinispan.remotecache import RemoteCacheError
from Infinispan.remotecache import MAX_VINT as MAX_ENTRY_FIELD_SIZE
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the README installation and import instructions, then inspect the Infinispan package layout and its handling of libhotrod.so.1.0. Reproduce the imports on Python 3.8.3 with the library path configured; done means the documented module imports expose the expected RemoteCache, RemoteCacheError, and MAX_VINT objects.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.