OmkarPathak / ResumeParser

A simple resume parser used for extracting information from resumes
MIT License
285 stars 164 forks source link

SyntaxError: Non-ASCII character #6

Closed akhilalexander closed 5 years ago

akhilalexander commented 5 years ago

@OmkarPathak When I run the cli.py, I encountered with this error

Traceback (most recent call last): File "cli.py", line 6, in from resume_parser.resume_parser import ResumeParser File "/home/AnacondaProjects/jupyter/Pdf_Extractor/ResumeParser-master/resume_parser/resume_parser.py", line 4, in from . import utils File "/home/AnacondaProjects/jupyter/Pdf_Extractor/ResumeParser-master/resume_parser/utils.py", line 10, in from . import constants as cs File "/home/AnacondaProjects/jupyter/Pdf_Extractor/ResumeParser-master/resume_parser/constants.py", line 201 SyntaxError: Non-ASCII character '\xc2' in file /home/AnacondaProjects/jupyter/Pdf_Extractor/ResumeParser-master/resume_parser/constants.py on line 201, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

Im using Ubuntu 16.04, Python 2.7

OmkarPathak commented 5 years ago

@akhilalexander check this. This seems to solve your problem

akhilalexander commented 5 years ago

@OmkarPathak I got it correct when I removed the space in fundraised and reduced annual expenses in the file constants.py MEASURABLE_RESULTS = { 'metrics': [ 'fundraised', 'reduced annual expenses' ]

OmkarPathak commented 5 years ago

@akhilalexander Glad. Closing this issue 😄