tambetm / gym-minecraft

Minecraft environment for Open AI Gym, based on Microsoft's Malmo.
272 stars 29 forks source link

Install Error: C1083: Cannot open include file: 'SDL.h': No such file or directory #27

Closed osbornep closed 1 year ago

osbornep commented 5 years ago

Hi, I am attempting to install gym for the first time and after running the following command I get the following error back, have I done something wrong in the setup process?

Thanks in advance

python setup.py install

----
Continuing With "setup.py"
Skipping module _numericsurfarray for Python 3.6.3 (v3.6.3:2c5fed8, Oct  3 2017, 18:11:49) [MSC v.1900 64 bit (AMD64)] build.
Skipping module scrap for Python 3.6.3 (v3.6.3:2c5fed8, Oct  3 2017, 18:11:49) [MSC v.1900 64 bit (AMD64)] build.
Skipping module _camera for Python 3.6.3 (v3.6.3:2c5fed8, Oct  3 2017, 18:11:49) [MSC v.1900 64 bit (AMD64)] build.
WARNING, DLL for SDL library not found.
WARNING, DLL for SDL_ttf library not found.
WARNING, DLL for SDL_image library not found.
WARNING, DLL for SDL_mixer library not found.
WARNING, DLL for smpeg library not found.
WARNING, DLL for png library not found.
WARNING, DLL for jpeg library not found.
WARNING, DLL for portmidi library not found.
WARNING, DLL for tiff library not found.
WARNING, DLL for z library not found.
WARNING, DLL for vorbis library not found.
WARNING, DLL for vorbisfile library not found.
WARNING, DLL for ogg library not found.
C:\Users\Phil\AppData\Local\Programs\Python\Python36\lib\site-packages\setuptools\dist.py:340: UserWarning: The version specified ('1.9.1release') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
no previously-included directories found matching '*\CVS'
no previously-included directories found matching '*\*\CVS'
gfxdraw.c
C:\Users\Phil\AppData\Local\Temp\easy_install-6xqmf6hk\pygame-1.9.1release\src\pygame.h(106): fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
error: Setup script exited with error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.21.27702\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2