Skip to content
This repository has been 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

Open
RAraghavarora opened this issue Jul 18, 2021 · 1 comment

Comments

@RAraghavarora
Copy link

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?

@charnley
Copy link
Member

charnley commented Dec 8, 2024

Please note that further development for the QML package is now happening on the qmlcode/qmllib repository. qmllib is a port of the QML's Fortran core functionality with fewer dependencies and numpy 2.0 compatibility. You are encouraged to open any future issues or pull requests there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants