Skip to content

Installation issue: cl.exe' failed with exit code 2 #23

Description

@yisonghan

`C:\Users\yisong\anaconda3\envs\qstem\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
pywt_extensions_pywt.c(12552): error C2440: '=': cannot convert from 'PyObject *' to 'double'
pywt_extensions_pywt.c(12555): warning C4244: '=': conversion from 'double' to 'float', possible loss of data
pywt_extensions_pywt.c(12566): error C2440: '=': cannot convert from 'PyObject *' to 'double'
pywt_extensions_pywt.c(12569): warning C4244: '=': conversion from 'double' to 'float', possible loss of data
pywt_extensions_pywt.c(12663): error C2440: '=': cannot convert from 'PyObject *' to 'double'
pywt_extensions_pywt.c(12677): error C2440: '=': cannot convert from 'PyObject *' to 'double'
pywt_extensions_pywt.c(12680): warning C4244: '=': conversion from 'double' to 'float', possible loss of data
pywt_extensions_pywt.c(12691): error C2440: '=': cannot convert from 'PyObject *' to 'double'
pywt_extensions_pywt.c(12694): warning C4244: '=': conversion from 'double' to 'float', possible loss of data

error: Setup script exited with error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.33.31629\bin\HostX86\x64\cl.exe' failed with exit code 2`

I got problem with the cl.exe file when running "python setup.exe install". I installed Visual Studio 2022 build tools and in an Anaconda vitual environment with Python 3.6. I can see there is a cl.exe file in the same folder. So it shouldn't be a path problem? Could anyone help? Thanks very much.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions