

Now that our interpreter is setup all we need to do is create a new python file and create a configuration for it. Now click OK until you are redirected to the project view inside P圜harm. Inside your environment folder select pythonw.exe. Now navigate to your environment (mine is called disc).

Step 3: Find your Anaconda folder (default location is C:\Users\Your_User\Anaconda\) select the "envs" folder. Step 2: Select conda environment and again click the three dots. Then click the three dots on the right (outlined in red below). Step 1: Create a new project and select the existing interpreter option. Once you've downloaded P圜harm you need to create a new project and configure the interpreter. P圜harm is an IDE(Integrated Development Environment) that has many useful features and tools we can utilize. If you haven't done so already please download and install Pycharm. Once your environment is activated type the following. To install the correct version of discord.py we need to clone a GitHub repository containing it. If you named your environment something else activate that name. To do this we need to open our command prompt and type the following.Īfter the environment has been created we can activate by doing the following. Import Discord.py Creating a Anaconda EnviormentĪfter downloading Anaconda we need to create a conda environment that will hold all of our packages. Install discord.py into that environment using pip (pip install -U Configure the pycharm interpreter to use the environment you created Create a new conda enviorment using python 3.6 The steps that need to be followed are outlined below.

There are many different ways to go about installing Discord.py rewrite but I am choosing do to so through Anaconda and to use P圜harm as my IDE.

Note: Currently Discord.py rewrite is only supported on Python 3.6 and lower. For this tutorial we will use the rewrite version as it is newer and will be used in the future. One is an older stable version and the other is known as Discord.py rewrite. At the time of creating this tutorial there is two versions of Discord.py.
