Discord.py: PyCharm does not sees discord.py

Created on 27 Sep 2019  路  4Comments  路  Source: Rapptz/discord.py

Summary

i recently downloaded pycharm on my second hard disk the D: (python is installed there too)
and when i open my file (.py) my discord bot it says that discord is not a module something like that


pycharm does not see discord.py

Reproduction Steps

I installed and i thought that the program will see python and the other pips but it did not happen so i need help

idk what does that mean

Expected Results

i wanted to finish my discord bot on pycharm, expected to see everything working fine

Actual Results

pycharm does not sees python and discord.py

Checklist

  • [x ] I have searched the open issues for duplicates.
  • [ ] I have shown the entire traceback, if possible.
  • [ ] I have removed my token from display, if visible.

System Information


  • Python v3.7.4-final
  • discord.py v1.2.3-final
  • aiohttp v3.5.4
  • websockets v6.0
  • system info: Windows 10 10.0.18362
off-topic

Most helpful comment

by the way im not the best programmer ever, its a funny and easy bot to make based on replies

All 4 comments

by the way im not the best programmer ever, its a funny and easy bot to make based on replies

PyCharm uses a venv (virtual environment) and will not share the modules you have with your main python. You can see how to add modules here: https://www.jetbrains.com/help/pycharm/installing-uninstalling-and-upgrading-packages.html

you should go to your pycharm settings, go to the thing that says project name, and select interpreter. On the top of the settings window, there will be a dropdown menu. In that, put in the path to your python modules. On Linux/macOS, this would look like /usr/local/bin/python3.7 or something.

This is not an issue with discord.py.
GitHub issues for this repository should be used to report issues with this library.
They are not a medium for requesting help with PyCharm.
For further help specific to using this library, you should join either the official discord.py server or the Discord API server, as the README also links.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PicklesJars picture PicklesJars  路  3Comments

j0hnmeow picture j0hnmeow  路  3Comments

Rimmy50 picture Rimmy50  路  3Comments

synbitz picture synbitz  路  3Comments

Be4Vision picture Be4Vision  路  3Comments