Discord.py: Can anyone help me how to fix this error?

Created on 26 Oct 2018  路  3Comments  路  Source: Rapptz/discord.py

import python
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'python'
import discord
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\PC\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord__init__.py", line 20, in
from .client import Client, AppInfo, ChannelPermissions
File "C:\Users\PC\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discordclient.py", line 38, in
from .state import ConnectionState
File "C:\Users\PC\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\state.py", line 36, in
from . import utils, compat
File "C:\Users\PC\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discordcompat.py", line 32
create_task = asyncio.async
^
SyntaxError: invalid syntax

duplicate

Most helpful comment

Duplicate of #1648, #1637, #1610, #1594, #1554, #1550, #1478, #1461, #1434, #1421, #1396, #1393, #1387, #1249, #1166, and #1116

All 3 comments

Duplicate of #1648, #1637, #1610, #1594, #1554, #1550, #1478, #1461, #1434, #1421, #1396, #1393, #1387, #1249, #1166, and #1116

Also #1401

Quick question, why are you importing Python _inside_ Python?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PicklesJars picture PicklesJars  路  3Comments

AraHaan picture AraHaan  路  3Comments

Nicba1010 picture Nicba1010  路  3Comments

jzburda picture jzburda  路  3Comments

danshat picture danshat  路  3Comments