We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am attempting to install boilerpipe on a machine running Ubuntu 12.04 via pip install boilerpipe.
pip install boilerpipe
I get the following output:
Downloading/unpacking boilerpipe Downloading boilerpipe-1.2.0.0.tar.gz (1.3MB): 1.3MB downloaded Running setup.py egg_info for package boilerpipe
Downloading/unpacking JPype1 (from boilerpipe) Downloading JPype1-0.5.5.2.tar.gz (143kB): 143kB downloaded Running setup.py egg_info for package JPype1
Downloading/unpacking charade (from boilerpipe) Downloading charade-1.0.3.tar.gz (168kB): 168kB downloaded Running setup.py egg_info for package charade
Installing collected packages: boilerpipe, JPype1, charade Running setup.py install for boilerpipe
Running setup.py install for JPype1 building '_jpype' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -Isrc/native/common/include -Isrc/native/python/include -I/usr/lib/jvm/java-1.7.0-openjdk-i386/include -I/usr/lib/jvm/java-1.7.0-openjdk-i386/include/linux -I/usr/include/python2.7 -c src/native/common/jp_platform_win32.cpp -o build/temp.linux-i686-2.7/src/native/common/jp_platform_win32.o gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -Isrc/native/common/include -Isrc/native/python/include -I/usr/lib/jvm/java-1.7.0-openjdk-i386/include -I/usr/lib/jvm/java-1.7.0-openjdk-i386/include/linux -I/usr/include/python2.7 -c src/native/common/jp_referencequeue.cpp -o build/temp.linux-i686-2.7/src/native/common/jp_referencequeue.o In file included from src/native/common/include/jpype.h:80:0, from src/native/common/jp_referencequeue.cpp:1: src/native/common/include/jp_utility.h:20:17: fatal error: jni.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1 Complete output from command /usr/bin/python -c "import setuptools;file='/tmp/pip_build_root/JPype1/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-mJBmAB-record/install-record.txt --single-version-externally-managed: running install
running build
running build_py
creating build
creating build/lib.linux-i686-2.7
creating build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_gui.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_jexception.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_jpackage.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_pykeywords.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_darwin.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_core.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_jobject.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_jclass.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_jarray.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_jproxy.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_jcollection.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_linux.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/JClassUtil.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/nio.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_properties.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_jwrapper.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/findjvm.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_windows.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/reflect.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/init.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_refdaemon.py -> build/lib.linux-i686-2.7/jpype
creating build/lib.linux-i686-2.7/jpype/awt
copying src/python/jpype/awt/init.py -> build/lib.linux-i686-2.7/jpype/awt
creating build/lib.linux-i686-2.7/jpype/awt/event
copying src/python/jpype/awt/event/WindowAdapter.py -> build/lib.linux-i686-2.7/jpype/awt/event
copying src/python/jpype/awt/event/init.py -> build/lib.linux-i686-2.7/jpype/awt/event
creating build/lib.linux-i686-2.7/jpypex
copying src/python/jpypex/init.py -> build/lib.linux-i686-2.7/jpypex
creating build/lib.linux-i686-2.7/jpypex/swing
copying src/python/jpypex/swing/AbstractAction.py -> build/lib.linux-i686-2.7/jpypex/swing
copying src/python/jpypex/swing/pyutils.py -> build/lib.linux-i686-2.7/jpypex/swing
copying src/python/jpypex/swing/init.py -> build/lib.linux-i686-2.7/jpypex/swing
running build_ext
building '_jpype' extension
creating build/temp.linux-i686-2.7
creating build/temp.linux-i686-2.7/src
creating build/temp.linux-i686-2.7/src/native
creating build/temp.linux-i686-2.7/src/native/common
creating build/temp.linux-i686-2.7/src/native/python
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -Isrc/native/common/include -Isrc/native/python/include -I/usr/lib/jvm/java-1.7.0-openjdk-i386/include -I/usr/lib/jvm/java-1.7.0-openjdk-i386/include/linux -I/usr/include/python2.7 -c src/native/common/jp_platform_win32.cpp -o build/temp.linux-i686-2.7/src/native/common/jp_platform_win32.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -Isrc/native/common/include -Isrc/native/python/include -I/usr/lib/jvm/java-1.7.0-openjdk-i386/include -I/usr/lib/jvm/java-1.7.0-openjdk-i386/include/linux -I/usr/include/python2.7 -c src/native/common/jp_referencequeue.cpp -o build/temp.linux-i686-2.7/src/native/common/jp_referencequeue.o
In file included from src/native/common/include/jpype.h:80:0,
from src/native/common/jp_referencequeue.cpp:1:
src/native/common/include/jp_utility.h:20:17: fatal error: jni.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
Cleaning up... Command /usr/bin/python -c "import setuptools;file='/tmp/pip_build_root/JPype1/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-mJBmAB-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip_build_root/JPype1 Storing complete log in /home/justin/.pip/pip.log
The problem seems to be that it is following this hard-coded path:
src/native/common/include
My JAVA_HOME is pointing to /usr/lib/jvm/java-1.7.0-openjdk-i386
Any help is appreciated.
Thank you
The text was updated successfully, but these errors were encountered:
@JustinGibbons This seems like a JPype1 installation issue. Could you try a pre-built python-jpype1 package avaiable in Ubuntu ?
Sorry, something went wrong.
@JustinGibbons You could also try suggestions mentioned here - #6
No branches or pull requests
I am attempting to install boilerpipe on a machine running Ubuntu 12.04 via
pip install boilerpipe
.I get the following output:
Downloading/unpacking boilerpipe
Downloading boilerpipe-1.2.0.0.tar.gz (1.3MB): 1.3MB downloaded
Running setup.py egg_info for package boilerpipe
Downloading/unpacking JPype1 (from boilerpipe)
Downloading JPype1-0.5.5.2.tar.gz (143kB): 143kB downloaded
Running setup.py egg_info for package JPype1
Downloading/unpacking charade (from boilerpipe)
Downloading charade-1.0.3.tar.gz (168kB): 168kB downloaded
Running setup.py egg_info for package charade
Installing collected packages: boilerpipe, JPype1, charade
Running setup.py install for boilerpipe
Running setup.py install for JPype1
building '_jpype' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -Isrc/native/common/include -Isrc/native/python/include -I/usr/lib/jvm/java-1.7.0-openjdk-i386/include -I/usr/lib/jvm/java-1.7.0-openjdk-i386/include/linux -I/usr/include/python2.7 -c src/native/common/jp_platform_win32.cpp -o build/temp.linux-i686-2.7/src/native/common/jp_platform_win32.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -Isrc/native/common/include -Isrc/native/python/include -I/usr/lib/jvm/java-1.7.0-openjdk-i386/include -I/usr/lib/jvm/java-1.7.0-openjdk-i386/include/linux -I/usr/include/python2.7 -c src/native/common/jp_referencequeue.cpp -o build/temp.linux-i686-2.7/src/native/common/jp_referencequeue.o
In file included from src/native/common/include/jpype.h:80:0,
from src/native/common/jp_referencequeue.cpp:1:
src/native/common/include/jp_utility.h:20:17: fatal error: jni.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
Complete output from command /usr/bin/python -c "import setuptools;file='/tmp/pip_build_root/JPype1/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-mJBmAB-record/install-record.txt --single-version-externally-managed:
running install
running build
running build_py
creating build
creating build/lib.linux-i686-2.7
creating build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_gui.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_jexception.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_jpackage.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_pykeywords.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_darwin.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_core.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_jobject.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_jclass.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_jarray.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_jproxy.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_jcollection.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_linux.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/JClassUtil.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/nio.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_properties.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_jwrapper.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/findjvm.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_windows.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/reflect.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/init.py -> build/lib.linux-i686-2.7/jpype
copying src/python/jpype/_refdaemon.py -> build/lib.linux-i686-2.7/jpype
creating build/lib.linux-i686-2.7/jpype/awt
copying src/python/jpype/awt/init.py -> build/lib.linux-i686-2.7/jpype/awt
creating build/lib.linux-i686-2.7/jpype/awt/event
copying src/python/jpype/awt/event/WindowAdapter.py -> build/lib.linux-i686-2.7/jpype/awt/event
copying src/python/jpype/awt/event/init.py -> build/lib.linux-i686-2.7/jpype/awt/event
creating build/lib.linux-i686-2.7/jpypex
copying src/python/jpypex/init.py -> build/lib.linux-i686-2.7/jpypex
creating build/lib.linux-i686-2.7/jpypex/swing
copying src/python/jpypex/swing/AbstractAction.py -> build/lib.linux-i686-2.7/jpypex/swing
copying src/python/jpypex/swing/pyutils.py -> build/lib.linux-i686-2.7/jpypex/swing
copying src/python/jpypex/swing/init.py -> build/lib.linux-i686-2.7/jpypex/swing
running build_ext
building '_jpype' extension
creating build/temp.linux-i686-2.7
creating build/temp.linux-i686-2.7/src
creating build/temp.linux-i686-2.7/src/native
creating build/temp.linux-i686-2.7/src/native/common
creating build/temp.linux-i686-2.7/src/native/python
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -Isrc/native/common/include -Isrc/native/python/include -I/usr/lib/jvm/java-1.7.0-openjdk-i386/include -I/usr/lib/jvm/java-1.7.0-openjdk-i386/include/linux -I/usr/include/python2.7 -c src/native/common/jp_platform_win32.cpp -o build/temp.linux-i686-2.7/src/native/common/jp_platform_win32.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -Isrc/native/common/include -Isrc/native/python/include -I/usr/lib/jvm/java-1.7.0-openjdk-i386/include -I/usr/lib/jvm/java-1.7.0-openjdk-i386/include/linux -I/usr/include/python2.7 -c src/native/common/jp_referencequeue.cpp -o build/temp.linux-i686-2.7/src/native/common/jp_referencequeue.o
In file included from src/native/common/include/jpype.h:80:0,
src/native/common/include/jp_utility.h:20:17: fatal error: jni.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
Cleaning up...
Command /usr/bin/python -c "import setuptools;file='/tmp/pip_build_root/JPype1/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-mJBmAB-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip_build_root/JPype1
Storing complete log in /home/justin/.pip/pip.log
The problem seems to be that it is following this hard-coded path:
src/native/common/include
My JAVA_HOME is pointing to /usr/lib/jvm/java-1.7.0-openjdk-i386
Any help is appreciated.
Thank you
The text was updated successfully, but these errors were encountered: