Trying to intsall pyresparser package

I am trying to install the package but i am getting this error msg.

ERROR ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
ERROR easyocr 1.7.1 requires ninja, which is not installed.
ERROR langchain 0.3.7 requires numpy<2.0.0,>=1.26.0; python_version >= “3.12”, but you have numpy 2.0.2 which is incompatible.
ERROR pdfplumber 0.11.4 requires pdfminer.six==20231228, but you have pdfminer-six 20240706 which is incompatible.
ERROR langchain-community 0.3.7 requires numpy<2.0.0,>=1.26.0; python_version >= “3.12”, but you have numpy 2.0.2 which is incompatible.

Hi there - first off, welcome to the Developer Community!

It looks like there are some ERROR logs being emitted in the process of pip installing a package. First off - could you verify whether the environment managed to install successfully, in spite of these ERROR logs? Sometimes these errors may be emitted, but may not actually block installation.

Second, the behavior you are seeing is an inherent limitation of pip, which is not able to resolve an environment against all of your package dependencies. If there’s a way you can bring in pyresparser with conda, that’d be ideal, but I know that might not always be possible.

If none of the above work, could you please follow these instructions to reset your environment: https://www.palantir.com/docs/foundry/code-workspaces/jupyterlab/#upgrade-your-managed-environment. If the error still persists, I would then recommend tweaking the other dependencies in your environment, such as downgrading your numpy version, per the advice given in the error logs. If you could attach your manifest and lockfile, that would be helpful for debugging as well!