Please consider offering answers and suggestions to help other students!
And if you fix a problem by following a suggestion here,
it would be great if other interested students could see a short
"Great, fixed it!" followup message.
When running pip install gym-super-mario-bros, I get this error. I've followed the suggestions from the other package installation posts, am using python3.10 and have downloaded Visual Studio. Any suggestions on how to fix this? I get the same error when I try pip install nes-py
building 'nes_py.lib_nes_env' extension
creating build\temp.win-amd64-cpython-310
creating build\temp.win-amd64-cpython-310\Release
creating build\temp.win-amd64-cpython-310\Release\nes_py
creating build\temp.win-amd64-cpython-310\Release\nes_py\nes
creating build\temp.win-amd64-cpython-310\Release\nes_py\nes\src
creating build\temp.win-amd64-cpython-310\Release\nes_py\nes\src\mappers
cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Ines_py/nes/include -IC:\Users\rmhep\anaconda3\envs\super_mario_bros\include -IC:\Users\rmhep\anaconda3\envs\super_mario_bros\Include /EHsc /Tpnes_py/nes/src/mappers\mapper_CNROM.cpp /Fobuild\temp.win-amd64-cpython-310\Release\nes_py/nes/src/mappers\mapper_CNROM.obj -std=c++1y -pipe -O3
error: command 'cl.exe' failed: None
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for nes-py
Running setup.py clean for nes-py
Failed to build nes-py
ERROR: Could not build wheels for nes-py, which is required to install pyproject.toml-based projects