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

import fal_client: TypeError: 'type' object is not subscriptable #350

Closed
githubloader opened this issue Oct 30, 2024 · 2 comments · Fixed by #351
Closed

import fal_client: TypeError: 'type' object is not subscriptable #350

githubloader opened this issue Oct 30, 2024 · 2 comments · Fixed by #351

Comments

@githubloader
Copy link

githubloader commented Oct 30, 2024

Just curious if anyone else getting this error message after "import fal_client" in Python?

import asyncio
import fal_client

Traceback (most recent call last):
File "", line 1, in
File "/home/user/.local/share/virtualenvs/3Vf-bV_HfJWj/lib/python3.8/site-packages/fal_client/init.py", line 1, in
from fal_client.client import (
File "/home/user/.local/share/virtualenvs/3Vf-bV_HfJWj/lib/python3.8/site-packages/fal_client/client.py", line 23, in
AnyJSON = dict[str, Any]
TypeError: 'type' object is not subscriptable

Tried using just 'pip' and still the same error message.

My system:
Ubuntu 20.04.6 LTS
Python 3.8.10
pipenv, version 11.9.0
fal-client 0.5.4

@chamini2
Copy link
Member

thanks for the report, will fix it

@chamini2
Copy link
Member

Please upgrade to https://pypi.org/project/fal-client/0.5.5/ to get it working on python 3.8

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.

2 participants