Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on Linux (Ubuntu 20.04.2 LTS) #20

Closed
JeremyStarTM opened this issue Jun 15, 2021 · 8 comments
Closed

Not working on Linux (Ubuntu 20.04.2 LTS) #20

JeremyStarTM opened this issue Jun 15, 2021 · 8 comments

Comments

@JeremyStarTM
Copy link

JeremyStarTM commented Jun 15, 2021

Hi, I'm running GNU/LInux Ubuntu 20.04.2 LTS with the KDE Plasma Desktop.
I ran from source and installed pygame. But when I run Flappuccino, this error comes up (full log output):
jeremystartm@StarPC:~/Flappuccino$ python3 main.py
pygame 2.0.1 (SDL 2.0.14, Python 3.8.5)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "main.py", line 4, in
from .player import Player
ImportError: attempted relative import with no known parent package

Info: Bold = Command | Italic = Command output

@firefish111
Copy link

The fact that you chose Ubuntu as your distribution says everything.

@firefish111
Copy link

firefish111 commented Jun 21, 2021

Also, you can buy triple Backtick's dont look at edits, I hate autocorrect above and below to do this

Monospace
J
H
H
G

@phoebe-leong
Copy link

Hi, I'm running GNU/LInux Ubuntu 20.04.2 LTS with the KDE Plasma Desktop.
I ran from source and installed pygame. But when I run Flappuccino, this error comes up (full log output):
jeremystartm@StarPC:~/Flappuccino$ python3 main.py
pygame 2.0.1 (SDL 2.0.14, Python 3.8.5) Hello from the pygame community. https://www.pygame.org/contribute.html Traceback (most recent call last): File "main.py", line 4, in from .player import Player ImportError: attempted relative import with no known parent package

Info: Bold = Command | Italic = Command output

literally search up how to install pygame on ubuntu dont make an issue on the github

@JeremyStarTM
Copy link
Author

@phoebe-leong, thanks for not helping me at all. The thing wont even say anything when pygame is not installed with pip3.

@firefish111
Copy link

well try installing it locally then, locally in the directory

@phoebe-leong
Copy link

@phoebe-leong, thanks for not helping me at all. The thing wont even say anything when pygame is not installed with pip3.

you might have to directly download pygame from the github.

@JeremyStarTM
Copy link
Author

Okay, thanks @phoebe-leong, I could try that one.

@firefish111
Copy link

no u

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants