Refextract importing issues: syntax error

Does anyone have any experience using python Refextract library, package index here . I am using python 3.4 in Spyder 3.0.0. The installation of the protocol went fine, he said that the installation was successful, in the correct folder (in the Libs / Site folder / folder). But when I try to download it, it gives an error message, and I cannot understand what this means.

Here is my code snippet: from refextract import extract_journal_reference(as shown in the manual), which gives the following error:

  from refextract import extract_journal_reference
  File "C:\path\to\python-3.4.3.amd64\lib\site-packages\refextract\references\api.py", line 96
  raise FullTextNotAvailableError("URL not found: '{0}'".format(url)), None, sys.exc_info()[2]
                                                                       ^
SyntaxError: invalid syntax

This is only an import, but not a reference. Does anyone know what to do with this error?

+4
source share

Source: https://habr.com/ru/post/1680246/


All Articles