Rapptz / discord.py

An API wrapper for Discord written in Python.
http://discordpy.rtfd.org/en/latest
MIT License
14.76k stars 3.75k forks source link

Syntax error #1393

Closed Leviaph closed 6 years ago

Leviaph commented 6 years ago

C:\Users\Sydney\Downloads\PokeBall-SelfBot-master\PokeBall-SelfBot-master>py -3 launcher.py Traceback (most recent call last): File "launcher.py", line 2, in from pokeball import PokeBall File "C:\Users\Sydney\Downloads\PokeBall-SelfBot-master\PokeBall-SelfBot-master\pokeball.py", line 2, in import discord File "C:\Users\Sydney\AppData\Local\Programs\Python\Python37\lib\site-packages\discord__init__.py", line 20, in from .client import Client, AppInfo, ChannelPermissions File "C:\Users\Sydney\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\client.py", line 38, in from .state import ConnectionState File "C:\Users\Sydney\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\state.py", line 36, in from . import utils, compat File "C:\Users\Sydney\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\compat.py", line 32 create_task = asyncio.async ^ SyntaxError: invalid syntax

C:\Users\Sydney\Downloads\PokeBall-SelfBot-master\PokeBall-SelfBot-master>timeout -1

Press any key to continue ...

01X2 commented 6 years ago

The 0.16 branch of the lib doesn't support python3.7. Downgrade to 3.6.

Harmon758 commented 6 years ago

This is a duplicate of #1249.

Harmon758 commented 6 years ago

I'm not exactly sure what you're asking, but for further help, you should join either the official discord.py server or the Discord API server, as the README recommends.