Skip to content
This repository was archived by the owner on Dec 8, 2024. It is now read-only.
This repository was archived by the owner on Dec 8, 2024. It is now read-only.

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

Description

@RAraghavarora

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions