-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install airavata-mft with Python3.11 #104
Comments
I ran into this with the airavata-django-portal-sdk, I found the following versions to work well (this was 6 months ago):
Also, with the SDK we needed to support Python 3.6, but I wouldn't recommend that for MFT. |
Description To reproduce
The same can be seen in the following screenshot.
After installing But the installation failed with the following error. This error can be seen in the following screenshot Expected Behavior Additional Context 1 Additional Context 2
|
I think the problem is here: https://github.com/apache/airavata-mft/blob/master/python-sdk/pyproject.toml#L20. The pyproject.toml requires specific versions of grpcio and grpcio-tools, so even though you've already upgraded them, it reverts to these older versions. I think you could try just removing grpcio and grpcio-tools from the requires list in pyproject.toml. |
Thank you so much. It worked. I removed grpcio and grpcio-tools from pyproject.toml in the python-sdk folder and built the sdk locally. It got installed successfully. |
Closing this as the issue was resolved |
how do you do that? I can't find the file on my local files. |
Describe the bug
Unable to install airavata-mft with Python3.11. I get the following errors:
-> ERROR: Could not build wheels for grpcio, grpcio-tools, which is required to install pyproject.toml-based projects
To Reproduce
To reproduce,
python3.11 -m venv <path>
source <path>/bin/activate
python3.11 -m pip install airavata-mft-cli
Expected behavior
To install successfully
Additional context 1
System Configuration:
2.4 GHz 8-Core Intel Core i9
macOS Ventura Version 13.4
3.11.4
Additional context 2
Even though this issue is for M1/M2 Macs, I found this issue similar to the above error. This issue had a solution which is to install a specific version of grpcio and grpcio-tools. But installing those gave an error in python3.11
On entering the following to the testvenv activated above:
python3.11 -m pip install grpcio==1.47.0rc1
I got the following error
I tried the second command in the solution of this issue.
On entering the following to the testenv activated above:
python3 -m pip install grpcio-tools==1.47.0rc1
I got the following error
Additional context 3
I was able to successfully install the airavata-mft after downgrading to python3.10. Since I was not able to install airavata-mft with python3.11, I am posting this issue.
EDIT: Added backslashes before < and > in the markdown so that <path> is visible in step 3 and step 4 of the "To Reproduce" section.
The text was updated successfully, but these errors were encountered: