KevinFasusi / supplychainpy

Supplychainpy is a Python library for supply chain analysis, modelling and simulation. The library assists a workflow that is reliant on Excel and VBA.
http://www.supplychainpy.org/
BSD 3-Clause "New" or "Revised" License
283 stars 99 forks source link

Error in installing Package #68

Closed sspophali closed 4 years ago

sspophali commented 4 years ago

I am getting following error while installing package in windows, python 3.7 monte_carlo_simulation.c supplychainpy/simulations/monte_carlo_simulation.c(4821): warning C4020: 'function through pointer': too many actual parameters supplychainpy/simulations/monte_carlo_simulation.c(5177): warning C4020: 'function through pointer': too many actual parameters supplychainpy/simulations/monte_carlo_simulation.c(5964): error C2039: 'exc_type': is not a member of '_ts' c:\users\spophali\appdata\local\continuum\anaconda3\include\pystate.h(212): note: see declaration of '_ts' supplychainpy/simulations/monte_carlo_simulation.c(5965): error C2039: 'exc_value': is not a member of '_ts' c:\users\spophali\appdata\local\continuum\anaconda3\include\pystate.h(212): note: see declaration of '_ts' supplychainpy/simulations/monte_carlo_simulation.c(5966): error C2039: 'exc_traceback': is not a member of '_ts' c:\users\spophali\appdata\local\continuum\anaconda3\include\pystate.h(212): note: see declaration of '_ts' supplychainpy/simulations/monte_carlo_simulation.c(5967): error C2039: 'exc_type': is not a member of '_ts' c:\users\spophali\appdata\local\continuum\anaconda3\include\pystate.h(212): note: see declaration of '_ts' supplychainpy/simulations/monte_carlo_simulation.c(5968): error C2039: 'exc_value': is not a member of '_ts' c:\users\spophali\appdata\local\continuum\anaconda3\include\pystate.h(212): note: see declaration of '_ts' supplychainpy/simulations/monte_carlo_simulation.c(5969): error C2039: 'exc_traceback': is not a member of '_ts' c:\users\spophali\appdata\local\continuum\anaconda3\include\pystate.h(212): note: see declaration of '_ts' error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2

ERROR: Command "'C:\Users\spophali\AppData\Local\Continuum\anaconda3\python.exe' -u -c 'import setuptools, tokenize;file='"'"'C:\Users\spophali\AppData\Local\Temp\1\pip-install-6mm9kyx8\supplychainpy\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\spophali\AppData\Local\Temp\1\pip-record-e4dqmp1d\install-record.txt' --single-version-externally-managed --compile" failed with error code 1 in C:\Users\spophali\AppData\Local\Temp\1\pip-install-6mm9kyx8\supplychainpy\

error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2