Can't use textract with Visual Studio 2017

Elinor Ginzburg 106 Reputation points
2020-08-30T10:22:01.48+00:00

Hello,

I'm trying to use textract library with python to parse text from pdf. I've installed it using cmd but when I try to run the following script:

`
import textract
text = textract.process("regsInfo.pdf")

`

I get the following error:

`
Severity    Code    Description Project File    Line    Suppression State
Warning     Unable to resolve 'textract'. IntelliSense may be missing for this module.  PythonApplication3  C:\Users\elino\source\repos\PythonApplication3\PythonApplication3\PythonApplication3.py 1

`

what can cause this? how can I use textract on VS 2017? or, is there any other way to read a pdf file and extract text from it using visual studio?

Community Center | Not monitored
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2020-08-31T02:54:07.743+00:00

    Hi ElinorGinzburg,

    Currently, Microsoft Q&A supports the products listed over here: supported topics (more to be added later on).
    Your question about Python is not supported yet now. You can post it in Stack Overflow tagged python forum.

    Best regards,
    Anna

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.