diezo / Ensta

🔥 Fast & Reliable Python Package For Instagram API - 2024
https://bit.ly/ensta-discord
MIT License
371 stars 44 forks source link

TypeError: 'type' object is not subscriptable #51

Closed Dodutils closed 10 months ago

Dodutils commented 10 months ago

Hello,

I just installed Ensta fine but if I want to test on of the examples I get a TypeError :

Traceback (most recent call last): File "test2.py", line 1, in from ensta import Host File "/home/test/.local/lib/python3.8/site-packages/ensta/init.py", line 1, in from ensta.Guest import Guest File "/home/test/.local/lib/python3.8/site-packages/ensta/Guest.py", line 6, in from .containers.Profile import Profile File "/home/test/.local/lib/python3.8/site-packages/ensta/containers/init.py", line 2, in from .Profile import Profile File "/home/test/.local/lib/python3.8/site-packages/ensta/containers/Profile.py", line 5, in class Profile: File "/home/test/.local/lib/python3.8/site-packages/ensta/containers/Profile.py", line 24, in Profile pronouns: list[str] = None, TypeError: 'type' object is not subscriptable

Any idea ?

Regards.

diezo commented 10 months ago

you just have to download the latest version of python on your system from here and you should be good to go.

also, don't forget to star this repository if you like ensta, so that other developers can know about it as well.

thanks

arijit4 commented 10 months ago

@diezo isn't the package available for python 3.11?

diezo commented 10 months ago

@arijit4 there's nothing like that. you can use any python version, but it's recommended to use the latest one so to avoid any unexpected error.

arijit4 commented 10 months ago

@diezo mailed you for a specific need. Can you kindly check/

Dodutils commented 10 months ago

Upgraded from Python 3.8 to 3.10 now it works thanks

diezo commented 10 months ago

@arijit4 i've read your mail. i think the best way is to connect on discord. my discord: @notdiezo

thankyou