Ask coding questions

← Back to all posts
jonnyb2244 (2)

Traceback (most recent call last):
File "", line 1, in <module>
import discord
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/", line 25, in <module>
from .client import Client
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/", line 27, in <module>
import asyncio
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/asyncio/", line 21, in <module>
from .base_events import *
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/asyncio/", line 296
future = tasks.async(future, loop=self)
SyntaxError: invalid syntax
 pls help me, fix it.

OrangeTriangle (0)

i fixed it, are u using a package which is called TenGiphPy?

OrangeTriangle (0)

@jonnyb2244 oh are u making a discord bot?

TigerTheCat (40)

Sorry, but there is something wrong with asyncio. Maybe you should try some other module. Sorry that I couldn't help much!