python-javabridge icon indicating copy to clipboard operation
python-javabridge copied to clipboard

Compiler failure on on python-javabridge installation

Open chiffa opened this issue 10 years ago • 2 comments

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)

chiffa avatar May 02 '14 19:05 chiffa

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?

ljosa avatar Jun 18 '14 19:06 ljosa

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

chiffa avatar Jun 26 '14 19:06 chiffa