ScottyLabs / HackerHelp

TartanHacks 2017 mentor request and dispatch system
1 stars 0 forks source link

Pymunk Installation Issue #8

Closed tw6987 closed 7 years ago

tw6987 commented 7 years ago

Hacker name(s): Varun Gudibanda, Thomas Wong Physical location: Hamerschlag House, 1st floor "Schtudy" Operating system(s): OSX El Capitan, Crouton (Linux on Chromebook) Programming Langugage: Python (pymunk, pygame)

Description

We are having issues installing and running pymunk. Example code from the pymunk website isn't running. The while loop runs properly, but no window appears with the simulation.

Screenshots

sad

skrulcik commented 7 years ago

Any chance you guys can come to Rangos?

skrulcik commented 7 years ago

Also, have you guys tried running from the command line instead of in IDLE? IDLE might not be the best for running a GUI

dsyang commented 7 years ago

It doesn't look like pymunk actually does any drawing for you. If you look at the examples in it's github repo it uses pygame to draw on screen. (https://github.com/viblo/pymunk/blob/master/examples/bouncing_balls.py)

skrulcik commented 7 years ago

When you say that the example from online doesn't run, what error does it put out?

I'm guessing there is an import error with PyGame, can you import PyGame by itself?

tw6987 commented 7 years ago

The example code and output from the website is shown in the screenshot. We tried to run pymunk example programs but couldn't find them. We also installed pygame, which works separately, but not with pymunk.

skrulcik commented 7 years ago

Hmm okay. This would be much easier in person, if you could come to the UC it would be easier to help, Schlag is awfully far away!

tw6987 commented 7 years ago

Okay, the file from @dsyang's link runs perfectly fine. I think we're good now. Thanks guys :)

skrulcik commented 7 years ago

Oh, great! I'm glad it is working for you guys