Skip to content
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

Release 1.2.1 breaks Python 3.8 #47

Closed
brentyi opened this issue Jun 4, 2024 · 0 comments · Fixed by #48
Closed

Release 1.2.1 breaks Python 3.8 #47

brentyi opened this issue Jun 4, 2024 · 0 comments · Fixed by #48

Comments

@brentyi
Copy link

brentyi commented Jun 4, 2024

Hello!

It looks like this line:

_Path = typing.Union[str, os.PathLike[str]]

breaks Python 3.8, because os.PathLike[str] isn't subscriptable.

Here's the full error:

>>> import mediapy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/brentyi/miniconda3/envs/py38/lib/python3.8/site-packages/mediapy/__init__.py", line 191, in <module>
    _Path = typing.Union[str, os.PathLike[str]]
TypeError: 'ABCMeta' object is not subscriptable

cc nerfstudio-project/nerfstudio#3189

hhoppe added a commit to hhoppe/mediapy that referenced this issue Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant