#Hi I hope you could help me. I've just installed py-cord

1 messages · Page 1 of 1 (latest)

frank river
#

I'm trying to import discord but it's not working the error is: ModuleNotFoundError: No module named 'discord'

tough drum
#

can you show the pip list?

#

you might have 1.7.3 from pycord

frank river
#

aiohttp 3.7.4.post0
aiosignal 1.2.0
async-generator 1.10
async-timeout 3.0.1
attrs 21.4.0
beautifulsoup4 4.11.1
bs4 0.0.1
certifi 2022.6.15
cffi 1.15.0
chardet 4.0.0
charset-normalizer 2.0.12
cryptography 37.0.2
ffmpeg-python 0.2.0
frozenlist 1.3.0
future 0.18.2
greenlet 1.1.2
h11 0.13.0
idna 3.3
imageio-ffmpeg 0.4.7
MouseInfo 0.1.3
multidict 6.0.2
numpy 1.23.0
opencv-python 4.6.0.66
outcome 1.2.0
Pillow 9.2.0
pip 22.0.4
py-cord 1.7.3
PyAutoGUI 0.9.53
pycparser 2.21
PyGetWindow 0.0.9
PyMsgBox 1.0.9
pyOpenSSL 22.0.0
pyperclip 1.8.2
PyRect 0.2.0
PyScreeze 0.1.28
PySocks 1.7.1
python-dateutil 2.8.2
PythonTwitchBotFramework 2.4.8
pytweening 1.0.4
requests 2.28.0
selenium 4.3.0
setuptools 58.1.0
six 1.16.0
sniffio 1.2.0
sortedcontainers 2.4.0
soupsieve 2.3.2.post1
SQLAlchemy 1.4.39
trio 0.21.0
trio-websocket 0.9.2
typing_extensions 4.3.0
urllib3 1.26.9
websockets 10.3
wsproto 1.1.0
yarl 1.7.2

#

Yes

frank river
tough drum
#

uninstall the version

frank river
#

Ok

tough drum
#

and install pycord with
pip install py-cord==2.0.0rc1

frank river
#

Same issue

tough drum
#

after that restart the editor

frank river
frank river
#

^Still

#

^Nothing is wrong here:

#

But when I'm running the code

tough drum
#

you use pycharm?

frank river
frank river
tough drum
#

can you check if its 2.0.0rc1?

frank river
tough drum
#

weird

frank river
#

I'll try to create a new project ....

#

Same issue

frank river
tough drum
#

Im not sure if the problem is from pycharm

#

which python version do you use?

frank river
#

Ok..

tough drum
#

the python version if fine mhm

frank river
#

So you don't know?

#

Anyway thank you for your time.

tough drum
#

Im not sure if it a global installation

frank river
#

I've uninstalled pycharm

frank river
tough drum
#

That it what I mean with pycharm

charred wave
#

Try installing your packages through the built in menu

frank river
tough drum
#

and a github link?

frank river
#

Oh nvm

#

I think I found it

tough drum
#

oh

#

try it

frank river
#

Working

#

Ty guys

charred wave
#

Np

charred wave