qmlcode/qml

Anaconda deployment

Opened this issue · 5 comments

Build anaconda package and deploy it to anaconda cloud in travis. Docs on how to do this: https://conda.io/docs/user-guide/tutorials/build-pkgs-skeleton.html

For the record, installations without mkl in conda seem to work out of the box, while MKL support within conda requires further work as neither compilervars.sh nor mklvars.sh is available in conda MKL. I had no luck specifying the paths alone:

export MKLROOT=$CONDA_PREFIX
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MKLROOT/lib

ln -s $CONDA_PREFIX/lib $CONDA_PREFIX/lib/intel64

This is a working example for the openblas route (note the nomkl package)

conda activate qml-dev
pip install numpy nomkl
pip install qml

The nomkl was not working for me, so I installed the python from conda-forge:
conda install -c conda-forge numpy
And then proceeded to install qml with pip.

However, qml depends on ase, but it wasn't installed on the new environment as it's not in the requirements list, so I had to:
pip install ase

After that, the package worked like a charm.

Hi!
I tried to install QLM in Anaconda using the methods described here but I get the error message attached below. Does anyone know what to make of this?

Collecting qml
  Using cached qml-0.4.0.27.tar.gz (41 kB)
Building wheels for collected packages: qml
  Building wheel for qml (setup.py) ... /  WARNING: Subprocess output does not appear to be encoded as cp1252
error
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\Markus\.conda\envs\qmlcode2\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Markus\\AppData\\Local\\Temp\\pip-install-u26it5qx\\qml_ec4dc990ca1b4d59a40a878dd96e7d39\\setup.py'"'"'; __file__='"'"'C:\\Users\\Markus\\AppData\\Local\\Temp\\pip-install-u26it5qx\\qml_ec4dc990ca1b4d59a40a878dd96e7d39\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Markus\AppData\Local\Temp\pip-wheel-jtb4ucih'
       cwd: C:\Users\Markus\AppData\Local\Temp\pip-install-u26it5qx\qml_ec4dc990ca1b4d59a40a878dd96e7d39\
  Complete output (131 lines):
  MKL-discover: MKLROOT was not set
  running bdist_wheel
  running build
  running config_cc
  unifing config_cc, config, build_clib, build_ext, build commands --compiler options
  running config_fc
  unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
  running build_src
  build_src
  building extension "ffchl_module" sources
  f2py options: ['--quiet']
    adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9\fortranobject.c' to sources.
    adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9' to include_dirs.
    adding 'build\src.win-amd64-3.9\ffchl_module-f2pywrappers.f' to sources.
    adding 'build\src.win-amd64-3.9\ffchl_module-f2pywrappers2.f90' to sources.
  building extension "farad_kernels" sources
  f2py options: ['--quiet']
    adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9\fortranobject.c' to sources.
    adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9' to include_dirs.
    adding 'build\src.win-amd64-3.9\farad_kernels-f2pywrappers.f' to sources.
    adding 'build\src.win-amd64-3.9\farad_kernels-f2pywrappers2.f90' to sources.
  building extension "fcho_solve" sources
  f2py options: ['--quiet']
    adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9\fortranobject.c' to sources.
    adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9' to include_dirs.
    adding 'build\src.win-amd64-3.9\fcho_solve-f2pywrappers.f' to sources.
  building extension "fdistance" sources
  f2py options: ['--quiet']
    adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9\fortranobject.c' to sources.
    adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9' to include_dirs.
    adding 'build\src.win-amd64-3.9\fdistance-f2pywrappers.f' to sources.
  building extension "fkernels" sources
  f2py options: ['--quiet']
    adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9\fortranobject.c' to sources.
    adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9' to include_dirs.
    adding 'build\src.win-amd64-3.9\fkernels-f2pywrappers.f' to sources.
  building extension "fslatm" sources
  f2py options: ['--quiet']
    adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9\fortranobject.c' to sources.
    adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9' to include_dirs.
    adding 'build\src.win-amd64-3.9\fslatm-f2pywrappers.f' to sources.
    adding 'build\src.win-amd64-3.9\fslatm-f2pywrappers2.f90' to sources.
  building extension "frepresentations" sources
  f2py options: ['--quiet']
    adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9\fortranobject.c' to sources.
    adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9' to include_dirs.
    adding 'build\src.win-amd64-3.9\frepresentations-f2pywrappers.f' to sources.
    adding 'build\src.win-amd64-3.9\frepresentations-f2pywrappers2.f90' to sources.
  build_src: building npy-pkg config files
  running build_py
  creating build\lib.win-amd64-3.9
  creating build\lib.win-amd64-3.9\qml
  copying qml\alchemy.py -> build\lib.win-amd64-3.9\qml
  copying qml\arad.py -> build\lib.win-amd64-3.9\qml
  copying qml\compound.py -> build\lib.win-amd64-3.9\qml
  copying qml\data.py -> build\lib.win-amd64-3.9\qml
  copying qml\distance.py -> build\lib.win-amd64-3.9\qml
  copying qml\fchl.py -> build\lib.win-amd64-3.9\qml
  copying qml\kernels.py -> build\lib.win-amd64-3.9\qml
  copying qml\math.py -> build\lib.win-amd64-3.9\qml
  copying qml\representations.py -> build\lib.win-amd64-3.9\qml
  copying qml\slatm.py -> build\lib.win-amd64-3.9\qml
  copying qml\wrappers.py -> build\lib.win-amd64-3.9\qml
  copying qml\__init__.py -> build\lib.win-amd64-3.9\qml
  running build_ext
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
  customize MSVCCompiler using build_ext
  get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
  customize GnuFCompiler
  Could not locate executable g77
  Could not locate executable f77
  customize IntelVisualFCompiler
  Could not locate executable ifort
  Could not locate executable ifl
  customize AbsoftFCompiler
  Could not locate executable f90
  customize CompaqVisualFCompiler
  Could not locate executable DF
  customize IntelItaniumVisualFCompiler
  Could not locate executable efl
  customize Gnu95FCompiler
  Found executable C:\Program Files (x86)\gfortran\bin\gfortran.exe
  Using built-in specs.
  COLLECT_GCC=C:\Program Files (x86)\gfortran\bin\gfortran.exe
  COLLECT_LTO_WRAPPER=c:/program\ files\ (x86)/gfortran/bin/../libexec/gcc/mingw32/4.10.0/lto-wrapper.exe
  Target: mingw32
  Configured with: ../gcc-trunk/configure --prefix=/mingw --enable-languages=c,fortran,lto --with-gmp=/home/Brad/gfortran/dependencies --disable-werror --enable-threads --enable-nls --build=i586-pc-mingw32 --enable-libgomp --enable-shared --disable-win32-registry --with-dwarf2 --disable-sjlj-exceptions --enable-lto --build=mingw32 --enable-version-specific-runtime-libs
  Thread model: win32
  gcc version 4.10.0 20140523 (experimental) [trunk revision 210844] (GCC)
  customize Gnu95FCompiler
  Using built-in specs.
  COLLECT_GCC=C:\Program Files (x86)\gfortran\bin\gfortran.exe
  COLLECT_LTO_WRAPPER=c:/program\ files\ (x86)/gfortran/bin/../libexec/gcc/mingw32/4.10.0/lto-wrapper.exe
  Target: mingw32
  Configured with: ../gcc-trunk/configure --prefix=/mingw --enable-languages=c,fortran,lto --with-gmp=/home/Brad/gfortran/dependencies --disable-werror --enable-threads --enable-nls --build=i586-pc-mingw32 --enable-libgomp --enable-shared --disable-win32-registry --with-dwarf2 --disable-sjlj-exceptions --enable-lto --build=mingw32 --enable-version-specific-runtime-libs
  Thread model: win32
  gcc version 4.10.0 20140523 (experimental) [trunk revision 210844] (GCC)
  customize Gnu95FCompiler using build_ext
  get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
  customize GnuFCompiler
  customize IntelVisualFCompiler
  customize AbsoftFCompiler
  customize CompaqVisualFCompiler
  customize IntelItaniumVisualFCompiler
  customize Gnu95FCompiler
  Using built-in specs.
  COLLECT_GCC=C:\Program Files (x86)\gfortran\bin\gfortran.exe
  COLLECT_LTO_WRAPPER=c:/program\ files\ (x86)/gfortran/bin/../libexec/gcc/mingw32/4.10.0/lto-wrapper.exe
  Target: mingw32
  Configured with: ../gcc-trunk/configure --prefix=/mingw --enable-languages=c,fortran,lto --with-gmp=/home/Brad/gfortran/dependencies --disable-werror --enable-threads --enable-nls --build=i586-pc-mingw32 --enable-libgomp --enable-shared --disable-win32-registry --with-dwarf2 --disable-sjlj-exceptions --enable-lto --build=mingw32 --enable-version-specific-runtime-libs
  Thread model: win32
  gcc version 4.10.0 20140523 (experimental) [trunk revision 210844] (GCC)
  customize Gnu95FCompiler
  Using built-in specs.
  COLLECT_GCC=C:\Program Files (x86)\gfortran\bin\gfortran.exe
  COLLECT_LTO_WRAPPER=c:/program\ files\ (x86)/gfortran/bin/../libexec/gcc/mingw32/4.10.0/lto-wrapper.exe
  Target: mingw32
  Configured with: ../gcc-trunk/configure --prefix=/mingw --enable-languages=c,fortran,lto --with-gmp=/home/Brad/gfortran/dependencies --disable-werror --enable-threads --enable-nls --build=i586-pc-mingw32 --enable-libgomp --enable-shared --disable-win32-registry --with-dwarf2 --disable-sjlj-exceptions --enable-lto --build=mingw32 --enable-version-specific-runtime-libs
  Thread model: win32
  gcc version 4.10.0 20140523 (experimental) [trunk revision 210844] (GCC)
  customize Gnu95FCompiler using build_ext
  building 'ffchl_module' extension
  compiling C sources
  creating build\temp.win-amd64-3.9\Release\build
  creating build\temp.win-amd64-3.9\Release\build\src.win-amd64-3.9
  creating build\temp.win-amd64-3.9\Release\build\src.win-amd64-3.9\build
  creating build\temp.win-amd64-3.9\Release\build\src.win-amd64-3.9\build\src.win-amd64-3.9
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ibuild\src.win-amd64-3.9\build\src.win-amd64-3.9 -IC:\Users\Markus\.conda\envs\qmlcode2\lib\site-packages\numpy\core\include -IC:\Users\Markus\.conda\envs\qmlcode2\include -IC:\Users\Markus\.conda\envs\qmlcode2\include -IC:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\ATLMFC\include -IC:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt -IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE -IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt /Tcbuild\src.win-amd64-3.9\ffchl_modulemodule.c /Fobuild\temp.win-amd64-3.9\Release\build\src.win-amd64-3.9\ffchl_modulemodule.obj -O3 -fopenmp -m64 -march=native -fPIC -Wno-maybe-uninitialized -Wno-unused-function -Wno-cpp
  cl : Befehlszeile error D8021 : Ung\x81ltiges numerisches Argument /Wno-maybe-uninitialized.
  error: Command "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ibuild\src.win-amd64-3.9\build\src.win-amd64-3.9 -IC:\Users\Markus\.conda\envs\qmlcode2\lib\site-packages\numpy\core\include -IC:\Users\Markus\.conda\envs\qmlcode2\include -IC:\Users\Markus\.conda\envs\qmlcode2\include -IC:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\ATLMFC\include -IC:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt -IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE -IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt /Tcbuild\src.win-amd64-3.9\ffchl_modulemodule.c /Fobuild\temp.win-amd64-3.9\Release\build\src.win-amd64-3.9\ffchl_modulemodule.obj -O3 -fopenmp -m64 -march=native -fPIC -Wno-maybe-uninitialized -Wno-unused-function -Wno-cpp" failed with exit status 2
  ----------------------------------------
  ERROR: Failed building wheel for qml
  Running setup.py clean for qml
Failed to build qml
Installing collected packages: qml
    Running setup.py install for qml ... /    WARNING: Subprocess output does not appear to be encoded as cp1252
error
    ERROR: Command errored out with exit status 1:
     command: 'C:\Users\Markus\.conda\envs\qmlcode2\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Markus\\AppData\\Local\\Temp\\pip-install-u26it5qx\\qml_ec4dc990ca1b4d59a40a878dd96e7d39\\setup.py'"'"'; __file__='"'"'C:\\Users\\Markus\\AppData\\Local\\Temp\\pip-install-u26it5qx\\qml_ec4dc990ca1b4d59a40a878dd96e7d39\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Markus\AppData\Local\Temp\pip-record-omp8qnsc\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Markus\.conda\envs\qmlcode2\Include\qml'
         cwd: C:\Users\Markus\AppData\Local\Temp\pip-install-u26it5qx\qml_ec4dc990ca1b4d59a40a878dd96e7d39\
    Complete output (131 lines):
    MKL-discover: MKLROOT was not set
    running install
    running build
    running config_cc
    unifing config_cc, config, build_clib, build_ext, build commands --compiler options
    running config_fc
    unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
    running build_src
    build_src
    building extension "ffchl_module" sources
    f2py options: ['--quiet']
      adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9\fortranobject.c' to sources.
      adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9' to include_dirs.
      adding 'build\src.win-amd64-3.9\ffchl_module-f2pywrappers.f' to sources.
      adding 'build\src.win-amd64-3.9\ffchl_module-f2pywrappers2.f90' to sources.
    building extension "farad_kernels" sources
    f2py options: ['--quiet']
      adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9\fortranobject.c' to sources.
      adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9' to include_dirs.
      adding 'build\src.win-amd64-3.9\farad_kernels-f2pywrappers.f' to sources.
      adding 'build\src.win-amd64-3.9\farad_kernels-f2pywrappers2.f90' to sources.
    building extension "fcho_solve" sources
    f2py options: ['--quiet']
      adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9\fortranobject.c' to sources.
      adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9' to include_dirs.
      adding 'build\src.win-amd64-3.9\fcho_solve-f2pywrappers.f' to sources.
    building extension "fdistance" sources
    f2py options: ['--quiet']
      adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9\fortranobject.c' to sources.
      adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9' to include_dirs.
      adding 'build\src.win-amd64-3.9\fdistance-f2pywrappers.f' to sources.
    building extension "fkernels" sources
    f2py options: ['--quiet']
      adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9\fortranobject.c' to sources.
      adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9' to include_dirs.
      adding 'build\src.win-amd64-3.9\fkernels-f2pywrappers.f' to sources.
    building extension "fslatm" sources
    f2py options: ['--quiet']
      adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9\fortranobject.c' to sources.
      adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9' to include_dirs.
      adding 'build\src.win-amd64-3.9\fslatm-f2pywrappers.f' to sources.
      adding 'build\src.win-amd64-3.9\fslatm-f2pywrappers2.f90' to sources.
    building extension "frepresentations" sources
    f2py options: ['--quiet']
      adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9\fortranobject.c' to sources.
      adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9' to include_dirs.
      adding 'build\src.win-amd64-3.9\frepresentations-f2pywrappers.f' to sources.
      adding 'build\src.win-amd64-3.9\frepresentations-f2pywrappers2.f90' to sources.
    build_src: building npy-pkg config files
    running build_py
    creating build\lib.win-amd64-3.9
    creating build\lib.win-amd64-3.9\qml
    copying qml\alchemy.py -> build\lib.win-amd64-3.9\qml
    copying qml\arad.py -> build\lib.win-amd64-3.9\qml
    copying qml\compound.py -> build\lib.win-amd64-3.9\qml
    copying qml\data.py -> build\lib.win-amd64-3.9\qml
    copying qml\distance.py -> build\lib.win-amd64-3.9\qml
    copying qml\fchl.py -> build\lib.win-amd64-3.9\qml
    copying qml\kernels.py -> build\lib.win-amd64-3.9\qml
    copying qml\math.py -> build\lib.win-amd64-3.9\qml
    copying qml\representations.py -> build\lib.win-amd64-3.9\qml
    copying qml\slatm.py -> build\lib.win-amd64-3.9\qml
    copying qml\wrappers.py -> build\lib.win-amd64-3.9\qml
    copying qml\__init__.py -> build\lib.win-amd64-3.9\qml
    running build_ext
    No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
    customize MSVCCompiler
    customize MSVCCompiler using build_ext
    get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
    customize GnuFCompiler
    Could not locate executable g77
    Could not locate executable f77
    customize IntelVisualFCompiler
    Could not locate executable ifort
    Could not locate executable ifl
    customize AbsoftFCompiler
    Could not locate executable f90
    customize CompaqVisualFCompiler
    Could not locate executable DF
    customize IntelItaniumVisualFCompiler
    Could not locate executable efl
    customize Gnu95FCompiler
    Found executable C:\Program Files (x86)\gfortran\bin\gfortran.exe
    Using built-in specs.
    COLLECT_GCC=C:\Program Files (x86)\gfortran\bin\gfortran.exe
    COLLECT_LTO_WRAPPER=c:/program\ files\ (x86)/gfortran/bin/../libexec/gcc/mingw32/4.10.0/lto-wrapper.exe
    Target: mingw32
    Configured with: ../gcc-trunk/configure --prefix=/mingw --enable-languages=c,fortran,lto --with-gmp=/home/Brad/gfortran/dependencies --disable-werror --enable-threads --enable-nls --build=i586-pc-mingw32 --enable-libgomp --enable-shared --disable-win32-registry --with-dwarf2 --disable-sjlj-exceptions --enable-lto --build=mingw32 --enable-version-specific-runtime-libs
    Thread model: win32
    gcc version 4.10.0 20140523 (experimental) [trunk revision 210844] (GCC)
    customize Gnu95FCompiler
    Using built-in specs.
    COLLECT_GCC=C:\Program Files (x86)\gfortran\bin\gfortran.exe
    COLLECT_LTO_WRAPPER=c:/program\ files\ (x86)/gfortran/bin/../libexec/gcc/mingw32/4.10.0/lto-wrapper.exe
    Target: mingw32
    Configured with: ../gcc-trunk/configure --prefix=/mingw --enable-languages=c,fortran,lto --with-gmp=/home/Brad/gfortran/dependencies --disable-werror --enable-threads --enable-nls --build=i586-pc-mingw32 --enable-libgomp --enable-shared --disable-win32-registry --with-dwarf2 --disable-sjlj-exceptions --enable-lto --build=mingw32 --enable-version-specific-runtime-libs
    Thread model: win32
    gcc version 4.10.0 20140523 (experimental) [trunk revision 210844] (GCC)
    customize Gnu95FCompiler using build_ext
    get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
    customize GnuFCompiler
    customize IntelVisualFCompiler
    customize AbsoftFCompiler
    customize CompaqVisualFCompiler
    customize IntelItaniumVisualFCompiler
    customize Gnu95FCompiler
    Using built-in specs.
    COLLECT_GCC=C:\Program Files (x86)\gfortran\bin\gfortran.exe
    COLLECT_LTO_WRAPPER=c:/program\ files\ (x86)/gfortran/bin/../libexec/gcc/mingw32/4.10.0/lto-wrapper.exe
    Target: mingw32
    Configured with: ../gcc-trunk/configure --prefix=/mingw --enable-languages=c,fortran,lto --with-gmp=/home/Brad/gfortran/dependencies --disable-werror --enable-threads --enable-nls --build=i586-pc-mingw32 --enable-libgomp --enable-shared --disable-win32-registry --with-dwarf2 --disable-sjlj-exceptions --enable-lto --build=mingw32 --enable-version-specific-runtime-libs
    Thread model: win32
    gcc version 4.10.0 20140523 (experimental) [trunk revision 210844] (GCC)
    customize Gnu95FCompiler
    Using built-in specs.
    COLLECT_GCC=C:\Program Files (x86)\gfortran\bin\gfortran.exe
    COLLECT_LTO_WRAPPER=c:/program\ files\ (x86)/gfortran/bin/../libexec/gcc/mingw32/4.10.0/lto-wrapper.exe
    Target: mingw32
    Configured with: ../gcc-trunk/configure --prefix=/mingw --enable-languages=c,fortran,lto --with-gmp=/home/Brad/gfortran/dependencies --disable-werror --enable-threads --enable-nls --build=i586-pc-mingw32 --enable-libgomp --enable-shared --disable-win32-registry --with-dwarf2 --disable-sjlj-exceptions --enable-lto --build=mingw32 --enable-version-specific-runtime-libs
    Thread model: win32
    gcc version 4.10.0 20140523 (experimental) [trunk revision 210844] (GCC)
    customize Gnu95FCompiler using build_ext
    building 'ffchl_module' extension
    compiling C sources
    creating build\temp.win-amd64-3.9\Release\build
    creating build\temp.win-amd64-3.9\Release\build\src.win-amd64-3.9
    creating build\temp.win-amd64-3.9\Release\build\src.win-amd64-3.9\build
    creating build\temp.win-amd64-3.9\Release\build\src.win-amd64-3.9\build\src.win-amd64-3.9
    C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ibuild\src.win-amd64-3.9\build\src.win-amd64-3.9 -IC:\Users\Markus\.conda\envs\qmlcode2\lib\site-packages\numpy\core\include -IC:\Users\Markus\.conda\envs\qmlcode2\include -IC:\Users\Markus\.conda\envs\qmlcode2\include -IC:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\ATLMFC\include -IC:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt -IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE -IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt /Tcbuild\src.win-amd64-3.9\ffchl_modulemodule.c /Fobuild\temp.win-amd64-3.9\Release\build\src.win-amd64-3.9\ffchl_modulemodule.obj -O3 -fopenmp -m64 -march=native -fPIC -Wno-maybe-uninitialized -Wno-unused-function -Wno-cpp
    cl : Befehlszeile error D8021 : Ung\x81ltiges numerisches Argument /Wno-maybe-uninitialized.
    error: Command "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ibuild\src.win-amd64-3.9\build\src.win-amd64-3.9 -IC:\Users\Markus\.conda\envs\qmlcode2\lib\site-packages\numpy\core\include -IC:\Users\Markus\.conda\envs\qmlcode2\include -IC:\Users\Markus\.conda\envs\qmlcode2\include -IC:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\ATLMFC\include -IC:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt -IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE -IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt /Tcbuild\src.win-amd64-3.9\ffchl_modulemodule.c /Fobuild\temp.win-amd64-3.9\Release\build\src.win-amd64-3.9\ffchl_modulemodule.obj -O3 -fopenmp -m64 -march=native -fPIC -Wno-maybe-uninitialized -Wno-unused-function -Wno-cpp" failed with exit status 2
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\Markus\.conda\envs\qmlcode2\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Markus\\AppData\\Local\\Temp\\pip-install-u26it5qx\\qml_ec4dc990ca1b4d59a40a878dd96e7d39\\setup.py'"'"'; __file__='"'"'C:\\Users\\Markus\\AppData\\Local\\Temp\\pip-install-u26it5qx\\qml_ec4dc990ca1b4d59a40a878dd96e7d39\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Markus\AppData\Local\Temp\pip-record-omp8qnsc\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Markus\.conda\envs\qmlcode2\Include\qml' Check the logs for full command output.

@mrks26: guessing from the output, it seems as if the detection of the location of one dependency (MKL) did not succeed. As far as I know, qmlcode is not regularly tested for use under Windows. Personally, I use conda within "Windows Subsystem for Linux (WSL)" which is nicely integrated and simple to install via the Microsoft App Store. Effectively it is a Linux VM. qmlcode works there out-of-the-box. Perhaps a workaround that does not take too much time.

Thank you very much for your quick reply and the helpful suggestions!