In this book, we use PyCharm as our preferred IDE because of its unique design focusing on the Python programming language alone. The next steps are specifically used in two scenarios, namely, using an already-existing Conda environment and a system-wide setting. If you prefer a different IDE, you can still use these steps as a reference because the procedure is very similar. To configure PyCUDA with PyCharm, we will revisit the two methods of installing packages as discussed in the previous chapter.
Configuring PyCUDA on your Python IDE
Conda-based virtual environment
Now let's create a virtual environment with conda as a new PyCharm pure Python project. Perform the following steps to create and configure the environment...