snewhouse / glu-genetics

Automatically exported from code.google.com/p/glu-genetics
Other
0 stars 1 forks source link

Install doesn't work python 2.6 pip, numpy 1.4 #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Can you make the install work with python 2.6?

The monkey patch doesn't work

$ pip freeze
Cython==0.12.1
Pyrex==0.9.9
numpy==1.4.1
wsgiref==0.1.2

$ pip install -e  hg+http://glu-genetics.googlecode.com/hg/#egg=glu-genetics
Obtaining glu-genetics from 
hg+http://glu-genetics.googlecode.com/hg/#egg=glu-genetics
  Cloning hg http://glu-genetics.googlecode.com/hg/ to ./glu/src/glu-genetics
  Running setup.py egg_info for package glu-genetics
    build_src
    building extension "glu.lib._illumina" sources
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "/home/james/glu/src/glu-genetics/setup.py", line 124, in <module>
        main()
      File "/home/james/glu/src/glu-genetics/setup.py", line 119, in main
        glmnet_config(),
      File "/home/james/glu/lib/python2.6/site-packages/numpy/distutils/core.py", line 186, in setup
        return old_setup(**new_attr)
      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 "/home/james/glu/lib/python2.6/site-packages/numpy/distutils/command/egg_info.py", line 8, in run
        self.run_command("build_src")
      File "/usr/lib/python2.6/distutils/cmd.py", line 333, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
        cmd_obj.run()
      File "/home/james/glu/lib/python2.6/site-packages/numpy/distutils/command/build_src.py", line 152, in run
        self.build_sources()
      File "/home/james/glu/lib/python2.6/site-packages/numpy/distutils/command/build_src.py", line 169, in build_sources
        self.build_extension_sources(ext)
      File "/home/james/glu/lib/python2.6/site-packages/numpy/distutils/command/build_src.py", line 336, in build_extension_sources
        sources = self.pyrex_sources(sources, ext)
      File "/home/james/glu/lib/python2.6/site-packages/numpy/distutils/command/build_src.py", line 459, in pyrex_sources
        extension)
      File "/home/james/glu/lib/python2.6/site-packages/numpy/distutils/command/build_src.py", line 466, in generate_a_pyrex_source
        if self.inplace or not have_pyrex():
    TypeError: 'bool' object is not callable
    Complete output from command python setup.py egg_info:
    running egg_info

Original issue reported on code.google.com by cas...@gmail.com on 23 Jul 2010 at 1:25

GoogleCodeExporter commented 9 years ago
The whole build and distribution system I'm using in working poorly.  I'm going 
to try another strategy and will hopefully avoid much of the current pain.

Original comment by bioinformed@gmail.com on 5 Aug 2010 at 5:55