srbhr / Resume-Matcher

Resume Matcher is an open source, free tool to improve your resume. It works by using language models to compare and rank resumes with job descriptions.
https://www.resumematcher.fyi/
Apache License 2.0
4.76k stars 1.93k forks source link

pip issue Arch Linux #83

Closed abbasmashaddy72 closed 10 months ago

abbasmashaddy72 commented 12 months ago

Issue Title

pip Installation Issue on Manjaro

Type

Description

I am encountering an issue while trying to install dependencies using pip install -r requirements.txt on Manjaro. The error message I am receiving is as follows:

error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try 'pacman -S
    python-xyz', where xyz is the package you are trying to
    install.

    If you wish to install a non-Arch-packaged Python package,
    create a virtual environment using 'python -m venv path/to/venv'.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip.

    If you wish to install a non-Arch packaged Python application,
    it may be easiest to use 'pipx install xyz', which will manage a
    virtual environment for you. Make sure you have python-pipx
    installed via pacman.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

Expected Behavior

I expect pip install -r requirements.txt to install the required Python packages as specified in the requirements.txt file.

Steps to Reproduce

  1. Run pip install -r requirements.txt.

Environment

srbhr commented 12 months ago

Have you tried creating a virtualenv @abbasmashaddy72 ?

abbasmashaddy72 commented 12 months ago

Have you tried creating a virtualenv @abbasmashaddy72 ?

I have not Tried it how to perform the same

KenMwaura1 commented 12 months ago

There 2 options:

  1. Using the native venv module: python3 -m venv venv.
  2. Using a python version manager like: pyenv to create a local environment.

Then proceed to install the requirements.

srbhr commented 11 months ago

@himanshu007-creator can you look into it?