Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker 环境下缓存工具版本错误 #144

Closed
thredreams opened this issue Sep 20, 2022 · 6 comments
Closed

Docker 环境下缓存工具版本错误 #144

thredreams opened this issue Sep 20, 2022 · 6 comments
Labels
dependencies Pull requests that update a dependency file help wanted Extra attention is needed question Further information is requested

Comments

@thredreams
Copy link

Describe the question

A clear and concise description of what the question is.

在Docker环境下,python setup.py install过程中失败,提示是 cachetools 5.2.0 is installed but cachetools<5.0,>=2.0.0 is required by {'google-auth'}

Environment (please complete the following information):

  • OS: window10、Dockers20.10。17
  • Python Version : 3.8.13

Screenshots

If applicable, add screenshots to help explain your problem.
image

Additional context

  • 我觉得README里应该添加如何使用Docker的说明,属实是走了不少的弯路
@thredreams thredreams added the question Further information is requested label Sep 20, 2022
@tlk1997
Copy link
Collaborator

tlk1997 commented Sep 20, 2022

推荐使用anaconda创建虚拟环境,docker研究不深,所以会出现一定问题

@thredreams
Copy link
Author

但是我看Dockerfile里不是也用的miniconda虚拟环境吗?
我试图更新google-auth包,但是结果不行,所以我回退了cachetools到5.0.0以前的最新版本4.2.4

pip install cachetools==4.2.4

在这个过程中pip提示我之前升级google-auth的操作破坏了tensorboard2.4.1的依赖
image

@tlk1997
Copy link
Collaborator

tlk1997 commented Sep 20, 2022

直接用conda,没有碰到过cachetools和google-auth这两个包的问题,所以还得麻烦自行研究一下

@zxlzr
Copy link
Contributor

zxlzr commented Sep 20, 2022

您好,可能是docker默认环境下版本的问题,建议您直接使用anaconda创建虚拟环境来使用deepke,我们会在近期的文档中补充这部分的描述。

@thredreams
Copy link
Author

在Docker使用中确实出现了相当多的依赖问题,缺少一些包,我正在尝试缺啥装啥的策略,如果最后可行,我会试着再提一个issue将这些步骤分享出来。

@zxlzr
Copy link
Contributor

zxlzr commented Sep 20, 2022

手动点赞👍🏻非常感谢

@zxlzr zxlzr added help wanted Extra attention is needed dependencies Pull requests that update a dependency file labels Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants