infinispan / infinispan/python-client
ImportError: cannot import name 'VERSION' from 'Infinispan' (unknown location)
- Ngôn ngữ chính
- C++
- Star
- 17
- Fork
- 12
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
```
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Bắt đầu với các hướng dẫn cài đặt và import trong README, sau đó kiểm tra bố cục package của Infinispan và cách nó xử lý libhotrod.so.1.0. Tái hiện các import trên Python 3.8.3 với đường dẫn thư viện đã được cấu hình; hoàn thành khi các import module được ghi trong tài liệu cung cấp các đối tượng RemoteCache, RemoteCacheError và MAX_VINT như mong đợi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- distributed-systems
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 30/100