Cannot `pip install` nightly
@Xhark đang làm issue này rồi.
Từ ngày 27/8/2023.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Describe the bug
Cannot pip install nightly version of this package
System information
TensorFlow version (installed from source or binary): none
TensorFlow Model Optimization version (installed from source or binary): current master
Python version: 3.10
Describe the expected behavior
tfmot is installed
Describe the current behavior
Building wheels for collected packages: tf-model-optimization-nightly
Building wheel for tf-model-optimization-nightly (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
/<path-to-virtual-env>/lib/python3.10/site-packages/setuptools/dist.py:509: InformationOnly: Normalizing '0.7.5-dev' to '0.7.5.dev0'
self.metadata.version = self._normalize_version(
running bdist_wheel
running build
running build_py
creating build
error: could not create 'build': File exists
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for tf-model-optimization-nightly
Running setup.py clean for tf-model-optimization-nightly
Failed to build tf-model-optimization-nightly
ERROR: Could not build wheels for tf-model-optimization-nightly, which is required to install pyproject.toml-based projects
Code to reproduce the issue
pip install tf-model-optimization-nightly@git+https://github.com/tensorflow/model-optimization@master
Additional context
I have a fix in a fork of this project and want to install it via pip.
- Ngôn ngữ chính
- Python
- Star
- 1.6k
- Fork
- 349
- Merge trung bình
- 3 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 1
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của tensorflow/model-optimization
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
tensorflow/model-optimization#1301 · 1 bình luận ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
tensorflow/model-optimization#1272 ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 50/100
tensorflow/model-optimization#1270 · 2 bình luận ·
-
build from source fails on macos Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 48/100
tensorflow/model-optimization#1241 ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
tensorflow/model-optimization#1182 · 1 bình luận ·
Tất cả issue của tensorflow/model-optimization
Issue tương tự
-
agent-ready documentation needs-triage
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
Add https://search.jeremyh.xyz/ Đang mởinstance instance add
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
searxng/searx-instances#939 · 1 bình luận ·
-
area-deployment area-integrations triage:bot-seen
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 86/100