keplr-io / quiver

Interactive convnet features visualization for Keras
https://keplr-io.github.io/quiver/
MIT License
1.76k stars 223 forks source link

pip install doesnt work with windows 7, python 3.5 #31

Closed isaacgerg closed 6 years ago

isaacgerg commented 7 years ago

Transcript....

c:\Python35\Scripts>pip install quiver_engine
Collecting quiver_engine
  Downloading quiver_engine-0.1.4.1.4.tar.gz (398kB)
    100% |################################| 399kB 984kB/s
Requirement already satisfied: keras in c:\python35\lib\site-packages (from quiver_engine)
Requirement already satisfied: tensorflow in c:\python35\lib\site-packages (from quiver_engine)
Collecting flask (from quiver_engine)
  Using cached Flask-0.11.1-py2.py3-none-any.whl
Collecting flask_cors (from quiver_engine)
  Using cached Flask_Cors-3.0.2-py2.py3-none-any.whl
Collecting gevent (from quiver_engine)
  Using cached gevent-1.1.2-cp35-cp35m-win_amd64.whl
Requirement already satisfied: numpy in c:\python35\lib\site-packages (from quiver_engine)
Requirement already satisfied: pillow in c:\python35\lib\site-packages (from quiver_engine)
Requirement already satisfied: pyyaml in c:\python35\lib\site-packages (from keras->quiver_engine)
Requirement already satisfied: six in c:\python35\lib\site-packages (from keras->quiver_engine)
Requirement already satisfied: theano in c:\python35\lib\site-packages (from keras->quiver_engine)
Requirement already satisfied: wheel>=0.26 in c:\python35\lib\site-packages (from tensorflow->quiver_engine)
Requirement already satisfied: protobuf==3.1.0 in c:\python35\lib\site-packages (from tensorflow->quiver_engine)
Collecting Jinja2>=2.4 (from flask->quiver_engine)
  Using cached Jinja2-2.8-py2.py3-none-any.whl
Collecting itsdangerous>=0.21 (from flask->quiver_engine)
  Using cached itsdangerous-0.24.tar.gz
Collecting Werkzeug>=0.7 (from flask->quiver_engine)
  Using cached Werkzeug-0.11.11-py2.py3-none-any.whl
Collecting click>=2.0 (from flask->quiver_engine)
  Downloading click-6.6-py2.py3-none-any.whl (71kB)
    100% |################################| 71kB 1.1MB/s
Collecting greenlet>=0.4.9 (from gevent->quiver_engine)
  Using cached greenlet-0.4.10-cp35-cp35m-win_amd64.whl
Requirement already satisfied: scipy>=0.11 in c:\python35\lib\site-packages (from theano->keras->quiver_engine)
Requirement already satisfied: setuptools in c:\python35\lib\site-packages (from protobuf==3.1.0->tensorflow->quiver_engine)
Collecting MarkupSafe (from Jinja2>=2.4->flask->quiver_engine)
  Using cached MarkupSafe-0.23.tar.gz
Building wheels for collected packages: quiver-engine, itsdangerous, MarkupSafe
  Running setup.py bdist_wheel for quiver-engine ... error
  Complete output from command c:\python35\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\idg101\\AppData\\Local\\Temp\\pip-build-
vslylmu1\\quiver-engine\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file
__, 'exec'))" bdist_wheel -d C:\Users\idg101\AppData\Local\Temp\tmpw98ldkj8pip-wheel- --python-tag cp35:
  running bdist_wheel
  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 dependency_links to quiver_engine.egg-info\dependency_links.txt
  writing top-level names to quiver_engine.egg-info\top_level.txt
  writing requirements to quiver_engine.egg-info\requires.txt
  writing quiver_engine.egg-info\PKG-INFO
  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-vslylmu1\quiver-engine\setup.py", line 21, in <module>
      'pillow'
    File "c:\python35\lib\distutils\core.py", line 148, in setup
      dist.run_commands()
    File "c:\python35\lib\distutils\dist.py", line 955, in run_commands
      self.run_command(cmd)
    File "c:\python35\lib\distutils\dist.py", line 974, in run_command
      cmd_obj.run()
    File "c:\python35\lib\site-packages\wheel\bdist_wheel.py", line 179, in run
      self.run_command('build')
    File "c:\python35\lib\distutils\cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "c:\python35\lib\distutils\dist.py", line 974, in run_command
      cmd_obj.run()
    File "c:\python35\lib\distutils\command\build.py", line 135, in run
      self.run_command(cmd_name)
    File "c:\python35\lib\distutils\cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "c:\python35\lib\distutils\dist.py", line 974, in run_command
      cmd_obj.run()
    File "c:\python35\lib\site-packages\setuptools\command\build_py.py", line 52, in run
      self.build_package_data()
    File "c:\python35\lib\site-packages\setuptools\command\build_py.py", line 107, in build_package_data
      for package, src_dir, build_dir, filenames in self.data_files:
    File "c:\python35\lib\site-packages\setuptools\command\build_py.py", line 65, in __getattr__
      self.data_files = self._get_data_files()
    File "c:\python35\lib\site-packages\setuptools\command\build_py.py", line 79, in _get_data_files
      return list(map(self._get_pkg_data_files, self.packages or ()))
    File "c:\python35\lib\site-packages\setuptools\command\build_py.py", line 91, in _get_pkg_data_files
      for file in self.find_data_files(package, src_dir)
    File "c:\python35\lib\site-packages\setuptools\command\build_py.py", line 98, in find_data_files
      + self.package_data.get(package, []))
  TypeError: can only concatenate list (not "str") to list

  ----------------------------------------
  Failed building wheel for quiver-engine
  Running setup.py clean for quiver-engine
  Running setup.py bdist_wheel for itsdangerous ... done
  Stored in directory: C:\Users\idg101\AppData\Local\pip\Cache\wheels\fc\a8\66\24d655233c757e178d45dea2de22a04c6d92766abfb741129a
  Running setup.py bdist_wheel for MarkupSafe ... done
  Stored in directory: C:\Users\idg101\AppData\Local\pip\Cache\wheels\a3\fa\dc\0198eed9ad95489b8a4f45d14dd5d2aee3f8984e46862c5748
Successfully built itsdangerous MarkupSafe
Failed to build quiver-engine
Installing collected packages: MarkupSafe, Jinja2, itsdangerous, Werkzeug, click, flask, flask-cors, greenlet, gevent, quiver-engine
  Running setup.py install for quiver-engine ... error
    Complete output from command c:\python35\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\idg101\\AppData\\Local\\Temp\\pip-buil
d-vslylmu1\\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-9_qxsrge-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 dependency_links to quiver_engine.egg-info\dependency_links.txt
    writing top-level names to quiver_engine.egg-info\top_level.txt
    writing requirements to quiver_engine.egg-info\requires.txt
    writing quiver_engine.egg-info\PKG-INFO
    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-vslylmu1\quiver-engine\setup.py", line 21, in <module>
        'pillow'
      File "c:\python35\lib\distutils\core.py", line 148, in setup
        dist.run_commands()
      File "c:\python35\lib\distutils\dist.py", line 955, in run_commands
        self.run_command(cmd)
      File "c:\python35\lib\distutils\dist.py", line 974, in run_command
        cmd_obj.run()
      File "c:\python35\lib\site-packages\setuptools\command\install.py", line 61, in run
        return orig.install.run(self)
      File "c:\python35\lib\distutils\command\install.py", line 539, in run
        self.run_command('build')
      File "c:\python35\lib\distutils\cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "c:\python35\lib\distutils\dist.py", line 974, in run_command
        cmd_obj.run()
      File "c:\python35\lib\distutils\command\build.py", line 135, in run
        self.run_command(cmd_name)
      File "c:\python35\lib\distutils\cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "c:\python35\lib\distutils\dist.py", line 974, in run_command
        cmd_obj.run()
      File "c:\python35\lib\site-packages\setuptools\command\build_py.py", line 52, in run
        self.build_package_data()
      File "c:\python35\lib\site-packages\setuptools\command\build_py.py", line 107, in build_package_data
        for package, src_dir, build_dir, filenames in self.data_files:
      File "c:\python35\lib\site-packages\setuptools\command\build_py.py", line 65, in __getattr__
        self.data_files = self._get_data_files()
      File "c:\python35\lib\site-packages\setuptools\command\build_py.py", line 79, in _get_data_files
        return list(map(self._get_pkg_data_files, self.packages or ()))
      File "c:\python35\lib\site-packages\setuptools\command\build_py.py", line 91, in _get_pkg_data_files
        for file in self.find_data_files(package, src_dir)
      File "c:\python35\lib\site-packages\setuptools\command\build_py.py", line 98, in find_data_files
        + self.package_data.get(package, []))
    TypeError: can only concatenate list (not "str") to list

    ----------------------------------------
Command "c:\python35\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\idg101\\AppData\\Local\\Temp\\pip-build-vslylmu1\\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-9_qxsrge-record\install-record.txt --single-version-externally-managed --compile" failed with error co
de 1 in C:\Users\idg101\AppData\Local\Temp\pip-build-vslylmu1\quiver-engine\

c:\Python35\Scripts>
jakebian commented 6 years ago

should be fixed by https://github.com/keplr-io/quiver/pull/55 which I just merged!