petermr / amilib

Python library of `ami` software especially NLP, HTML, downloading and related convenience utilities
Apache License 2.0
1 stars 0 forks source link

Installing the requirements from requirements.txt #13

Open xpriyanshux opened 5 months ago

xpriyanshux commented 5 months ago

python -- version: 3.10.11 windows 11; 64 bit using cmd ide used vs code """ error message as follows: INFO: pip is looking at multiple versions of requests to determine which version is compatible with other requirements. This could take a while. ERROR: Cannot install -r requirements.txt (line 14) and chardet==5.2.0 because these package versions have conflicting dependencies.

The conflict is caused by: The user requested chardet==5.2.0 requests 2.25.1 depends on chardet<5 and >=3.0.2

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts """

Tried updating pip but still the same issue persists

xpriyanshux commented 5 months ago

i was initially using conda environment but thought that might be giving issues due to delay in updates and everything that is why i shifted to installing python normally and then using vs code as the ide instead of jupyter notebook

petermr commented 5 months ago

Thanks Suggest removing chardet from requirements.txt and retrying

On Mon, 6 May 2024, 07:23 xpriyanshux, @.***> wrote:

i was initially using conda environment but thought that might be giving issues due to delay in updates and everything that is why i shifted to installing python normally and then using vs code as the ide instead of jupyter notebook

— Reply to this email directly, view it on GitHub https://github.com/petermr/amilib/issues/13#issuecomment-2094955512, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFTCS42FBYYGVZXKE3KCMLZA2PL7AVCNFSM6AAAAABHHRO6HGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUHE2TKNJRGI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

xpriyanshux commented 5 months ago

done and issue is now resolved

petermr commented 5 months ago

Well done!