Kautenja/gym-super-mario-bros

Failed to build Wheel on Windows 10 with Visual Studio 2015

AaronZhu2018 opened this issue · 5 comments

Describe the bug

failed building wheel for nes-py
image

To Reproduce

I have download visual studio 2015 and anaconda python 3.6
And I run pip install nes-py in anaconda prompt on windows 10

Expected behavior

sucessfully install nes-py

Screenshots

image

Environment

  • Operating System: windows 10
  • Python version: 3.6 anaconda
  • gym-super-mario-bros version:
  • nes-py version: I just type pip install nes-py

Additional context

Add any other context about the problem here.

try cloning the nes-py repo, running python setup.py install and posting the stack trace here. I've not tested with Visual Studio 15, but can't see why it would fail as the code is C++11 compliant. If you can upgrade to visual studio 2017, that will resolve the issue faster. I only test using VS17.

Thanks for your reply! This is the result after I run python setup.py install. I think maybe the problem is the coding language I chose ? I will try to reinstall the english version of visual studio
image

I wonder if it relates to an esoteric solution I had put in the setup.py to resolve some compiler warnings on Linux. I've removed these so perhaps things will build again. The output is sadly, not as informative as I would hope. Try pip install gym-super-mario-bros==7.0.1 and let me know if it's still broken!

I have try to install visual studio 2017 english version. Then it works fine!
Thank for your reply!
python setup.py install is success now

excellent! Closing issue