You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "AYPfzU92g7M4aH39-ODVPzqxll48V (via GitHub)" <gi...@apache.org> on 2023/06/20 15:33:19 UTC

[GitHub] [airavata-mft] AYPfzU92g7M4aH39-ODVPzqxll48V opened a new issue, #104: Unable to install airavata-mft with Python3.11

AYPfzU92g7M4aH39-ODVPzqxll48V opened a new issue, #104:
URL: https://github.com/apache/airavata-mft/issues/104

   **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 <br />
   
   **To Reproduce**
   To reproduce, <br />
   1) Install python3.11 <br />
   2) If you have already installed airavata-mft, create a virtual environment with python3.11. <br />
   3) To create venv: <code> python3.11 -m venv <path> </code> <br />
   4) To activate venv: <code> source <path>/bin/activate </code> <br />
   5) <code> python3.11 -m pip install airavata-mft-cli </code>
   6) Error I got is shown in the following screenshot.
   
   <img width="1536" alt="Screenshot 2023-06-20 at 10 51 33 AM" src="https://github.com/apache/airavata-mft/assets/124709697/7641650d-de5a-4fb9-b2da-5cedf8b6afb2">
   
   
   **Expected behavior**
   To install successfully <br />
   
   **Additional context 1**
   System Configuration: <br />
   1) Processor: <code>2.4 GHz 8-Core Intel Core i9</code>
   2) Operating System: <code>macOS Ventura Version 13.4</code> 
   3) Python version: <code>3.11.4</code> <br />
   
   **Additional context 2**
   Even though [this](https://github.com/apache/airavata-mft/issues/71) 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<br />
   On entering the following to the testvenv activated above: <br/>
   <code>python3.11 -m pip install grpcio==1.47.0rc1</code> <br />
   I got the following error <br />
   <img width="1536" alt="Screenshot 2023-06-20 at 11 17 08 AM" src="https://github.com/apache/airavata-mft/assets/124709697/f422764b-a1ab-4076-8392-970c9fec1496">
   
   I tried the second command in the solution of [this](https://github.com/apache/airavata-mft/issues/71) issue.
   On entering the following to the testenv activated above: <br />
   <code>python3 -m pip install grpcio-tools==1.47.0rc1</code><br />
   I got the following error <br />
   
   <img width="1536" alt="Screenshot 2023-06-20 at 11 25 07 AM" src="https://github.com/apache/airavata-mft/assets/124709697/1758f4f0-c171-4c6c-a5b8-805645132d21">
   
   <br /><br />
   
   **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.
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@airavata.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Unable to install airavata-mft with Python3.11 [airavata-mft]

Posted by "ZhenmeiOng (via GitHub)" <gi...@apache.org>.
ZhenmeiOng commented on issue #104:
URL: https://github.com/apache/airavata-mft/issues/104#issuecomment-1947629514

   > 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.
   
   how do you do that? I can't find the file on my local files.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@airavata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airavata-mft] machristie commented on issue #104: Unable to install airavata-mft with Python3.11

Posted by "machristie (via GitHub)" <gi...@apache.org>.
machristie commented on issue #104:
URL: https://github.com/apache/airavata-mft/issues/104#issuecomment-1599248175

   I ran into this with the airavata-django-portal-sdk, I found the following versions to work well (this was 6 months ago):
   
       grpcio-tools==1.48.2 ; python_version < "3.7"
       grpcio-tools==1.51.1 ; python_version >= "3.7"
       grpcio==1.48.2 ; python_version < "3.7"
       grpcio==1.51.1 ; python_version >= "3.7"
   
   https://github.com/apache/airavata-django-portal-sdk/blob/master/requirements.txt#L8-L11
   
   Also, with the SDK we needed to support Python 3.6, but I wouldn't recommend that for MFT.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@airavata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airavata-mft] AYPfzU92g7M4aH39-ODVPzqxll48V commented on issue #104: Unable to install airavata-mft with Python3.11

Posted by "AYPfzU92g7M4aH39-ODVPzqxll48V (via GitHub)" <gi...@apache.org>.
AYPfzU92g7M4aH39-ODVPzqxll48V commented on issue #104:
URL: https://github.com/apache/airavata-mft/issues/104#issuecomment-1601062544

   **Description**
   Thank you for the reply. I installed the <code>grpcio 1.51.1</code> and <code>grpcio-tools 1.51.1</code> as I'm experimenting with python3.11 (>= "3.7"). The installations of <code>grpcio</code> and <code>grpcio-tools</code> were successful. But the installation of <code>airavata-mft-cli</code> failed.<br />
   
   
   
   **To reproduce**
   I ran the following commands to install them with the required versions.
   The commands used to install <code>grpcio</code> and <code>grpcio-tools</code> are: <br />
   1) <code>python3.11 -m pip install grpcio==1.51.1</code>
   2) <code>python3.11 -m pip install grpcio-tools==1.51.1</code>
   
   The same can be seen in the following screenshot. <br />
   
   <img width="1536" alt="Screenshot 2023-06-21 at 10 52 09 AM" src="https://github.com/apache/airavata-mft/assets/124709697/1a384cf4-a8ad-4cd3-98db-dd036f3d55f3">
   
   <br /> <br />
   
   After installing <code>grpcio</code> and <code>grpcio-tools</code>, I ran the following command to install the <code>airavata-mft-cli</code>
   -> <code>python3.11 -m pip install airavata-mft-cli</code>
   
   But the installation failed with the following error. 
   -> ERROR: Could not build wheels for grpcio, grpcio-tools, which is required to install pyproject.toml-based projects<br />
   This is the same error I got before too. <br />
   
   This error can be seen in the following screenshot <br />
   
   <img width="1536" alt="Screenshot 2023-06-21 at 11 14 48 AM" src="https://github.com/apache/airavata-mft/assets/124709697/d7926b15-3b54-457b-8e58-8a26b6a39b05">
   
   <br />
   
   **Expected Behavior**
   To install successfully <br /><br />
   
   **Additional Context 1**
   The System configuration is the same as the one mentioned in my [previous comment](https://github.com/apache/airavata-mft/issues/104#issue-1765660051) on this issue. <br />
   And, all the commands are executed in a virtual environment which was created using the steps mentioned in my [previous comment](https://github.com/apache/airavata-mft/issues/104#issue-1765660051) on this issue <br/> <br />
   
   **Additional Context 2**
   Before Installing <code>grpcio</code> and <code>grpcio-tools</code>
   I ran the following to uninstall all the previously installed versions of <code>grpcio</code> and <code>grpcio-tools</code>
   1) <code>python3.11 -m pip uninstall grpcio</code>
   2) <code>python3.11 -m pip uninstall grpcio-tools</code>
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@airavata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airavata-mft] machristie commented on issue #104: Unable to install airavata-mft with Python3.11

Posted by "machristie (via GitHub)" <gi...@apache.org>.
machristie commented on issue #104:
URL: https://github.com/apache/airavata-mft/issues/104#issuecomment-1601697422

   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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@airavata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airavata-mft] DImuthuUpe commented on issue #104: Unable to install airavata-mft with Python3.11

Posted by "DImuthuUpe (via GitHub)" <gi...@apache.org>.
DImuthuUpe commented on issue #104:
URL: https://github.com/apache/airavata-mft/issues/104#issuecomment-1685358575

   Closing this as the issue was resolved


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@airavata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airavata-mft] AYPfzU92g7M4aH39-ODVPzqxll48V commented on issue #104: Unable to install airavata-mft with Python3.11

Posted by "AYPfzU92g7M4aH39-ODVPzqxll48V (via GitHub)" <gi...@apache.org>.
AYPfzU92g7M4aH39-ODVPzqxll48V commented on issue #104:
URL: https://github.com/apache/airavata-mft/issues/104#issuecomment-1605194507

   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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@airavata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airavata-mft] AYPfzU92g7M4aH39-ODVPzqxll48V closed issue #104: Unable to install airavata-mft with Python3.11

Posted by "AYPfzU92g7M4aH39-ODVPzqxll48V (via GitHub)" <gi...@apache.org>.
AYPfzU92g7M4aH39-ODVPzqxll48V closed issue #104: Unable to install airavata-mft with Python3.11
URL: https://github.com/apache/airavata-mft/issues/104


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@airavata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airavata-mft] DImuthuUpe closed issue #104: Unable to install airavata-mft with Python3.11

Posted by "DImuthuUpe (via GitHub)" <gi...@apache.org>.
DImuthuUpe closed issue #104: Unable to install airavata-mft with Python3.11
URL: https://github.com/apache/airavata-mft/issues/104


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@airavata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org