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

pip install supplychainpy doesn't work anymore #75

Open acrowther opened 3 years ago

acrowther commented 3 years ago

I'm using google colab. When i run pip install supplychainpy, I get the following error :

Collecting supplychainpy Downloading https://files.pythonhosted.org/packages/9a/cd/b876f8a308a0bc8154eab1ef43422bcc554fd63de124cc57d7ac5ce9ca5f/supplychainpy-0.0.5.tar.gz (4.7MB) |████████████████████████████████| 4.7MB 8.1MB/s Requirement already satisfied: numpy in /usr/local/lib/python3.7/dist-packages (from supplychainpy) (1.19.5) Requirement already satisfied: cython in /usr/local/lib/python3.7/dist-packages (from supplychainpy) (0.29.21) Requirement already satisfied: flask in /usr/local/lib/python3.7/dist-packages (from supplychainpy) (1.1.2) Requirement already satisfied: scipy in /usr/local/lib/python3.7/dist-packages (from supplychainpy) (1.4.1) Requirement already satisfied: pandas in /usr/local/lib/python3.7/dist-packages (from supplychainpy) (1.1.5) Requirement already satisfied: sqlalchemy in /usr/local/lib/python3.7/dist-packages (from supplychainpy) (1.3.23) Collecting flask-restful Downloading https://files.pythonhosted.org/packages/e9/83/d0d33c971de2d38e54b0037136c8b8d20b9c83d308bc6c220a25162755fd/Flask_RESTful-0.3.8-py2.py3-none-any.whl Collecting flask-restless Downloading https://files.pythonhosted.org/packages/ae/ad/14eee74ef110f2bd8641de98675037f037dd06d614f7c435671be66a55c7/Flask-Restless-0.17.0.tar.gz (42kB) |████████████████████████████████| 51kB 10.0MB/s Collecting flask-script Downloading https://files.pythonhosted.org/packages/00/a4/cd587b2b19f043b65bf33ceda2f6e4e6cdbd0ce18d01a52b9559781b1da6/Flask-Script-2.0.6.tar.gz (43kB) |████████████████████████████████| 51kB 8.9MB/s Collecting flask-sqlalchemy Downloading https://files.pythonhosted.org/packages/af/4b/3dd83c3e2c6e3034b804d971952e0120606506f153990cc56d2d33173b72/Flask_SQLAlchemy-2.4.4-py2.py3-none-any.whl Collecting flask-uploads Downloading https://files.pythonhosted.org/packages/c9/a8/2c8e9ec04267d94b7852a374cebeb9a32d60f8cba83818af960e64fafbec/Flask-Uploads-0.2.1.tar.gz Collecting flask-wtf Downloading https://files.pythonhosted.org/packages/36/a9/8c01171066bd7a524ee005d81bb4a8aa446ab178043a1ad6cb5dc8f0bd83/Flask_WTF-0.14.3-py2.py3-none-any.whl Requirement already satisfied: textblob in /usr/local/lib/python3.7/dist-packages (from supplychainpy) (0.15.3) Collecting Simplejson Downloading https://files.pythonhosted.org/packages/a8/04/377418ac1e530ce2a196b54c6552c018fdf1fe776718053efb1f216bffcd/simplejson-3.17.2-cp37-cp37m-manylinux2010_x86_64.whl (128kB) |████████████████████████████████| 133kB 54.5MB/s Collecting wtforms Downloading https://files.pythonhosted.org/packages/e0/31/614fc7dc7d76005b0acb8c0c8920d962b83d7422b4ba912886dfb63f86ff/WTForms-2.3.3-py2.py3-none-any.whl (169kB) |████████████████████████████████| 174kB 50.9MB/s Requirement already satisfied: Werkzeug>=0.15 in /usr/local/lib/python3.7/dist-packages (from flask->supplychainpy) (1.0.1) Requirement already satisfied: Jinja2>=2.10.1 in /usr/local/lib/python3.7/dist-packages (from flask->supplychainpy) (2.11.3) Requirement already satisfied: click>=5.1 in /usr/local/lib/python3.7/dist-packages (from flask->supplychainpy) (7.1.2) Requirement already satisfied: itsdangerous>=0.24 in /usr/local/lib/python3.7/dist-packages (from flask->supplychainpy) (1.1.0) Requirement already satisfied: pytz>=2017.2 in /usr/local/lib/python3.7/dist-packages (from pandas->supplychainpy) (2018.9) Requirement already satisfied: python-dateutil>=2.7.3 in /usr/local/lib/python3.7/dist-packages (from pandas->supplychainpy) (2.8.1) Requirement already satisfied: six>=1.3.0 in /usr/local/lib/python3.7/dist-packages (from flask-restful->supplychainpy) (1.15.0) Collecting aniso8601>=0.82 Downloading https://files.pythonhosted.org/packages/ae/16/db3a1a970e0a7dc89204d07cff6401760380a9ab90a9dc399a8e7df3b430/aniso8601-9.0.0-py2.py3-none-any.whl (52kB) |████████████████████████████████| 61kB 10.5MB/s Collecting mimerender>=0.5.2 Downloading https://files.pythonhosted.org/packages/90/93/04da69a3a9adae4aae66cf9884f09d82e318018673ba9193a593db01e0ee/mimerender-0.6.0.tar.gz Requirement already satisfied: nltk>=3.1 in /usr/local/lib/python3.7/dist-packages (from textblob->supplychainpy) (3.2.5) Requirement already satisfied: MarkupSafe in /usr/local/lib/python3.7/dist-packages (from wtforms->supplychainpy) (1.1.1) Collecting python_mimeparse>=0.1.4 Downloading https://files.pythonhosted.org/packages/26/2e/03bce213a9bf02a2750dcb04e761785e9c763fc11071edc4b447eacbb842/python_mimeparse-1.6.0-py2.py3-none-any.whl Building wheels for collected packages: supplychainpy, flask-restless, flask-script, flask-uploads, mimerender Building wheel for supplychainpy (setup.py) ... error ERROR: Failed building wheel for supplychainpy Running setup.py clean for supplychainpy Building wheel for flask-restless (setup.py) ... done Created wheel for flask-restless: filename=Flask_Restless-0.17.0-cp37-none-any.whl size=42540 sha256=fad5e35c48c48d2d36a52e99d555aa8279f3f0b4913fe6c5e2822df4432d3d32 Stored in directory: /root/.cache/pip/wheels/44/cb/de/b24c9484e9182924860fde31b146e882d90461c3b7aa097243 Building wheel for flask-script (setup.py) ... done Created wheel for flask-script: filename=Flask_Script-2.0.6-cp37-none-any.whl size=14016 sha256=4c88da4b5bbefbcdefab9aebfa17c58055168873bec6d9eb76fc17f400ea9e51 Stored in directory: /root/.cache/pip/wheels/1c/17/70/4598e6dba4bec58c1b59552c6409272aea31978ab8159f11a1 Building wheel for flask-uploads (setup.py) ... done Created wheel for flask-uploads: filename=Flask_Uploads-0.2.1-cp37-none-any.whl size=8068 sha256=4c21c4e4459e610f60bf9aba72255eafce08ac71c4a543844c569af3a6434a3a Stored in directory: /root/.cache/pip/wheels/af/41/f6/0c357a43a5680e7690ce50337ab7fe9304795910ac10e15ce6 Building wheel for mimerender (setup.py) ... done Created wheel for mimerender: filename=mimerender-0.6.0-cp37-none-any.whl size=5622 sha256=e82206a284f94af9bea0ef5a2affdc38b8c665c6162b215e96f6fd5c1052fbbc Stored in directory: /root/.cache/pip/wheels/55/cb/6c/0b5d39bb361ee92dabc59c8ef4bed48ae2928b53527ccaba90 Successfully built flask-restless flask-script flask-uploads mimerender Failed to build supplychainpy Installing collected packages: aniso8601, flask-restful, python-mimeparse, mimerender, flask-restless, flask-script, flask-sqlalchemy, flask-uploads, wtforms, flask-wtf, Simplejson, supplychainpy Running setup.py install for supplychainpy ... error ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-s77pdr2d/supplychainpy/setup.py'"'"'; file='"'"'/tmp/pip-install-s77pdr2d/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 /tmp/pip-record-fuj6grrl/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.