qmlcode / qml

QML: Quantum Machine Learning
MIT License
197 stars 84 forks source link

Installation fails on Windows systems with the error: invalid numeric argument '/Wno-maybe-uninitialized' #139

Open RAraghavarora opened 3 years ago

RAraghavarora commented 3 years ago

When installing qmlcode on a windows system, pip install qml, the installation fails with the error:

 cl : Command line error D8021 : invalid numeric argument '/Wno-maybe-uninitialized'
error: Command "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30037\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ibuild\src.win-amd64-3.9\build\src.win-amd64-3.9\fchl -IC:\raghav\env_dftb\lib\site-packages\numpy\core\include -IC:\raghav\env_dftb\include -Ic:\users\davinder kumar\appdata\local\programs\python\python39\include -Ic:\users\davinder kumar\appdata\local\programs\python\python39\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30037\include /Tcbuild\src.win-amd64-3.9\fchl\ffchl_modulemodule.c /Fobuild\temp.win-amd64-3.9\Release\build\src.win-amd64-3.9\fchl\ffchl_modulemodule.obj -O3 -fopenmp -m64 -march=native -fPIC -Wno-maybe-uninitialized -Wno-unused-function -Wno-cpp" failed with exit status 2

Is this a problem due to lack of some installed requirement?