Code Monkey home page Code Monkey logo

Comments (7)

AnirudhDagar avatar AnirudhDagar commented on July 18, 2024

Could you please share which version of python you are using in this environment? I just tried creating a fresh conda environment with python3.9 and installing d2lbook worked as expected for me. I'm unable to reproduce your issue.

from d2l-book.

dhzdhd avatar dhzdhd commented on July 18, 2024

I am using python version 3.9.16 in my conda environment. Even I created a fresh environment but i face the same problem in the new environment.

from d2l-book.

AnirudhDagar avatar AnirudhDagar commented on July 18, 2024

@dhzdhd I'd need some kind of an MRE to reproduce this issue, since it works perfectly for me in python3.9 conda environment on a macOS as well as tested on Ubuntu22.04 today.

Maybe you can test installing awscli first and then install d2lbook?

from d2l-book.

dhzdhd avatar dhzdhd commented on July 18, 2024

Installing awscli first does not work and it produces the same problem.
I tried using --use-deprecated=legacy-resolver with pip install and it installed the dependencies without errors

from d2l-book.

AntoineLhomme avatar AntoineLhomme commented on July 18, 2024

I have had the exact same issue while installing the d2l book pip package (pip install d2lbook), the mentionned fix doesn't work for me. It solves the endless loop issue when installing the dependencies but the d2lbook command isn't working after.
The new raised issue description :
2 packages awscli and sphinx==5.3.0 don't have any compatible versions for the colorama distribution. (one needs version <0.4.5 while the other wants >=0.4.5)
The installation via git didn't work for me aswell.

from d2l-book.

scruel avatar scruel commented on July 18, 2024

Installing awscli first does not work and it produces the same problem. I tried using --use-deprecated=legacy-resolver with pip install and it installed the dependencies without errors

ERROR: pip's legacy dependency resolver does not consider dependency conflicts when selecting packages. This behaviour is the source of the following dependency conflicts.
botocore 1.31.26 requires urllib3<1.27,>=1.25.4, but you'll have urllib3 2.0.4 which is incompatible.
awscli 1.29.26 requires colorama<0.4.5,>=0.2.5, but you'll have colorama 0.4.6 which is incompatible.
awscli 1.29.26 requires docutils<0.17,>=0.10, but you'll have docutils 0.19 which is incompatible.
sphinx-autodoc-typehints 1.24.0 requires sphinx>=7.0.1, but you'll have sphinx 5.3.0 which is incompatible.

from d2l-book.

fangrenfu avatar fangrenfu commented on July 18, 2024

刚刚尝试尝试在Win10下使用pip install git+https://github.com/d2l-ai/d2l-book ,循环获取awscli问题还是存在。
python 版本3.9.17 。 增加--use-deprecated=legacy-resolver 后,能安装。但是会有错误。
image

在ubuntu 下使用pip install git+https://github.com/d2l-ai/d2l-book 是正常的。

from d2l-book.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.