Can you help? #359
-
Traceback (most recent call last): File "main.py", line 1, in import discord, json, random, time File "C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\discord_init_.py", line 25, in from .client import Client File "C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\discord\client.py", line 53, in from .webhook import Webhook File "C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\discord\webhook_init_.py", line 12, in from .async_ import * File "C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\discord\webhook\async_.py", line 46, in from ..http import Route, handle_message_parameters, MultipartParameters, HTTPClient, json_or_text ImportError: cannot import name 'handle_message_parameters' from 'discord.http' (C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\discord\http.py) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is what happens when you install both discord.py-self and discord.py or another fork in the same environment. Uninstall both and only install one or the other. If you need both, use venvs or the renamed branch. |
Beta Was this translation helpful? Give feedback.
This is what happens when you install both discord.py-self and discord.py or another fork in the same environment. Uninstall both and only install one or the other.
If you need both, use venvs or the renamed branch.