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

Cant import Channel from discord #65

Closed
downloadpizza opened this issue Sep 16, 2018 · 4 comments
Closed

Cant import Channel from discord #65

downloadpizza opened this issue Sep 16, 2018 · 4 comments

Comments

@downloadpizza
Copy link

When i try to start discurses i get this error:

➜ discurses
Traceback (most recent call last):
  File "/usr/bin/discurses", line 7, in <module>
    from discurses.__main__ import main
  File "/usr/lib/python3.7/site-packages/discurses/__main__.py", line 1, in <module>
    from . import discord
  File "/usr/lib/python3.7/site-packages/discurses/discord.py", line 7, in <module>
    from discord import Channel, Message
ImportError: cannot import name 'Channel' from 'discord' (/usr/lib/python3.7/site-packages/discord/__init__.py)

@zawaddewan
Copy link

I am getting a similar error as well

@ghost
Copy link

ghost commented Sep 23, 2018

If you're using Python 3.7, uninstall it and install Python 3.6
Also, make sure you installed discord.py just to be safe:
python3 -m pip install -U discord.py

See:
Rapptz/discord.py#1565
Rapptz/discord.py#1249
#60

@snus-kin
Copy link
Contributor

Hey @topisani @Ge0 I think this can be closed as well?

@Ge0 Ge0 closed this as completed Jan 30, 2019
@lukecograph
Copy link

I've followed all the instructions here as well as the readme, and still am getting this error also. Python 3.6.7 on Ubuntu 18.04

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

5 participants