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

百度镜像有问题 #1274

Open
TianCai19 opened this issue Jul 27, 2024 · 1 comment
Open

百度镜像有问题 #1274

TianCai19 opened this issue Jul 27, 2024 · 1 comment

Comments

@TianCai19
Copy link

python -m pip install visualdl -i https://mirror.baidu.com/pypi/simple


ERROR: Cannot install visualdl==2.0.4, visualdl==2.0.5, visualdl==2.1.0, visualdl==2.1.1, visualdl==2.2.0, visualdl==2.2.1, visualdl==2.2.2, visualdl==2.2.3, visualdl==2.3.0, visualdl==2.4.0, visualdl==2.4.1, visualdl==2.4.2, visualdl==2.5.0, visualdl==2.5.1, visualdl==2.5.2 and visualdl==2.5.3 because these package versions have conflicting dependencies.

The conflict is caused by:
    visualdl 2.5.3 depends on bce-python-sdk
    visualdl 2.5.2 depends on bce-python-sdk
    visualdl 2.5.1 depends on bce-python-sdk
    visualdl 2.5.0 depends on bce-python-sdk
    visualdl 2.4.2 depends on bce-python-sdk
    visualdl 2.4.1 depends on bce-python-sdk
    visualdl 2.4.0 depends on bce-python-sdk
    visualdl 2.3.0 depends on bce-python-sdk
    visualdl 2.2.3 depends on bce-python-sdk
    visualdl 2.2.2 depends on bce-python-sdk
    visualdl 2.2.1 depends on bce-python-sdk
    visualdl 2.2.0 depends on bce-python-sdk
    visualdl 2.1.1 depends on bce-python-sdk
    visualdl 2.1.0 depends on bce-python-sdk
    visualdl 2.0.5 depends on bce-python-sdk
    visualdl 2.0.4 depends on bce-python-sdk

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
WARNING: Skipping page https://mirror.baidu.com/pypi/simple/pip/ because the GET request got Content-Type: application/octet-stream. The only supported Content-Types are application/vnd.pypi.simple.v1+json, application/vnd.pypi.simple.v1+html, and text/html
(xtuner0.1.9) root@intern-studio-4(xtuner0.1.9) root@intern-studio-40057900(xtuner0.1.9) root@intern-studio-40057900:~# i

换了几台机器和不同的python环境 都出现这个报错。
直接pip安装不开百度镜像可以安装成功。

@azraelxuemo
Copy link

好像确实。。。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants