gyanz/pydsstools

Issue with installation of pydsstools

Closed this issue · 2 comments

I am unable to run the command

python setup.py install.

Here is the exception. Could you please help here?

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:00.43
x64\release\grid.lib
1 File(s) copied
building 'pydsstools._lib.x64.core_heclib' extension
core_heclib.c
C:\Users\chand\AppData\Local\Programs\Python\Python39\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_D
EPRECATED_API NPY_1_7_API_VERSION
pydsstools/src/core_heclib.c(6554): warning C4244: '=': conversion from 'double' to 'float', possible loss of data
pydsstools/src/core_heclib.c(16429): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
pydsstools/src/core_heclib.c(16707): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
pydsstools/src/core_heclib.c(17001): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
pydsstools/src/core_heclib.c(48057): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
pydsstools/src/core_heclib.c(48154): warning C4090: '=': different 'const' qualifiers
LINK : fatal error LNK1104: cannot open file 'ifconsol.lib'
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\link.exe' failed with exit code 1104

gyanz commented

I recommend following instruction to install from the wheel file.

Thanks that worked