Replies: 1 comment
-
You're using a version of asyncio (probably installed from PyPI) that's not the one from the standard library. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I just ran a example at this repo(with the token) and it makes a error(below)
Help!
(I'm running on repl.it. But it makes the same issue on my mac(intel)
Traceback (most recent call last): File "main.py", line 1, in <module> import discord File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/__init__.py", line 25, in <module> from .client import Client File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 27, in <module> import asyncio File "/opt/virtualenvs/python3/lib/python3.8/site-packages/asyncio/__init__.py", line 21, in <module> from .base_events import * File "/opt/virtualenvs/python3/lib/python3.8/site-packages/asyncio/base_events.py", line 296 future = tasks.async(future, loop=self) ^ SyntaxError: invalid syntax
Beta Was this translation helpful? Give feedback.
All reactions