iopath does not support Python<3.8 anymore
See original GitHub issueThis commit https://github.com/facebookresearch/iopath/commit/f4e103f310434f4a70aba519a7a40fe28c4bc093 introduces
from typing import Protocol
which is only available after python 3.8. https://docs.python.org/3/library/typing.html#typing.Protocol
Please fix this as it has broken downstream projects that rely on iopath, e.g. https://github.com/facebookresearch/detectron2/runs/5100428039?check_suite_focus=true
In general, please revamp the open source CI and enable it so such issues can be caught: https://github.com/facebookresearch/iopath/blob/main/.circleci/config.yml
cc @sujitoc
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Can't install detectron2 anymore · Issue #4386 - GitHub
hey, im running my colab cell to install detectron2, which always worked. Strangely, it doesn't anymore. The cell looks like: # READ THE ......
Read more >Unable to upgrade Python 3.8.10 to 3.10 - SOLVED
I'm running Mint and tried to force up-grade P3.6 to P3.8. ... If you notice in the result, there is no Python3.10 executable...
Read more >his error originates from a subprocess, and is likely not a ...
Solution 1. After many failed tentatives, what fixed the problem for me was executing: Python 3. 9. 8 (tags/v3. 9. 8 :bb3fdcf ...
Read more >Install Python 3.8 kernel in Google Colaboratory
I have found how to run Python 3.8 notebook on Colab. install Anaconda3; add (fake) google.colab library; start jupyterlab; access it with ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @sujitoc , thanks a lot for fixing this issue using
typing_extensions
! However it appears that there is still another incompatibility with python<3.8. There is a failure that can be seen in the CI https://app.circleci.com/pipelines/github/facebookresearch/iopath/1/workflows/d79b49f1-5f0f-4ff4-8d65-ed8a35c0aa93/jobs/2:Looking at the list of tags in https://github.com/python/cpython/commit/de2aea0ff02fa9486365ce9d215bef150fae3a0b, this is a syntax that’s supported only since Python3.8.
We will fix it by using typing_extensions instead of typing.