Open isaacgerg opened 7 years ago
Hmm I do not have easy access to a windows machine to test this at the moment, would love it if someone else can send a PR for this
Can you point me to a tutorial on how files for pip are created? I'd be happy to debug; I've never deployed with pip before.
I get a similar error with RHEL 6 and Python 2.7.
The same issue for me at windows10 + python3.4
Had the same problem with python 3.5 on Fedora 21.
It worked for me when I replaced 'quiverboard/dist/*'
with ['quiverboard/dist/*']
in setup.py, compiled the client and then installed with python setup.py install
.
Same for me on Ubuntu 16.04 using Python 3.5.2.
Following @octycs advide and running pip3 install -e .
did the trick.
agree with upstair, detail desrcription:
help(server.launch) Help on function launch in module quiver_engine.server: launch(model, temp_folder='./tmp', input_folder='./', port=5000, html_base_dir=None)
I tried this with 2 fresh windows installations and got the same error both times.
`c:\Python34\Scripts>pip install quiver_engine Collecting quiver_engine Downloading quiver_engine-0.1.4.1.1.tar.gz (398kB) 100% |################################| 399kB 1.4MB/s Requirement already satisfied: keras in c:\python34 (from quiver_engine) Collecting flask (from quiver_engine) Downloading Flask-0.11.1-py2.py3-none-any.whl (80kB) 100% |################################| 81kB 2.6MB/s Collecting flask_cors (from quiver_engine) Downloading Flask_Cors-3.0.2-py2.py3-none-any.whl Collecting gevent (from quiver_engine) Downloading gevent-1.1.2-cp34-cp34m-win_amd64.whl (384kB) 100% |################################| 389kB 1.5MB/s Requirement already satisfied: numpy in c:\python34\lib\site-packages (from quiver_engine) Requirement already satisfied: pillow in c:\python34\lib\site-packages (from quiver_engine) Requirement already satisfied: theano in c:\python34\lib\site-packages (from keras->quiver_engine) Requirement already satisfied: pyyaml in c:\python34\lib\site-packages (from keras->quiver_engine) Requirement already satisfied: six in c:\python34\lib\site-packages (from keras->quiver_engine) Collecting itsdangerous>=0.21 (from flask->quiver_engine) Downloading itsdangerous-0.24.tar.gz (46kB) 100% |################################| 51kB 4.3MB/s Collecting Werkzeug>=0.7 (from flask->quiver_engine) Downloading Werkzeug-0.11.11-py2.py3-none-any.whl (306kB) 100% |################################| 307kB 2.1MB/s Collecting click>=2.0 (from flask->quiver_engine) Downloading click-6.6.tar.gz (283kB) 100% |################################| 286kB 2.8MB/s Collecting Jinja2>=2.4 (from flask->quiver_engine) Downloading Jinja2-2.8-py2.py3-none-any.whl (263kB) 100% |################################| 266kB 3.1MB/s Collecting greenlet>=0.4.9 (from gevent->quiver_engine) Downloading greenlet-0.4.10-cp34-cp34m-win_amd64.whl Requirement already satisfied: scipy>=0.11 in c:\python34\lib\site-packages (from theano->keras->quiver_engine) Collecting MarkupSafe (from Jinja2>=2.4->flask->quiver_engine) Downloading MarkupSafe-0.23.tar.gz Installing collected packages: itsdangerous, Werkzeug, click, MarkupSafe, Jinja2, flask, flask-cors, greenlet, gevent, quiver-engine Running setup.py install for itsdangerous ... done Running setup.py install for click ... done Running setup.py install for MarkupSafe ... done Running setup.py install for quiver-engine ... error Complete output from command c:\python34\python.exe -u -c "import setuptools, tokenize;file='C:\Users\idg101\AppData\Local\Temp\pip-buil d-8ffm_h7y\quiver-engine\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, fi le, 'exec'))" install --record C:\Users\idg101\AppData\Local\Temp\pip-2amt2zih-record\install-record.txt --single-version-externally-managed --compi le: running install running build running build_py creating build creating build\lib creating build\lib\quiver_engine copying quiver_engine\imagenet_utils.py -> build\lib\quiver_engine copying quiver_engine\layer_result_generators.py -> build\lib\quiver_engine copying quiver_engine\server.py -> build\lib\quiver_engine copying quiver_engine\util.py -> build\lib\quiver_engine copying quiver_engine__init__.py -> build\lib\quiver_engine running egg_info writing quiver_engine.egg-info\PKG-INFO writing dependency_links to quiver_engine.egg-info\dependency_links.txt writing requirements to quiver_engine.egg-info\requires.txt writing top-level names to quiver_engine.egg-info\top_level.txt warning: manifest_maker: standard file '-c' not found
Command "c:\python34\python.exe -u -c "import setuptools, tokenize;file='C:\Users\idg101\AppData\Local\Temp\pip-build-8ffm_h7y\quiver-engin e\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\idg101\AppData\Local\Temp\pip-2amt2zih-record\install-record.txt --single-version-externally-managed --compile" failed with error co de 1 in C:\Users\idg101\AppData\Local\Temp\pip-build-8ffm_h7y\quiver-engine\ `