Skip to content

Instantly share code, notes, and snippets.

@Ivoz
Created February 13, 2013 16:55
Show Gist options
  • Select an option

  • Save Ivoz/4946057 to your computer and use it in GitHub Desktop.

Select an option

Save Ivoz/4946057 to your computer and use it in GitHub Desktop.
gevent 1.0rc2 build from scratch failure
------------------------------------------------------------
/home/ivo/.virtualenvs/pytest/bin/pip run on Thu Feb 14 03:41:03 2013
Obtaining gevent from git+git://github.com/SiteSupport/gevent.git@1.0rc2#egg=gevent
...
... # package searching
...
Skipping link https://github.com/security (from https://github.com/python-greenlet/greenlet); not a file
Found link https://github.com/python-greenlet/greenlet/zipball/master#egg=greenlet-dev (from https://github.com/python-greenlet/greenlet), version: dev
Using version 0.4.0 (newest of versions: 0.4.0, 0.3.4, 0.3.3, 0.3.2, 0.3.1, 0.3, 0.2, 0.1, dev, dev)
Downloading from URL http://pypi.python.org/packages/source/g/greenlet/greenlet-0.4.0.zip#md5=87887570082caadc08fb1f8671dbed71 (from http://pypi.python.org/simple/greenlet/)
Running setup.py egg_info for package greenlet
running egg_info
creating pip-egg-info/greenlet.egg-info
writing pip-egg-info/greenlet.egg-info/PKG-INFO
writing top-level names to pip-egg-info/greenlet.egg-info/top_level.txt
writing dependency_links to pip-egg-info/greenlet.egg-info/dependency_links.txt
writing manifest file 'pip-egg-info/greenlet.egg-info/SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info/greenlet.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pip-egg-info/greenlet.egg-info/SOURCES.txt'
Source in /home/ivo/.virtualenvs/pytest/build/greenlet has version 0.4.0, which satisfies requirement greenlet (from gevent)
Installing collected packages: gevent, greenlet
Running setup.py develop for gevent
Running command /home/ivo/.virtualenvs/pytest/bin/python2 -c "import setuptools; __file__='/home/ivo/.virtualenvs/pytest/src/gevent/setup.py'; exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps
running develop
running egg_info
writing requirements to gevent.egg-info/requires.txt
writing gevent.egg-info/PKG-INFO
writing top-level names to gevent.egg-info/top_level.txt
writing dependency_links to gevent.egg-info/dependency_links.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'gevent.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'Makefile.ext'
writing manifest file 'gevent.egg-info/SOURCES.txt'
running build_ext
/home/ivo/.virtualenvs/pytest/bin/python2 util/cythonpp.py -o gevent.core.c gevent/core.ppyx
Running cython -o gevent.core.c gevent/core.pyx # !EV_USE_SIGNALFD && !defined(LIBEV_EMBED) && !defined(_WIN32)
sh: cython: command not found
Traceback (most recent call last):
File "util/cythonpp.py", line 801, in <module>
process_filename(filename, options.output_file)
File "util/cythonpp.py", line 85, in process_filename
output = run_cython(pyx_filename, sourcehash, output_filename, banner, comment)
File "util/cythonpp.py", line 529, in run_cython
system(command, comment)
File "util/cythonpp.py", line 539, in system
raise AssertionError('%r failed with code %s' % (command, result))
AssertionError: 'cython -o gevent.core.c gevent/core.pyx' failed with code 32512
make: *** [gevent/gevent.core.c] Error 1
Complete output from command /home/ivo/.virtualenvs/pytest/bin/python2 -c "import setuptools; __file__='/home/ivo/.virtualenvs/pytest/src/gevent/setup.py'; exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps:
running develop
running egg_info
writing requirements to gevent.egg-info/requires.txt
writing gevent.egg-info/PKG-INFO
writing top-level names to gevent.egg-info/top_level.txt
writing dependency_links to gevent.egg-info/dependency_links.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'gevent.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'Makefile.ext'
writing manifest file 'gevent.egg-info/SOURCES.txt'
running build_ext
/home/ivo/.virtualenvs/pytest/bin/python2 util/cythonpp.py -o gevent.core.c gevent/core.ppyx
Running cython -o gevent.core.c gevent/core.pyx # !EV_USE_SIGNALFD && !defined(LIBEV_EMBED) && !defined(_WIN32)
sh: cython: command not found
Traceback (most recent call last):
File "util/cythonpp.py", line 801, in <module>
process_filename(filename, options.output_file)
File "util/cythonpp.py", line 85, in process_filename
output = run_cython(pyx_filename, sourcehash, output_filename, banner, comment)
File "util/cythonpp.py", line 529, in run_cython
system(command, comment)
File "util/cythonpp.py", line 539, in system
raise AssertionError('%r failed with code %s' % (command, result))
AssertionError: 'cython -o gevent.core.c gevent/core.pyx' failed with code 32512
make: *** [gevent/gevent.core.c] Error 1
----------------------------------------
Command /home/ivo/.virtualenvs/pytest/bin/python2 -c "import setuptools; __file__='/home/ivo/.virtualenvs/pytest/src/gevent/setup.py'; exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps failed with error code 1 in /home/ivo/.virtualenvs/pytest/src/gevent
Exception information:
Traceback (most recent call last):
File "/home/ivo/.virtualenvs/pytest/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg/pip/basecommand.py", line 107, in main
status = self.run(options, args)
File "/home/ivo/.virtualenvs/pytest/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg/pip/commands/install.py", line 261, in run
requirement_set.install(install_options, global_options)
File "/home/ivo/.virtualenvs/pytest/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg/pip/req.py", line 1166, in install
requirement.install(install_options, global_options)
File "/home/ivo/.virtualenvs/pytest/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg/pip/req.py", line 562, in install
self.install_editable(install_options, global_options)
File "/home/ivo/.virtualenvs/pytest/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg/pip/req.py", line 652, in install_editable
show_stdout=False)
File "/home/ivo/.virtualenvs/pytest/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg/pip/util.py", line 612, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command /home/ivo/.virtualenvs/pytest/bin/python2 -c "import setuptools; __file__='/home/ivo/.virtualenvs/pytest/src/gevent/setup.py'; exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps failed with error code 1 in /home/ivo/.virtualenvs/pytest/src/gevent
@calvinchengx

Copy link
Copy Markdown

Hi, I am running into exactly the same problem. Did you manage to solve this problem?

@longlho

longlho commented Jul 20, 2013

Copy link
Copy Markdown

You guys need cython

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment