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

ERROR: No matching distribution found for dataclasses==0.8 #1

Closed
Ayusummer opened this issue May 23, 2022 · 1 comment
Closed

ERROR: No matching distribution found for dataclasses==0.8 #1

Ayusummer opened this issue May 23, 2022 · 1 comment

Comments

@Ayusummer
Copy link

python版本:3.8.3

安装依赖时报错:
ERROR: No matching distribution found for dataclasses==0.8

原因:
RROR: No matching distribution found for dataclasses==0.8 - Streamlit Cloud - Streamlit

image

解决方案:
新建一个 py38requirements.txt 拷贝原本的 requirements 删去 dataclasses==0.8

除此以外, py38 首次安装依赖时报找不到 dataclasses, 后续删除 dataclasses 后再安装依赖会导致前置依赖冲突, 需要先 pip uninstall -r requirements.txt -y 后再重新 pip install -r requirements.txt

@Lanly109
Copy link
Owner

感谢指出,我会删去该依赖

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