[PYTHON] The story of not being able to run pygame with pycharm

A programming beginner has been studying python for the first time for a month. Let's try pygame when we can understand the basic operation somehow! And determined. It is a record of what happened while preparing the environment.

"Python programming that you can enjoy learning while making games" When I try to execute the display part of the game window ...

Traceback (most recent call last):
  File "C:/Users//PycharmProjects/projects/test1.py", line 1, in <module>
    import pygame
ModuleNotFoundError: No module named 'pygame'

Is displayed and I can't move forward in one line ... When I'm researching various pycharm キャプチャ.PNG

Click + on the right It was said that it cannot be imported unless a specific module is added from the module list.

Since I am a beginner, I didn't understand anything and realized my lack of study.

Recommended Posts

The story of not being able to run pygame with pycharm
[Note] A story about not being able to break through a proxy with pip
The story of trying to reconnect the client
The story of adding MeCab to ubuntu 16.04
The story of pep8 changing to pycodestyle
The story of trying to push SSH_AUTH_SOCK obsolete on screen with LD_PRELOAD
The story of doing deep learning with TPU
Story of trying to use tensorboard with pytorch
The story of moving from Pipenv to Poetry
The story of making soracom_exporter (I tried to monitor SORACOM Air with Prometheus)
The story of stopping the production service with the hostname command
The story of replacing Nvidia GTX 1650 with Linux Mint 20.1.
Add information to the bottom of the figure with Matplotlib
Run with CentOS7 + Apache2.4 + Python3.6 for the time being
The story of sharing the pyenv environment with multiple users
The story of sys.path.append ()
Not being aware of the contents of the data in python
Try to get the contents of Word with Golang
The story of trying to contribute to COVID-19 analysis with AWS free tier and failing
The story of wanting to buy Ring Fit Adventure
The story of using circleci to build manylinux wheels
The story of debugging in the local environment because the compilation did not work with Read the Docs
I tried to find the entropy of the image with python
Specify the project name of docker-compose with Docker integration of Pycharm
The story of implementing the popular Facebook Messenger Bot with python
I tried to find the average of the sequence with TensorFlow
The story of introducing jedi (python auto-completion package) to emacs
Run the intellisense of your own python library with VScode.
Settings to debug the contents of the library with VS Code
The story of displaying images with OpenCV or PIL (only)
How to run the Export function of GCP Datastore automatically
The story of rubyist struggling with python :: Dict data with pycall
Try to automate the operation of network devices with Python
Until the start of the django tutorial with pycharm on Windows
A story about how to deal with the CORS problem
The story of copying data from S3 to Google's TeamDrive
After all, the story of returning from Linux to Windows
[Python] Tensorflow 2.0 did not support Python 3.8, so the story of downgrading Python
The story that the private key is set to 600 with chmod
The story of making a question box bot with discord.py
Get the source of the page to load infinitely with python.
Try to extract the features of the sensor data with CNN
The story of building Zabbix 4.4
Run python with PyCharm (Windows)
[Apache] The story of prefork
To run gym_torcs with ubutnu16
I was addicted to not being able to get an email address from google with django-allauth authentication
I want to get the name of the function / method being executed
A story stuck with the installation of the machine learning library JAX
Save the results of crawling with Scrapy to the Google Data Store
Become familiar with (want to be) around the pipeline of spaCy
March 14th is Pi Day. The story of calculating pi with python
I tried to automate the watering of the planter with Raspberry Pi
How to get the ID of Type2Tag NXP NTAG213 with nfcpy
A story that struggled to handle the Python package of PocketSphinx
[Introduction to StyleGAN] I played with "The Life of a Man" ♬
Try to solve the N Queens problem with SA of PyQUBO
I want to output the beginning of the next month with Python
Output the contents of ~ .xlsx in the folder to HTML with Python
Consider the speed of processing to shift the image buffer with numpy.ndarray
The story of making a standard driver for db with python.