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
5 Respostas
+ 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