infinispan / infinispan/python-client

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

Ouverte
#18 2 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
Langage dominant
C++
Étoiles
17
Forks
12
Métriques de merge des PR
Aucune PR mergée en 30 j

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
```

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Commencez par les instructions d’installation et d’importation du README, puis examinez la structure des packages d’Infinispan et la manière dont il gère libhotrod.so.1.0. Reproduisez les imports avec Python 3.8.3 et le chemin de la bibliothèque configuré ; la tâche est terminée lorsque les imports de modules documentés exposent les objets attendus RemoteCache, RemoteCacheError et MAX_VINT.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
distributed-systems
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
30/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.