PolyMarsDev / Flappuccino

A Pygame game made in 48 hours
354 stars 127 forks source link

Not working on Linux (Ubuntu 20.04.2 LTS) #20

Closed JeremyStarTM closed 3 years ago

JeremyStarTM commented 3 years ago

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 commented 3 years ago

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

firefish111 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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

firefish111 commented 3 years ago

well try installing it locally then, locally in the directory

phoebe-leong commented 3 years ago

@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 commented 3 years ago

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

firefish111 commented 3 years ago

no u