Skip to content
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

Install 0.2beta fail on Debian Lenny / python2.5 #20

Closed
mpenning opened this issue Nov 19, 2010 · 2 comments
Closed

Install 0.2beta fail on Debian Lenny / python2.5 #20

mpenning opened this issue Nov 19, 2010 · 2 comments

Comments

@mpenning
Copy link

Using a stock debian lenny box with:

  • numpy-1.3.0 built from source
  • scipy 0.8.0 built from source
  • matplotlib-1.0.0 built from source
  • pandas-0.2beta (note: no problems with latest github pull)

Errors: Install 0.2beta

mpenning@Bucksnort:~/src/pandas-0.2beta$ sudo python setup.py install
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
building extension "pandas.lib.tseries" sources
pandas.lib - nothing done with h_files = ['pandas/lib/include/wirth.h']
building data_files sources
running build_py
creating build
creating build/lib.linux-i686-2.5
creating build/lib.linux-i686-2.5/pandas
copying pandas/init.py -> build/lib.linux-i686-2.5/pandas
copying pandas/info.py -> build/lib.linux-i686-2.5/pandas
copying pandas/version.py -> build/lib.linux-i686-2.5/pandas
copying pandas/setup.py -> build/lib.linux-i686-2.5/pandas
creating build/lib.linux-i686-2.5/pandas/core
copying pandas/core/mixins.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/init.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/series.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/collection.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/index.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/panel.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/pytools.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/matrix.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/daterange.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/frame.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/common.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/datetools.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/groupby.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/setup.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/api.py -> build/lib.linux-i686-2.5/pandas/core
creating build/lib.linux-i686-2.5/pandas/io
copying pandas/io/init.py -> build/lib.linux-i686-2.5/pandas/io
copying pandas/io/parsers.py -> build/lib.linux-i686-2.5/pandas/io
creating build/lib.linux-i686-2.5/pandas/lib
copying pandas/lib/init.py -> build/lib.linux-i686-2.5/pandas/lib
copying pandas/lib/build.py -> build/lib.linux-i686-2.5/pandas/lib
copying pandas/lib/bench.py -> build/lib.linux-i686-2.5/pandas/lib
copying pandas/lib/setup.py -> build/lib.linux-i686-2.5/pandas/lib
creating build/lib.linux-i686-2.5/pandas/sandbox
copying pandas/sandbox/init.py -> build/lib.linux-i686-2.5/pandas/sandbox
creating build/lib.linux-i686-2.5/pandas/stats
copying pandas/stats/plm.py -> build/lib.linux-i686-2.5/pandas/stats
copying pandas/stats/init.py -> build/lib.linux-i686-2.5/pandas/stats
copying pandas/stats/ols.py -> build/lib.linux-i686-2.5/pandas/stats
copying pandas/stats/math.py -> build/lib.linux-i686-2.5/pandas/stats
copying pandas/stats/interface.py -> build/lib.linux-i686-2.5/pandas/stats
copying pandas/stats/common.py -> build/lib.linux-i686-2.5/pandas/stats
copying pandas/stats/fama_macbeth.py -> build/lib.linux-i686-2.5/pandas/stats
copying pandas/stats/setup.py -> build/lib.linux-i686-2.5/pandas/stats
copying pandas/stats/var.py -> build/lib.linux-i686-2.5/pandas/stats
copying pandas/stats/moments.py -> build/lib.linux-i686-2.5/pandas/stats
copying pandas/stats/api.py -> build/lib.linux-i686-2.5/pandas/stats
creating build/lib.linux-i686-2.5/pandas/util
copying pandas/util/init.py -> build/lib.linux-i686-2.5/pandas/util
copying pandas/util/decorators.py -> build/lib.linux-i686-2.5/pandas/util
copying pandas/util/testing.py -> build/lib.linux-i686-2.5/pandas/util
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building 'pandas.lib.tseries' extension
compiling C sources
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC

creating build/temp.linux-i686-2.5
creating build/temp.linux-i686-2.5/pandas
creating build/temp.linux-i686-2.5/pandas/lib
creating build/temp.linux-i686-2.5/pandas/lib/src
compile options: '-I/usr/lib/python2.5/site-packages/numpy/core/include -Ipandas/lib/include/ -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/python2.5 -c'
gcc: pandas/lib/src/wirth.c
gcc: pandas/lib/src/tseries.c
/usr/lib/python2.5/site-packages/numpy/core/include/numpy/__ufunc_api.h:183: warning: ?_import_umath? defined but not used
pandas/lib/src/tseries.c:1397: warning: ?__pyx_f_7tseries_get_int16_ptr? defined but not used
pandas/lib/src/tseries.c:1434: warning: ?__pyx_f_7tseries_get_int32_ptr? defined but not used
pandas/lib/src/tseries.c:1471: warning: ?__pyx_f_7tseries_get_int64_ptr? defined but not used
pandas/lib/src/tseries.c:1508: warning: ?__pyx_f_7tseries_get_double_ptr? defined but not used
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-i686-2.5/pandas/lib/src/tseries.o build/temp.linux-i686-2.5/pandas/lib/src/wirth.o -o build/lib.linux-i686-2.5/pandas/lib/tseries.so
running scons
running install_lib
copying build/lib.linux-i686-2.5/pandas/lib/tseries.so -> /usr/lib/python2.5/site-packages/pandas/lib
running install_data
running install_egg_info
Removing /usr/lib/python2.5/site-packages/pandas-0.2beta.egg-info
Writing /usr/lib/python2.5/site-packages/pandas-0.2beta.egg-info
mpenning@Bucksnort:/src/pandas-0.2beta$ cd
mpenning@Bucksnort:
/$
mpenning@Bucksnort:~$ python
Python 2.5.2 (r252:60911, Jan 24 2010, 14:53:14)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import pandas
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python2.5/site-packages/pandas/init.py", line 14, in
from pandas.stats.api import *
File "/usr/lib/python2.5/site-packages/pandas/stats/api.py", line 7, in
from pandas.stats.moments import *
File "/usr/lib/python2.5/site-packages/pandas/stats/moments.py", line 365, in
_rolling_sum = _wrap_cython(tseries.roll_sum)
AttributeError: 'module' object has no attribute 'roll_sum'

@wesm
Copy link
Member

wesm commented Nov 19, 2010

Should be safe to use the git HEAD, I will try to get out the 0.3 release by the end of the year

@wesm
Copy link
Member

wesm commented Dec 17, 2010

Try installing the 0.3beta from PyPI:

http://pypi.python.org/pypi/pandas/0.3.0.beta

let me know if you have any further issues

This issue 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

No branches or pull requests

2 participants