Closed praneethchityala closed 1 year ago
It is causing because of the incompatibility of cpython versions.
Before installing airavata-mft-cli, install grpcio and grpcio-tools with the below commands:
"pip install grpcio==1.47.0rc1" "pip install grpcio-tools==1.47.0rc1"
The above installation will install the grpcio from the source and doesn't break the wheel. Refer to : https://github.com/grpc/grpc/issues/28387
Then install airavata-mft-cli: "pip install airavata-mft-cli"
After above installation deactivate the python venv by "deactivate" and reactivate by "source venv/bin/activate". (this step will make sure the use the libraries from venv we created instead of, if any global grpc already exists.)
Now on you should be able to use mft in this python environment.
This has solved the issue in my MacBook M1 pro.
This error is only specific to macbooks with apple silicon (M1/M2...)
Description
When trying work with mft after installing using "pip install airavata-mft-cli", unable to use mft with conflicts from gRPC libraries incompatible with arm64e architecture.
Steps to Reproduce
Create a python virtual environment by "python3.10 -m venv venv" Activate the above env "source venv/bin/activate" Install mft-client with "pip install airavata-mft-cli". Execute "mft --help" to generate the below error.
Expected Behaviour
It is expected to execute mft commands.
Your Environment
M1 MacBook Pro.