Comments (7)
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.
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.
@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.
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.
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.
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.
刚刚尝试尝试在Win10下使用pip install git+https://github.com/d2l-ai/d2l-book ,循环获取awscli问题还是存在。
python 版本3.9.17 。 增加--use-deprecated=legacy-resolver 后,能安装。但是会有错误。
在ubuntu 下使用pip install git+https://github.com/d2l-ai/d2l-book 是正常的。
from d2l-book.
Related Issues (20)
- Tabs do not disappear properly
- Missing important step in github pages deployment
- [New feature]Create a new package to upload to github docs/ HOT 1
- Minor style issues caused by yapf HOT 3
- TODO: Add #@save + 文件地址 HOT 1
- New feaure request: Adding theorem/proof blocks. HOT 1
- Newline may disappear in html/pdf when using tab.selected HOT 1
- Bug: d2lbook translate
- Windows compatibility issues on file encoding and shell commands HOT 1
- Subpackage (eg: jupyter-console) version mismatch HOT 1
- [Bug] ImportError: cannot import name 'contextfilter' from 'jinja2' HOT 3
- [Bug] ModuleNotFoundError: No module named 'sphinx' HOT 2
- [Feat] Imrove error verbosity during d2lbook build pdf HOT 1
- Unexpected error while saving file: xxx display_priority.j2 HOT 1
- Code block syntax in markdown does not render in html
- Description of Jupyter Book on the homepage looks incorrect HOT 4
- 正文存在太多链接时,生成PDF文档的脚注会超出页面
- Render problems in d2l ipynb and pdf HOT 1
- 好像我没有办法正常的访问论坛显示502 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from d2l-book.