R
R
r4khic2019-09-12 12:02:45
Python
r4khic, 2019-09-12 12:02:45

What should I do to make my example work?

I welcome everyone! Installed the boilerpipe library for python 3.7
For the test, I decided to check such a simple example:

from boilerpipe.extract import Extractor
extractor = Extractor(extractor='ArticleExtractor', convertStrings=False ,url="http://en.wikipedia.org/wiki/Main_Page")
print(extractor.getText())

On startup, the following error occurs:
C:\Users\Администратор\AppData\Local\Programs\Python\Python37-32\lib\site-packages\jpype\_core.py:210: UserWarning: 
-------------------------------------------------------------------------------
Deprecated: convertStrings was not specified when starting the JVM. The default
behavior in JPype will be False starting in JPype 0.8. The recommended setting
for new code is convertStrings=False.  The legacy value of True was assumed for
this session. If you are a user of an application that reported this warning,
please file a ticket with the developer.
-------------------------------------------------------------------------------

  """)

Process finished with exit code -1073740791 (0xC0000409)

How to solve this error?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Yakushenko, 2019-09-13
@r4khic

Install this version and everything should work. Apparently you decided to install the version for python 2.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question