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 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
+ 3
Pycharm doesn't import Python's path automatically and these are the possible issues
1. You have mutiple versions of python installed
It's possible pygame is installed in some other version and pycharm is using different version
2. You installed pygame in a virtual environment and when working with it from pycharm, you didn't activate the environment
+ 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
Hot today
Error in Program
1 Votes
SQL
1 Votes
BMI calculator code project
0 Votes
How to create a border
0 Votes
please help me to solve it..
1 Votes