0
Import pygame problem
Iv installed pygame using pip install, but Iv problem using it. When I import pygame on python (looks like it works), it spams this msg: "Hello from python community.."(smth like this),but when I import pygame on pycharm it shows an error.module error (I cant give better details as I have not right now). Hope someone will help me with that
4 Answers
+ 2
The computers at my school havenât updated to the latest Pycharm and Pygame works there. It doesnât work on my PC which is using the latest version, so those articles must be right
+ 2
I believe you must import pygame into pycharm through their import system. However, the latest pycharm doesnât actually work with pygame, so it wouldnât be worth the time. To import a module in pycharm, you can either use the built-in console to pip-install, or File->Settings->Project: ProjectName->Project Interpreter. Click the plus button near the right side of the screen and search for your module. Select it, and click Install Package (bottom, left)
+ 1
Jax I tryed that to, I tryed to import it through pycharm but it fails. *Im using python 3.8*
may its as you said: latest pycharm doesnt work with pygame.somewhere on my my google search Iv seen that,becouse its developing. *apologise for the grammar
+ 1
I fixed it -_- I didnt notice that my python was 32 bit and pycharm 64 bit. Once I installed python 64 it worked