Closed Kolhax closed 3 months ago
Can you please pull latest version from Git and re-fetch dependencies using pip install -r requirements.txt
C:\Users\my-pc2\Downloads\music bot\harmonoid-music-bot>py main.py
Traceback (most recent call last):
File "C:\Users\my-pc2\Downloads\music bot\harmonoid-music-bot\main.py", line 1, in <module>
from commands import *
File "C:\Users\my-pc2\Downloads\music bot\harmonoid-music-bot\commands\__init__.py", line 1, in <module>
import discord
File "C:\Users\my-pc2\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\__init__.py", line 25, in <module>
from .client import Client
File "C:\Users\my-pc2\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\client.py", line 53, in <module>
from .webhook import Webhook
File "C:\Users\my-pc2\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\webhook\__init__.py", line 12, in <module>
from .async_ import *
File "C:\Users\my-pc2\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\webhook\async_.py", line 46, in <module>
from ..http import Route, handle_message_parameters, MultipartParameters, HTTPClient
ImportError: cannot import name 'handle_message_parameters' from 'discord.http' (C:\Users\my-pc2\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\http.py)
C:\Users\my-pc2\Downloads\music bot\harmonoid-music-bot>
This is certainly weird. I do not recommend installing it barebones on your system, but rather using stable Docker image.
We are still confused from pycord
migration, but as I've tested it, it works on my system.
I certainly cannot guess what's issue with your system. Maybe you have installed discord.py
and pycord
. Maybe you have too old version of pycord
. In any case I'd suggest you to update packages or rather use Docker image in WSL or HyperV (for Windows).
Thank you so much
Closing. It's working as of the newest release (at least in the latest Docker image). Please open a new issue in case of any further issues.