artyshko / smd

Spotify Music Downloader
MIT License
1.36k stars 236 forks source link

Failing to install requirements. #82

Open rquadling opened 4 years ago

rquadling commented 4 years ago

Zero knowledge of Python, but following the instructions as on the home page results in :

    src_c/_pygame.h:216:10: fatal error: 'SDL.h' file not found
    #include <SDL.h>
             ^~~~~~~
    1 error generated.

Full log at : https://gist.github.com/rquadling/95ff29eb9b13a84b7ab218f561f3886b

A couple of options to improve the user experience would be to have a Makefile that contained all the instructions or a Dockerfile that contained the entire build process in a repeatable way.

Happy to help with working you on this, but my Python knowledge is zero.

rquadling commented 4 years ago

I'm on MacOS. Running instructions and tests from https://www.pygame.org/wiki/MacCompile and all works.

Re-running the requirements install gives the same error.

rquadling commented 4 years ago

I noticed that there's also a v1 form of SDL, so brew install sdl sdl_gfx sdl_image sdl_mixer sdl_net sdl_ttf and that fixed things.

rquadling commented 4 years ago

But fails to run. Really would be worth wrapping this all up in a Docker container. Far simpler than hoping every users environment is perfectly setup to run this and any other application with the multitude of libraries.