Comments (12)
Had the same Issue when switching to docker compose. Manually adding the Processed Folder as a mounted Volume fixed this for me. Kind of
- ./Data/Processed:/data/Resume-Matcher/Data/Processed
from resume-matcher.
@joshuacox @shredinjohn @amritajain13 @dieideeistgut
Issue is:
Repo is missing 3 directories.
Upon creating them everything works flawlessly. My pull request currently awaits approval.
I've also fixed the relative pathing (might mitigate possible Docker issues) and added a traceback which would give us a hint what's going on to the Error we were all getting.
from resume-matcher.
I am facing the same issue as well
from resume-matcher.
hi @joshuacox , can you run python run_first.py
and verify if the same error pops up? I'm able to run the same with a new clone .
from resume-matcher.
@SubramanyamChalla24 i am trying docker compose up -d command and after python run_first.py command started executing this gives me the same error can you hellp
from resume-matcher.
@amritajain13 , did you try running python run_first.py
?
from resume-matcher.
python run_first.py
Traceback (most recent call last):
File "/unreal/gpu/Resume-Matcher/run_first.py", line 5, in <module>
from scripts import JobDescriptionProcessor, ResumeProcessor
File "/unreal/gpu/Resume-Matcher/scripts/__init__.py", line 2, in <module>
from .JobDescriptionProcessor import JobDescriptionProcessor
File "/unreal/gpu/Resume-Matcher/scripts/JobDescriptionProcessor.py", line 5, in <module>
from .parsers import ParseJobDesc, ParseResume
File "/unreal/gpu/Resume-Matcher/scripts/parsers/__init__.py", line 1, in <module>
from .ParseJobDescToJson import ParseJobDesc
File "/unreal/gpu/Resume-Matcher/scripts/parsers/ParseJobDescToJson.py", line 5, in <module>
from scripts.Extractor import DataExtractor
File "/unreal/gpu/Resume-Matcher/scripts/Extractor.py", line 6, in <module>
from .utils import TextCleaner
File "/unreal/gpu/Resume-Matcher/scripts/utils/__init__.py", line 3, in <module>
from .Utils import TextCleaner
File "/unreal/gpu/Resume-Matcher/scripts/utils/Utils.py", line 7, in <module>
nlp = spacy.load("en_core_web_md")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/8msv6rh44z033csqkg2r3fa2j21m92px-python3-3.11.9-env/lib/python3.11/site-packages/spacy/__init__.py", line 51, in load
return util.load_model(
^^^^^^^^^^^^^^^^
File "/nix/store/8msv6rh44z033csqkg2r3fa2j21m92px-python3-3.11.9-env/lib/python3.11/site-packages/spacy/util.py", line 472, in load_model
raise IOError(Errors.E050.format(name=name))
OSError: [E050] Can't find model 'en_core_web_md'. It doesn't seem to be a Python package or a valid path to a data directory.
I am in NixOS, which is one of the reasons I am trying to run it inside of docker to try it out.
and there are no files named 'en_cor*' in my fresh clone.
find . -iname 'en_core*'
from resume-matcher.
@joshuacox can you install the spacy english mdel with the command python -m spacy download en_core_web_sm
and retry it?
from resume-matcher.
bash➜ python
Python 3.11.9 (main, Apr 2 2024, 08:25:04) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import spacy
>>> nlp = spacy.load("en_core_web_sm")
>>> import en_core_web_sm
>>> doc = nlp("This is a sentence.")
>>> print([(w.text, w.pos_) for w in doc])
[('This', 'PRON'), ('is', 'AUX'), ('a', 'DET'), ('sentence', 'NOUN'), ('.', 'PUNCT')]
but that is not inside the container, which apparently has not downloaded the model?
from resume-matcher.
It's included in the requirements.txt for the docker container. It seems to be an issue , can you more details about the issue? Or if you can join discord , we can discuss the issue there .
from resume-matcher.
@dieideeistgut ya this docker compose file is completely broken without that volume, @SubramanyamChalla24 it works for you?
from resume-matcher.
there are some proposed changes, but unfortunately this is still broken. I left an ls -alh Data/Resumes; sleep5
statement in the dockerfile to show that, indeed, the Resumes folder is in there and populated with resumes.
from resume-matcher.
Related Issues (20)
- Use sidebar to utilize the screen area better HOT 5
- In local after running python run_first.py resumes and job description are not being processed into json.. HOT 3
- Adding a back to top button. HOT 5
- Misspell of `resume` on the contributing markdown file HOT 4
- To create a link that opens a new web page window or tab HOT 2
- [BUG] - Next.js Full Stack Web App Throws Exception to UI on Startup
- Modifications needed in extracting phone numbers from resume text. HOT 2
- Better support of PDF generated by Word (Export menu) HOT 2
- Is Chinese supported? HOT 2
- I am not able to see the experience and matching score in the json output or in the streamlit server HOT 10
- Testing of Resume Matcher HOT 1
- Error in requirements.txt file HOT 5
- Missing cohere module HOT 3
- Improve the file-type support. HOT 1
- Improve the parsing algorithm HOT 1
- Deleting pre-existing files gives error HOT 4
- Processed folder doesn't exist and throws error HOT 1
- If it keeps showing "running," do you know what might be causing this, or do I need to configure the network settings? HOT 4
- app is not starting
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from resume-matcher.