Skip to content
This repository has been archived by the owner on Aug 12, 2019. It is now read-only.

Not able to start the bot #5

Closed
AkumaNoTsubasa opened this issue Oct 1, 2018 · 1 comment
Closed

Not able to start the bot #5

AkumaNoTsubasa opened this issue Oct 1, 2018 · 1 comment

Comments

@AkumaNoTsubasa
Copy link

AkumaNoTsubasa commented Oct 1, 2018

$ python discord_pob.py
Traceback (most recent call last):
File "discord_pob.py", line 2, in
from src.bot.discord_bot import bot
File "C:\Discord Bot\POB\src\bot\discord_bot.py", line 6, in
import discord
File "C:\Program Files (x86)\Python37-32\lib\site-packages\discord_init_.py", line 20, in
from .client import Client, AppInfo, ChannelPermissions
File "C:\Program Files (x86)\Python37-32\lib\site-packages\discord\client.py", line 38, in
from .state import ConnectionState
File "C:\Program Files (x86)\Python37-32\lib\site-packages\discord\state.py", line 36, in
from . import utils, compat
File "C:\Program Files (x86)\Python37-32\lib\site-packages\discord\compat.py", line 32
create_task = asyncio.async
^
SyntaxError: invalid syntax

This is all I get when I try to start the bot.
Is there anything I can do ?

@FWidm
Copy link
Owner

FWidm commented Oct 1, 2018

Hi, according to the python discord bot library I am currently using this is due to import becoming a keyword in python 3.7 more info here.

So I'd recommend installing anything between python 3.4 and 3.6 and it should work flawlessly. Let me know if you need more help.

@FWidm FWidm closed this as completed Oct 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants