You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
have been trying to install the package to Ubuntu via 'pip install supplychainpy==0.0.5'
but keep on getting this error:
supplychainpy/simulations/sim_summary.c:8290:13: error: too many arguments to function ‘(PyObject * ()(PyObject , PyObject * const, Py_ssize_t))meth’
return (((__Pyx_PyCFunctionFast)meth)) (self, args, nargs, NULL);
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: command 'gcc' failed with exit status 1
Do you have any suggestions of how to fix it or alternatives for the installation?
The text was updated successfully, but these errors were encountered:
git clone the code to local path git clone [email protected]:KevinFasusi/supplychainpy.git
then modify file simulations/sim_summary.c on line 8290 from return (*((__Pyx_PyCFunctionFast)meth)) (self, args, nargs, NULL);
to return (*((__Pyx_PyCFunctionFast)meth)) (self, args, nargs);
then on the source code root path run:
python setup.py sdist
cd dist
pip3 install supplychainpy-0.0.5.tar.gz
Hi,
have been trying to install the package to Ubuntu via 'pip install supplychainpy==0.0.5'
but keep on getting this error:
supplychainpy/simulations/sim_summary.c:8290:13: error: too many arguments to function ‘(PyObject * ()(PyObject , PyObject * const, Py_ssize_t))meth’
return (((__Pyx_PyCFunctionFast)meth)) (self, args, nargs, NULL);
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: command 'gcc' failed with exit status 1
Do you have any suggestions of how to fix it or alternatives for the installation?
The text was updated successfully, but these errors were encountered: