LeeKamentsky / python-javabridge

Python wrapper for the Java Native Interface
Other
115 stars 63 forks source link

Compiler failure on on python-javabridge installation #16

Open chiffa opened 10 years ago

chiffa commented 10 years ago

Hello there!

I have some problems with installing python-javabridge via pipe for Anaconda scientific python distribution.

When I execute (in $ANACONDA_HOME) the ./pip install javabridge, I get a long error stack centred around .pyx modules and the following concluding failure message:

Command /home/ank/Documents/Programming_common/anaconda/bin/python -c "import setuptools, tokenize;file='/tmp/pip_build_ank/javabridge/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-MCQyET-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_ank/javabridge Traceback (most recent call last): File "./pip", line 6, in sys.exit(main()) File "/home/ank/Documents/Programming_common/anaconda/lib/python2.7/site-packages/pip/init.py", line 198, in main return command.main(cmd_args) File "/home/ank/Documents/Programming_common/anaconda/lib/python2.7/site-packages/pip/basecommand.py", line 161, in main text = '\n'.join(complete_log)

ljosa commented 10 years ago

I don't immediately have any ideas. Which platform is this—Linux? If so, which Linux distribution? Have you checked that all of python-javabridge's dependencies are installed?

chiffa commented 10 years ago

CentOS6. Yes, all of the dependencies were installed and the openjdk java was activated