Skip to content

BLD: bring back build_ext warning message cython is missing #2439 #2860

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
1 commit merged into from Mar 15, 2013
Merged

BLD: bring back build_ext warning message cython is missing #2439 #2860

1 commit merged into from Mar 15, 2013

Conversation

ghost
Copy link

@ghost ghost commented Feb 13, 2013

@aflaxman
Copy link
Contributor

Still does not give me a warning, here is more details from the build::

running build_ext
building 'pandas.index' extension
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ipandas/src/klib -Ipandas/src -I/snfs2/HOME/abie/ENV_dismod/lib/python2.6/site-packages/numpy/core/include -I/usr/include/python2.6 -c pandas/index.c -o build/temp.linux-x86_64-2.6/pandas/index.o
gcc: pandas/index.c: No such file or directory
gcc: no input files
error: command 'gcc' failed with exit status 1

@ghost
Copy link
Author

ghost commented Feb 13, 2013

strange.

λ sudo ./setup.py clean; ./setup.py build_ext --inplace
running clean
running build_ext
Traceback (most recent call last):
  File "./setup.py", line 720, in <module>
    **setuptools_kwargs)
  File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/distutils/command/build_ext.py", line 339, in run
    self.build_extensions()
  File "./setup.py", line 343, in build_extensions
    self.check_cython_extensions(self.extensions)
  File "./setup.py", line 340, in check_cython_extensions
    """ % src)
Exception: Cython-generated file 'pandas/index.c' not found.
                Cython is required to compile pandas from a development branch.
                Please install Cython or download a release package of pandas.

@aflaxman
Copy link
Contributor

Python 2.6 vs 2.7?

From: y-p [mailto:notifications@github.com]
Sent: Tuesday, February 12, 2013 5:33 PM
To: pydata/pandas
Cc: Abraham Flaxman
Subject: Re: [pandas] BLD: bring back build_ext warning message cython is missing #2439 (#2860)

strange.

λ sudo ./setup.py clean; ./setup.py build_ext --inplace

running clean

running build_ext

Traceback (most recent call last):

File "./setup.py", line 720, in

**setuptools_kwargs)

File "/usr/lib/python2.7/distutils/core.py", line 152, in setup

dist.run_commands()

File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands

self.run_command(cmd)

File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command

cmd_obj.run()

File "/usr/lib/python2.7/distutils/command/build_ext.py", line 339, in run

self.build_extensions()

File "./setup.py", line 343, in build_extensions

self.check_cython_extensions(self.extensions)

File "./setup.py", line 340, in check_cython_extensions

""" % src)

Exception: Cython-generated file 'pandas/index.c' not found.

            Cython is required to compile pandas from a development branch.

            Please install Cython or download a release package of pandas.


Reply to this email directly or view it on GitHubhttps://github.com//pull/2860#issuecomment-13470133.

@ghost
Copy link
Author

ghost commented Feb 13, 2013

nope.

λ sudo ./setup.py clean; ./setup.py build_ext --inplace
running clean
running build_ext
Traceback (most recent call last):
  File "./setup.py", line 720, in <module>
    **setuptools_kwargs)
  File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.6/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "./setup.py", line 343, in build_extensions
    self.check_cython_extensions(self.extensions)
  File "./setup.py", line 340, in check_cython_extensions
    """ % src)
Exception: Cython-generated file 'pandas/index.c' not found.
                Cython is required to compile pandas from a development branch.
                Please install Cython or download a release package of pandas.

ghost pushed a commit that referenced this pull request Mar 15, 2013
BLD: bring back build_ext warning message cython is missing #2439
@ghost ghost merged commit b513215 into pandas-dev:master Mar 15, 2013
@ghost
Copy link
Author

ghost commented Mar 15, 2013

merged.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant