hyperledger / hyperledger/fabric-sdk-py

Unable to import Client in fabric-sdk-py version 0.9.0

Open
#101 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
416
Forks
203
PR merge metrics
No merged PRs in 30d

Description

I am using the following system configuration:

1. Python version 3.7.7
2. fabric-sdk-py version **0.9.0 (built from source - master branch)**
3. Debian OS - Buster 10
4. grpcio version 1.20.1

While importing `Client` using this command `from hfc.fabric.client import Client`, I get the following error:
`ImportError: cannot import name '_MultiThreadedRendezvous' from 'grpc._channel' `

But when I install fabric-sdk-py using `pip install fabric-sdk-py` which results in fabric-sdk-py version of **0.8.1**, I did not get any error when importing `Client`.

Looks like there is bug/compatibility issue with grpc and the fabric-sdk-py built from the master branch.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.