Question: Problem Installing Rpy2 On A Mac Os X 10.5.8
4
gravatar for Schrodinger'S Cat
8.4 years ago by
Schrodinger'S Cat210 wrote:

Hello, I've searched far and wide, read a previous question in stackoverflow but cant seem to solve the problem of installing rpy2 on my Mac with OS X 10.5.8. I have Xcode 3.1.4 installed and R 2.11.1 when I run:

sudo python setup.py build install

I get this:

  running build
    running build_py
    running build_ext
    building 'rpy2.rinterface.rinterface' extension
    gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch ppc -arch x86_64 -g -O2 -DNDEBUG -g -O3 -DR_INTERFACE_PTRS=1        -DHAVE_POSIX_SIGJMP=1 -DCSTACK_DEFNS=1 -DRIF_HAS_RSIGHAND=1 -Irpy/rinterface -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/i386 -c rpy/rinterface/rinterface.c -o build/temp.macosx-10.5-fat3-2.7/rpy/rinterface/rinterface.o -F/Library/Frameworks/R.framework/.. -framework R -L/Library/Frameworks/R.framework/Resources/lib/i386 -lRlapack -L/Library/Frameworks/R.framework/Resources/lib/i386 -lRblas
    i686-apple-darwin9-gcc-4.0.1: -lRlapack: linker input file unused because linking not done
    i686-apple-darwin9-gcc-4.0.1: -lRblas: linker input file unused because linking not done
    i686-apple-darwin9-gcc-4.0.1: -lRlapack: linker input file unused because linking not done
    i686-apple-darwin9-gcc-4.0.1: -lRblas: linker input file unused because linking not done
    powerpc-apple-darwin9-gcc-4.0.1: -lRlapack: linker input file unused because linking not done
    powerpc-apple-darwin9-gcc-4.0.1: -lRblas: linker input file unused because linking not done
    gcc-4.0 -arch i386 -arch ppc -arch x86_64 -isysroot / -g -bundle -undefined dynamic_lookup build/temp.macosx-10.5-fat3-2.7/rpy/rinterface/rinterface.o -L-F/Library/Frameworks/R.framework/.. -L-framework -LR -L/Library/Frameworks/R.framework/Resources/modules -L-F/Library/Frameworks/R.framework/.. -L-framework -LR  L/Library/Frameworks/R.framework/Resources/modules -lR -o build/lib.macosx-10.5-fat3-2.7/rpy2/rinterface/rinterface.so
    ld: library not found for -lR
    ld: library not found for -lR
    collect2: ld returned 1 exit status
    ldcollect2: : library ld returned 1 exit status
    not found for -lR
    collect2: ld returned 1 exit status
    lipo: can't open input file: /var/tmp//ccFngK8H.out (No such file or directory)
    error: command 'gcc-4.0' failed with exit status 1

Edit: tried Michael Dondrup's suggestions:

sudo python setup.py build --r-home /Library/Frameworks/R.framework/Versions/2.11/Resources install

and got this Error:

running build
running build_py
running build_ext
building 'rpy2.rinterface.rinterface' extension
gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch ppc -arch x86_64 -g -O2 -DNDEBUG -g -O3 -DR_INTERFACE_PTRS=1 -DHAVE_POSIX_SIGJMP=1 -DCSTACK_DEFNS=1 -DRIF_HAS_RSIGHAND=1 -Irpy/rinterface -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/i386 -c rpy/rinterface/rinterface.c -o build/temp.macosx-10.5-fat3-2.7/rpy/rinterface/rinterface.o -F/Library/Frameworks/R.framework/.. -framework R -L/Library/Frameworks/R.framework/Resources/lib/i386 -lRlapack -L/Library/Frameworks/R.framework/Resources/lib/i386 -lRblas
i686-apple-darwin9-gcc-4.0.1: -lRlapack: linker input file unused because linking not done
i686-apple-darwin9-gcc-4.0.1: -lRblas: linker input file unused because linking not done
i686-apple-darwin9-gcc-4.0.1: -lRlapack: linker input file unused because linking not done
i686-apple-darwin9-gcc-4.0.1: -lRblas: linker input file unused because linking not done
powerpc-apple-darwin9-gcc-4.0.1: -lRlapack: linker input file unused because linking not done
powerpc-apple-darwin9-gcc-4.0.1: -lRblas: linker input file unused because linking not done
gcc-4.0 -arch i386 -arch ppc -arch x86_64 -isysroot / -g -bundle -undefined dynamic_lookup build/temp.macosx-10.5-fat3-2.7/rpy/rinterface/rinterface.o -L-F/Library/Frameworks/R.framework/.. -L-framework -LR -L/Library/Frameworks/R.framework/Versions/2.11/Resources/modules -L-F/Library/Frameworks/R.framework/.. -L-framework -LR -L/Library/Frameworks/R.framework/Versions/2.11/Resources/modules -lR -o build/lib.macosx-10.5-fat3-2.7/rpy2/rinterface/rinterface.so
ld: library not found for -lR
collect2: ld returned 1 exit statusld
: library not found for -lR
collect2: ld: library not found for -lR
ld returned 1 exit status
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccet5GLC.out (No such file or directory)
error: command 'gcc-4.0' failed with exit status 1

As Laurent Gautier suggested I tried installing rpy2 2.1.6 and 2.2.0 future version. got a very long error list, an excerpt:

unning build
running build_py
running build_ext
Configuration for R as a library:
  include_dirs: ('/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/i386',)
  libraries: ('Rblas', 'Rlapack')
  library_dirs: ('/Library/Frameworks/R.framework/Resources/lib/i386',)
  extra_link_args: ('-framework R', '-F/Library/Frameworks/R.framework/..')
 # OSX-specific (included in extra_link_args)
  framework_dirs: ()
  frameworks: ()
building 'rpy2.rinterface.rinterface' extension
gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch ppc -arch x86_64 -g -O2 -DNDEBUG -g -O3 -DR_INTERFACE_PTRS=1 -DHAVE_POSIX_SIGJMP=1 -DCSTACK_DEFNS=1 -DRIF_HAS_RSIGHAND=1 -I./rpy/rinterface -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/i386 -c ./rpy/rinterface/rinterface.c -o build/temp.macosx-10.5-fat3-2.7/./rpy/rinterface/rinterface.o
./rpy/rinterface/rinterface.c:61:15: error: R.h: No such file or directory
./rpy/rinterface/rinterface.c:62:24: error: Rinternals.h: No such file or directory
./rpy/rinterface/rinterface.c:63:22: error: Rdefines.h: No such file or directory
./rpy/rinterface/rinterface.c:65:24: error: Rinterface.h: No such file or directory
./rpy/rinterface/rinterface.c:66:27: error: R_ext/Complex.h: No such file or directory
./rpy/rinterface/rinterface.c:67:23: error: Rembedded.h: No such file or directory
./rpy/rinterface/rinterface.c:70:29: error: R_ext/eventloop.h: No such file or directory
./rpy/rinterface/rinterface.c:74:28: error: R_ext/Rdynload.h: No such file or directory
./rpy/rinterface/rinterface.c:75:28: error: R_ext/RStartup.h: No such file or directory
In file included from ./rpy/rinterface/rinterface.c:92:
./rpy/rinterface/rpy_rinterface.h:36: error: syntax error before 'SEXP'
./rpy/rinterface/rpy_rinterface.h:36: warning: no semicolon at end of struct or union
./rpy/rinterface/rpy_rinterface.h:37: warning: data definition has no type or storage class
./rpy/rinterface/rpy_rinterface.h:42: error: syntax error before 'SexpObject'
./rpy/rinterface/rpy_rinterface.h:42: warning: no semicolon at end of struct or union
./rpy/rinterface/rpy_rinterface.h:44: warning: data definition has no type or storage class
In file included from ./rpy/rinterface/rinterface.c:96:
./rpy/rinterface/r_utils.h:6: error: syntax error before 'rpy_findFun'
./rpy/rinterface/r_utils.h:6: error: syntax error before 'symbol'
./rpy/rinterface/r_utils.h:6: warning: data definition has no type or storage class
./rpy/rinterface/r_utils.h:8: error: syntax error before 'rpy_serialize'
./rpy/rinterface/r_utils.h:8: error: syntax error before 'object'
./rpy/rinterface/r_utils.h:8: warning: data definition has no type or storage class
./rpy/rinterface/r_utils.h:9: error: syntax error before 'rpy_unserialize'
./rpy/rinterface/r_utils.h:9: error: syntax error before 'connection'
./rpy/rinterface/r_utils.h:9: warning: data definition has no type or storage class
In file included from ./rpy/rinterface/rinterface.c:98:
./rpy/rinterface/array.h:9: error: syntax error before '*' token
In file included from ./rpy/rinterface/rinterface.c:100:
./rpy/rinterface/rexternalptr.h:8: error: syntax error before 'R_PyObject_decref'
./rpy/rinterface/rexternalptr.h:8: error: syntax error before 's'
./rpy/rinterface/rexternalptr.h:8: warning: data definition has no type or storage class
./rpy/rinterface/rinterface.c:102: error: syntax error before '*' token
./rpy/rinterface/rinterface.c:102: error: syntax error before 'sexp'
./rpy/rinterface/rinterface.c:102: warning: data definition has no type or storage class
In file included from ./rpy/rinterface/rinterface.c:105:
./rpy/rinterface/na_values.c: In function 'NAInteger_tp_new':
./rpy/rinterface/na_values.c:232: error: 'NA_INTEGER' undeclared (first use in this function)
./rpy/rinterface/na_values.c:232: error: (Each undeclared identifier is reported only once
./rpy/rinterface/na_values.c:232: error: for each function it appears in.)
./rpy/rinterface/na_values.c: In function 'NALogical_tp_new':
./rpy/rinterface/na_values.c:272: error: 'NA_LOGICAL' undeclared (first use in this function)
./rpy/rinterface/na_values.c: In function 'NAReal_tp_new':./rpy/rinterface/rinterface.c:61:15: error: R.h: No such file or directory
./rpy/rinterface/rinterface.c:62:24: error: Rinternals.h: No such file or directory
./rpy/rinterface/rinterface.c:63:22: error: Rdefines.h: No such file or directory
./rpy/rinterface/rinterface.c:65:24: error: Rinterface.h: No such file or directory
./rpy/rinterface/rinterface.c:66:27: error: R_ext/Complex.h: No such file or directory
./rpy/rinterface/rinterface.c:67:23: error: Rembedded.h: No such file or directory
./rpy/rinterface/rinterface.c:70:29: error: R_ext/eventloop.h: No such file or directory
./rpy/rinterface/rinterface.c:74:28: error: R_ext/Rdynload.h: No such file or directory

Edit: tried new installation of R from source and rpy2 from MacPorts as suggested. now I'm getting this error (my mac is intel so I find it strange the arch parameter is i386):

:info:build In file included from rpy/rinterface/rinterface.c:74:
:info:build /opt/local/lib/R/include/R_ext/Rdynload.h:26: warning: function declaration isn't a prototype
:info:build In file included from rpy/rinterface/rinterface.c:105:
:info:build rpy/rinterface/sequence.c: In function 'VectorSexp_ass_slice':
:info:build rpy/rinterface/sequence.c:447: warning: unused variable 'sexp_item'
:info:build rpy/rinterface/sequence.c:447: warning: unused variable 'tmp'
:info:build rpy/rinterface/sequence.c:446: warning: unused variable 'vs'
:info:build rpy/rinterface/sequence.c:386: warning: unused variable 'self_typeof'
:info:build rpy/rinterface/rinterface.c: In function 'EmbeddedR_end':
:info:build rpy/rinterface/rinterface.c:1112: warning: unused variable 'str'
:info:build rpy/rinterface/rinterface.c: In function 'EmbeddedR_WriteConsole':
:info:build rpy/rinterface/rinterface.c:288: warning: 'gstate' may be used uninitialized in this function
:info:build rpy/rinterface/rinterface.c: In function 'EmbeddedR_ShowMessage':
:info:build rpy/rinterface/rinterface.c:356: warning: 'gstate' may be used uninitialized in this function
:info:build rpy/rinterface/rinterface.c: In function 'EmbeddedR_ReadConsole':
:info:build rpy/rinterface/rinterface.c:424: warning: 'gstate' may be used uninitialized in this function
:info:build rpy/rinterface/rinterface.c: In function 'EmbeddedR_FlushConsole':
:info:build rpy/rinterface/rinterface.c:524: warning: 'gstate' may be used uninitialized in this function
:info:build rpy/rinterface/rinterface.c: In function 'EmbeddedR_ChooseFile':
:info:build rpy/rinterface/rinterface.c:568: warning: 'gstate' may be used uninitialized in this function
:info:build rpy/rinterface/rinterface.c: In function 'EmbeddedR_ShowFiles':
:info:build rpy/rinterface/rinterface.c:654: warning: 'gstate' may be used uninitialized in this function
:info:build rpy/rinterface/rinterface.c: In function 'EmbeddedR_CleanUp':
:info:build rpy/rinterface/rinterface.c:787: warning: 'gstate' may be used uninitialized in this function
:info:build rpy/rinterface/rinterface.c: At top level:
:info:build rpy/rinterface/rinterface.c:2774: warning: 'externalMethods' defined but not used
:info:build i686-apple-darwin9-gcc-4.0.1: -lR: linker input file unused because linking not done
:info:build i686-apple-darwin9-gcc-4.0.1: -lRlapack: linker input file unused because linking not done
:info:build i686-apple-darwin9-gcc-4.0.1: -lRblas: linker input file unused because linking not done
:info:build /usr/bin/gcc-4.0 -L/opt/local/lib -bundle -undefined dynamic_lookup -arch i386 -arch i386 build/temp.macosx-10.5-i386-2.6/rpy/rinterface/rinterface.o -L/opt/local/lib/R/lib -L/opt/local/lib/R/modules -lR -o build/lib.macosx-10.5-i386-2.6/rpy2/rinterface/rinterface.so
:info:build ld: library not found for -lR
:info:build collect2: ld returned 1 exit status
:info:build error: command '/usr/bin/gcc-4.0' failed with exit status 1
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-rpy2/work/rpy2-2.1.4" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build " returned error 1
:error:build Target org.macports.build returned: shell command failed
:debug:build Backtrace: shell command failed
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for py26-rpy2): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for py26-rpy2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-rpy2/main.lo

g

sorry for the long posts and mess... any help would be greatly appreciated.

R python • 7.1k views
ADD COMMENTlink modified 8.4 years ago by Michael Distefano0 • written 8.4 years ago by Schrodinger'S Cat210

also don't: sudo python setup.py build install try 'python setup.py build' first then sudo install from that directory, more safe and clean

ADD REPLYlink written 8.4 years ago by Michael Dondrup45k

btw, I think the QA format is not so good for this kind of iterative process. Maybe just update the output field with the latest output.

ADD REPLYlink written 8.4 years ago by Michael Dondrup45k

Your output looks exactly the same in both cases. I will maybe check that later.

ADD REPLYlink written 8.4 years ago by Michael Dondrup45k

Checked MacPorts?

ADD REPLYlink written 8.4 years ago by Michael Dondrup45k

I've tried MacPorts in the past. I'm currently updating some of the dependencies and fixing premission. will try clean R and RPY2 install. I'll post an update later.

ADD REPLYlink written 8.4 years ago by Schrodinger'S Cat210

That looks pretty much like almost the same error. There must be something terribly broken, and that could as well be rpy2 itself. Did you ask the mailing list for help?

ADD REPLYlink written 8.4 years ago by Michael Dondrup45k

not yet. will do that tomorrow.

ADD REPLYlink written 8.4 years ago by Schrodinger'S Cat210
2
gravatar for Michael Dondrup
8.4 years ago by
Bergen, Norway
Michael Dondrup45k wrote:

Hi,

OP reported it works with the latest version, good news! I hope they will update the macport too.

Edit: I think all the different possible system setups make the attempt mentioned below far too difficult to figure out without access to your computer and a lot of try-and-error. But there is a much easier solution for you to just get things running: MacPorts Based on the BSD ports system, it is simply terrific. it works that way:

  • Download and install MacPorts from dmg
  • Install the rpy2 port: > sudo port install py26-rpy2 e.g. for python 2.6

try port search rpy2 to find all options

This will get you all the other dependencies as well. It will also install another R for you in addition to the R you possibly installed from the cran OSX binary, but this is worth getting it running. It is especially good for packages which have a rather broken or "special" build process like rpy2.


edit: looked here? http://rpy.sourceforge.net/rpy2/doc-2.1/html/overview.html#installation

ADD COMMENTlink modified 8.4 years ago • written 8.4 years ago by Michael Dondrup45k

thanks for the reply. Edited my Q to the correct version of R. where to I set this path?

ADD REPLYlink written 8.4 years ago by Schrodinger'S Cat210

export LD_LIBRARY_PATH=/path/to/dylib export CPP_FLAGS=-I/path/to/header

ADD REPLYlink written 8.4 years ago by Michael Dondrup45k

thanks. Now I'm getting this: running build running build_py running build_ext building 'rpy2.rinterface.rinterface' extension gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch ppc -arch x86_64 -g -O2 -DNDEBUG -g -O3 -DR_INTERFACE_PTRS=1 -DHAVE_POSIX_SIGJMP=1 -DCSTACK_DEFNS=1 -DRIF_HAS_RSIGHAND=1 -Irpy/rinterface -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/i386 -c rpy/rinterface/rinterface.c -o build/temp.macosx-10.5-fat3-2.7/rpy/rinterface/rinterfa

ADD REPLYlink written 8.4 years ago by Schrodinger'S Cat210

but this looks good, note when debugging build errors you cannot assume you can catch it with the first attemp. It's a step ahead if you change something and get a different error later ;)

ADD REPLYlink written 8.4 years ago by Michael Dondrup45k

True. mind, this is after about 300 such baby steps :). any idea how to advance to the next error?

ADD REPLYlink written 8.4 years ago by Schrodinger'S Cat210

I don't see an error message, it looks fine to me....

ADD REPLYlink written 8.4 years ago by Michael Dondrup45k

edited my Q to include the error from a failed attempt to install rpy2 using MacPorts.

ADD REPLYlink written 8.4 years ago by Schrodinger'S Cat210
2
gravatar for brentp
8.4 years ago by
brentp22k
Salt Lake City, UT
brentp22k wrote:

not sure how you're building R, but you may need to add the flag:

--enable-R-shlib

to "build the shared/dynamic library 'libR'" when you run configure. on ubuntu systems, i think that is not the default in the package manager so i have to build from source, could be the same things on OSX.

ADD COMMENTlink written 8.4 years ago by brentp22k

as far as I can tell from the R documentation this is the default in the OSX source.

ADD REPLYlink written 8.4 years ago by Schrodinger'S Cat210

you sure about that? maybe we're using "source" differently, but, if you build from source downloaded from an r-project mirror, it's the same for all platforms and the default is not to build the shared lib.

ADD REPLYlink written 8.4 years ago by brentp22k

it is hard to tell if it was on or not while building, the mac dmg images from cran contain .dylibs so it should in principle work with them.

ADD REPLYlink written 8.4 years ago by Michael Dondrup45k

@Michael: the OS X builds on CRAN are compiled with --enable-R-shlib.

ADD REPLYlink written 8.4 years ago by Laurent Gautier810
1
gravatar for Laurent Gautier
8.4 years ago by
Laurent Gautier810 wrote:

[update] Working with rpy2 2.1.7.

[as answered on stackoverflow]

Can you try a snapshot from the mercurial repository ? (either branch version_2.1.x - future version 2.1.6 -, or version_2.2.x - future version 2.2.0)

The build procedure has been streamlined and should accomodate better OS X.

[follow-up to you edit] Near the top of the second output, you can see the configuration information for building against R.

It highlights a problem with the current setup.py as it does not play well with several include directories for R headers.

A (somewhat ugly) fix for you would be to hard-code those two include directories near line 151 in setup.py.

This:

self.include_dirs.extend(config._include_dirs)

Would become:

self.include_dirs.extend(('/Library/Frameworks/R.framework/Resources/include', 
                          '/Library/Frameworks/R.framework/Resources/include/i386'))
ADD COMMENTlink modified 8.4 years ago • written 8.4 years ago by Laurent Gautier810

edited my Q to include new set of errors. thanks for the reply.

ADD REPLYlink written 8.4 years ago by Schrodinger'S Cat210

and so I edited my answer.

ADD REPLYlink written 8.4 years ago by Laurent Gautier810

I release version 2.1.7, and should be working now.

ADD REPLYlink written 8.4 years ago by Laurent Gautier810

I released version 2.1.x and should be working now.

ADD REPLYlink written 8.4 years ago by Laurent Gautier810
1
gravatar for Schrodinger'S Cat
8.4 years ago by
Schrodinger'S Cat210 wrote:

I have been advised on the rpy mailing list by Laurent Gautier to try and install version 2.1.7 from pypi (http://pypi.python.org/pypi) and it worked! rpy2 finally installed and working. it is worth noting though that I have updated several dependencies so this might have facilitated in enabling rpy2 to finally work.

ADD COMMENTlink written 8.4 years ago by Schrodinger'S Cat210

Nice! I hope they will update the macport too, in order to remove the broken port.

ADD REPLYlink written 8.4 years ago by Michael Dondrup45k
0
gravatar for Michael Distefano
8.0 years ago by
Michael Distefano0 wrote:

It seems that I am still unable to install rpy2, despite the version being above 2.1.7. I have installed R on my mac with homebrew.

R version: 2.12.1 python: 2.6.1

my path is:

/Users/michael/virtualenvs/chipSeq/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/X11/bin

I am attempting to install via easy_install, which is reporting that it is installing rpy2 version 2.1.9. The output from easy_install is: in string

in string

Searching for rpy2 Reading http://pypi.python.org/simple/rpy2/ Reading http://rpy.sourceforge.net Best match: rpy2 2.1.9 Downloading http://pypi.python.org/packages/source/r/rpy2/rpy2-2.1.9.tar.gz#md5=afe629914e7263900e5d15d419f69865 Processing rpy2-2.1.9.tar.gz Running rpy2-2.1.9/setup.py -q bdist_egg
--dist-dir /var/folders/Gq/GqyVeDTdELaQX2BmK91rf++++TI/-Tmp-/easy_install-acBSzo/rpy2-2.1.9/egg-dist-tmp-5Dtf0J Traceback (most recent call last):   File "/Users/michael/virtualenvs/chipSeq/bin/easy_install", line 8, in <module>
    load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')()   File "/Users/michael/virtualenvs/chipSeq/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 1712, in main   File "/Users/michael/virtualenvs/chipSeq/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 1700, in with_ei_usage   File "/Users/michael/virtualenvs/chipSeq/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 1716, in <lambda>   File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()   File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)   File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()   File "/Users/michael/virtualenvs/chipSeq/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 211, in run   File "/Users/michael/virtualenvs/chipSeq/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 446, in easy_install   File "/Users/michael/virtualenvs/chipSeq/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 476, in install_item   File "/Users/michael/virtualenvs/chipSeq/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 655, in install_eggs   File "/Users/michael/virtualenvs/chipSeq/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 930, in build_and_install   File "/Users/michael/virtualenvs/chipSeq/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 919, in run_setup   File "/Users/michael/virtualenvs/chipSeq/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/sandbox.py", line 62, in run_setup   File "/Users/michael/virtualenvs/chipSeq/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/sandbox.py", line 105, in run   File "/Users/michael/virtualenvs/chipSeq/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/sandbox.py", line 64, in <lambda>   File "setup.py", line 372, in <module>   File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()   File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)   File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()   File "/Users/michael/virtualenvs/chipSeq/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/bdist_egg.py", line 167, in run   File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command) File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()   File "/Users/michael/virtualenvs/chipSeq/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/egg_info.py", line 177, in run   File "/Users/michael/virtualenvs/chipSeq/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/egg_info.py", line 252, in find_sources   File "/Users/michael/virtualenvs/chipSeq/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/egg_info.py", line 306, in run   File "/Users/michael/virtualenvs/chipSeq/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/egg_info.py", line 330, in add_defaults   File "/Users/michael/virtualenvs/chipSeq/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/sdist.py", line 203, in add_defaults   File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/cmd.py", line 319, in get_finalized_command
    cmd_obj.ensure_finalized()   File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/cmd.py", line 117, in ensure_finalized
    self.finalize_options()   File "setup.py", line 111, in finalize_options   File "setup.py", line 264, in get_rconfig   File "setup.py", line 252, in from_string ValueError: Invalid substring

in string

I don't know why it would be trying to find an empty string in an empty line. Any suggestions would be greatly appreciated. Thank you in advance!

ADD COMMENTlink written 8.0 years ago by Michael Distefano0
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1461 users visited in the last hour