8

I am getting an error running a python script "cannot find parser.pyx: file not found" and the path is the current working directory + "pandas_libs\parsers.pyx". I cannot find why VsCode is referencing the wkdr instead of the application path which is specified correctly.

Mike0T7
  • 91
  • 1
  • 6

1 Answers1

0

I shows my solution on the same above problem. First, I doubted conflict the "parsers.pyx" between "current working directory + pandas_libs\parsers.pyx" made by VScode and pandas library installed.

Solution: I fixed my .csv file by table editor of PyCharm whicl tell me my problem.

Process: My code was run on PyCharm. PyCharm telled me a error on csv corruption. such as "pandas.errors.ParserError: Error tokenizing data. C error: Expected 98 fields in line 230, saw 99" @ Python Pandas Error tokenizing data

So I removed column 99 from my cvs file.

After that, I could read my csv file correctly on VSCode.

user2058374
  • 69
  • 1
  • 1
  • 11