Hi everybody!
I will use this pos to document my experience installing supplychainpy.
My first attempt to install it was on Windows 10. It first complained about no cython installed. Then complained about some visual studio C++ tools. I decided to abort the Windows installation.
Installation on Linux Fedora 27 Workstation
I proceed with:
pip install supplychainpy
But I received the following errors:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-v_EKhY/supplychainpy/setup.py", line 2, in <module>
from Cython.Build import cythonize
ImportError: No module named Cython.Build
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-v_EKhY/supplychainpy/
supplychainpy/simulations/sim_summary.c:11:10: fatal error: Python.h: No such file or directory
#include "Python.h"
^~~~~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1
There are several python versions installed so I used the following command as root as I was unable to install with the normal user:
pip-3.6 install cython
pip-3.6 install numpy
dnf install redhat-rpm-config python3-devel gcc
Then I proceed with :
pip-3.6 install supplychainpy
And supplychainpy was succesfully installed.
Regards!