nanbhas / MendeleyToNotion

Code to export Mendeley documents and metadata into Notion databases
11 stars 3 forks source link

Dependencies between API version of Mendeley #1

Open rudolfo-felix opened 1 year ago

rudolfo-felix commented 1 year ago

I tried to use this git project with .venv with the requirements.txt, but I can't :( Gets an error on dependencies between: 'isoduration' and arrow; 'mendeley' and 'arrow'; "jupyterlab" and "requests"; "mendeley" and "requests". It says that is doesn't find Mendeley, I try to install it in .venv and then give the following 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. isoduration 20.11.0 requires arrow>=0.15.0, but you have arrow 0.5.0 which is incompatible. jupyterlab-server 2.25.0 requires requests>=2.31, but you have requests 2.5.1 which is incompatible"

if I update the 'arrow' give the next 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. mendeley 0.3.2 requires arrow==0.5.0, but you have arrow 1.3.0 which is incompatible.

I tried to make and environment in .conda but it tries to find file in .venv, I don't understand why. I thought that I need one or other. I even tried to make the two virtual environment and I still get dependencies errors.

this is a promising project and it would be very cool that have working.

anyone can help?

nanbhas commented 11 months ago

Hi @rudolfo-felix, hmm that's strange - I'm not able to replicate this issue. But as a general fix, I'd recommend installing mendeley from source (instead of doing a pip install mendeley, please clone the repo locally as I've done) and follow the steps here https://github.com/nanbhas/MendeleyToNotion#sources.