Skip to content

Instantly share code, notes, and snippets.

@unnonouno
Created December 6, 2015 09:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unnonouno/e46d11c05fa59050326a to your computer and use it in GitHub Desktop.
Save unnonouno/e46d11c05fa59050326a to your computer and use it in GitHub Desktop.
with py3.4, cython 0.22
$ python --version
Python 3.4.3
$ pip install chainer
Downloading/unpacking chainer
Downloading chainer-1.5.0.3.tar.gz (864kB): 864kB downloaded
Running setup.py (path:/tmp/pip_build_root/chainer/setup.py) egg_info for package chainer
Unable to find pgen, not compiling formal grammar.
warning: no files found matching '*.pyx' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.h' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Utility'
Installed /tmp/pip_build_root/chainer/Cython-0.22.1-py3.4-linux-x86_64.egg
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip_build_root/chainer/setup.py", line 88, in <module>
'build_ext': chainer_setup_build.chainer_build_ext,
File "/usr/lib/python3.4/distutils/core.py", line 108, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 239, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 264, in fetch_build_eggs
replace_conflicting=True
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 628, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: Cython>=0.23
Complete output from command python setup.py egg_info:
Unable to find pgen, not compiling formal grammar.
warning: no files found matching '*.pyx' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.h' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Utility'
Installed /tmp/pip_build_root/chainer/Cython-0.22.1-py3.4-linux-x86_64.egg
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip_build_root/chainer/setup.py", line 88, in <module>
'build_ext': chainer_setup_build.chainer_build_ext,
File "/usr/lib/python3.4/distutils/core.py", line 108, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 239, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 264, in fetch_build_eggs
replace_conflicting=True
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 628, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: Cython>=0.23
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/chainer
Storing debug log for failure in /root/.pip/pip.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment