Unable to create and join a channel correctly in hyper ledger fabric using python
famakinolawole opened this issue · 0 comments
Hello I am working on a thesis project based on block chain tech. I am developing using Hyperledger fabric python language.
based on this documentation : https://fabric-sdk-py.readthedocs.io/en/latest/tutorial.html
Basically i have been able to :
start my fabric network
Create connection profile
start ca instance server
Create users
revoke users based on certificates
Now I am trying to create a channel and join this channel, but i keep falling into an error as below
configtxgen not in path configtxgen empty
The error above points to the fact that configtx.yaml is not found
What i have tried to solve this?
I have tried setting the path of FABRIC_CFG_PATH to environment as below
export FABRIC_CFG_PATH=Users/*******/Documents/hyper/fabric-sdk-py/fabric-samples/bin:$PATH
export FABRIC_CFG_PATH="$HOME/documents/hyper/fabric-sdk-py/fabric-samples/bin:$PATH"
export FABRIC_CFG_PATH=$HOME/documents/hyper/fabric-sdk-py/test/fixtures/e2e_cli/:$PATH
export FABRIC_CFG_PATH=/home/**********/documents/hyper/fabric-sdk-py/test/fixtures/e2e_cli/$PATH
I am still unable to fix this, i need help please