question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pip install doesnt work with python 3.4, windows x64

See original GitHub issue

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

reading manifest file 'quiver_engine.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'quiver_engine.egg-info\SOURCES.txt'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\idg101\AppData\Local\Temp\pip-build-8ffm_h7y\quiver-engine\setup.py", line 20, in <module>
    'pillow'
  File "c:\python34\lib\distutils\core.py", line 148, in setup
    dist.run_commands()
  File "c:\python34\lib\distutils\dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "c:\python34\lib\distutils\dist.py", line 974, in run_command
    cmd_obj.run()
  File "c:\python34\lib\site-packages\setuptools\command\install.py", line 61, in run
    return orig.install.run(self)
  File "c:\python34\lib\distutils\command\install.py", line 539, in run
    self.run_command('build')
  File "c:\python34\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "c:\python34\lib\distutils\dist.py", line 974, in run_command
    cmd_obj.run()
  File "c:\python34\lib\distutils\command\build.py", line 126, in run
    self.run_command(cmd_name)
  File "c:\python34\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "c:\python34\lib\distutils\dist.py", line 974, in run_command
    cmd_obj.run()
  File "c:\python34\lib\site-packages\setuptools\command\build_py.py", line 47, in run
    self.build_package_data()
  File "c:\python34\lib\site-packages\setuptools\command\build_py.py", line 103, in build_package_data
    for package, src_dir, build_dir, filenames in self.data_files:
  File "c:\python34\lib\site-packages\setuptools\command\build_py.py", line 59, in __getattr__
    self.data_files = files = self._get_data_files()
  File "c:\python34\lib\site-packages\setuptools\command\build_py.py", line 86, in _get_data_files
    file[plen:] for file in self.find_data_files(package, src_dir)
  File "c:\python34\lib\site-packages\setuptools\command\build_py.py", line 94, in find_data_files
    + self.package_data.get(package, []))
TypeError: can only concatenate list (not "str") to list

----------------------------------------

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
`

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
octycscommented, Nov 19, 2016

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.

1reaction
taichu012commented, Nov 19, 2017

agree with upstair, detail desrcription:

  1. search keyword "quiver“ at pypi webside (https://pypi.python.org/pypi);
  2. download one of quiver package name “quiver_engine 0.1.4.1.4”;
  3. unzip it on local disk and "cd …..\quiver_engine 0.1.4.1.4\”;
  4. just run “pip install -e .”, it will auto call setup.py, then quiver_engine installed without any problem;
  5. run python under dos “cmd”;
  6. just for test, type “from quiver_engine impor server” and no error is reported;
  7. just for use in keras, look detail on function server.lunch, type “help(quiver_engine.server.lanuch”, you will find it suggest only 5 parameter like below and NEEDN’T CLASSES MEAN STD TOP these 4 parameters!!!"

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)


  1. it you add codes below, you MUST first make dir you need first! server.launch(model = model,temp_folder=‘./quiver/tmp’,input_folder=‘./quiver/input_imgs’,port=5000) 9, run codes with launch function in pycharm or python, quiver_engine will OPEN A WEBPAGE show your images (you FIRST copy to input_folder before run codes) and select it to see feature maps in your diagram show also on web page’s left frame.
  2. if it run OK as mentioned in step 9, you trains will BLOCKED by quiver_engine!
Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to install pip package on Python3.4.0 windows 7 64 ...
I am not sure what's the problem, so try all of the below until one works. The command python and pip is for...
Read more >
How to Install PIP for Python on Windows
Step 1: Check if Pip is Already Installed​​ Pip is installed by default on many newer Python builds. To check and see if...
Read more >
Issue 20983: Python 3.4 'repair' Windows installation does not ...
On Windows, when you repair your Python 3.4 installation, it will not reinstall pip & setuptools. Here by 'repair' I mean a 'Windows...
Read more >
How to Install PIP on Windows: A Simple Guide with ...
PIP is a package-management system designed to install libraries. This tutorial covers how to install PIP for Python on Windows.
Read more >
How to Install Pip on Windows
One of the most common problems with running Python tools like pip is the “not on PATH” error. This means that Python cannot...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found