google-deepmind / hanabi-learning-environment

hanabi_learning_environment is a research platform for Hanabi experiments.
Apache License 2.0
644 stars 146 forks source link

Visual studio 2019 is not recognised #37

Open forgga opened 3 years ago

forgga commented 3 years ago

Hello, I have anaconda an VS2019 installed on my windows machine. Unfortunately I can not install hanabi-learning-environment, it gives the following reason

Building wheel for hanabi-learning-environment (PEP 517) ... | .. ..

Trying "Visual Studio 15 2017 Win64 v141" generator - failure ... .. ERROR: Failed building wheel for hanabi-learning-environment Failed to build hanabi-learning-environment ERROR: Could not build wheels for hanabi-learning-environment which use PEP 517 and cannot be installed directly

Why is he doing so?

TylerJamesMalloy commented 3 years ago

I assume you are using windows. I was having this issue and I fixed it by installing the C++ package into my visual studio code 2019 and then installing Mingw-w64 and adding the bin folder of that installation (where the g++ .exe is) to my PATH environment. The steps can be found here https://code.visualstudio.com/docs/cpp/config-mingw