pytorch / pytorch/vision

Install failing from the master: Failed building wheel

Open
#2,480 21 comments 0 reactions 1 assignee View on GitHub

@andfoy is already working on this.

Since Jul 17, 2020.

bug dependency issue topic: build
Dominant language
Python
Stars
17.9k
Forks
7.3k
Avg merge
1d 15h
Merged PRs (30d)
13

Description

🐛 Bug

To Reproduce

Steps to reproduce the behavior:

1.pip install -q git+https://github.com/pytorch/vision.git

Expected behavior

Build successfully without any error message

Environment

  • PyTorch / torchvision Version (e.g., 1.0 / 0.4.0): master
  • OS (e.g., Linux): ubuntu16.04
  • How you installed PyTorch / torchvision (conda, pip, source): pip
  • Build command you used (if compiling from source): pip install -q git+https://github.com/pytorch/vision.git
  • Python version: 3.6
  • CUDA/cuDNN version:
  • GPU models and configuration:
  • Any other relevant information: clang7

Additional context

It occurs a week ago and keeps failing. The error message is as follows:

+ pip install -q git+https://github.com/pytorch/vision.git
  Failed building wheel for torchvision
Command "/tmp/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-req-build-7wrzlist/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-bbtn3535/install-record.txt --single-version-externally-managed --compile --install-headers /tmp/venv/include/site/python3.6/torchvision" failed with error code 1 in /tmp/pip-req-build-7wrzlist/

I suppose it's a bug from the master branch? If so, when can it be fixed?
If not, how can I fix this?
Thanks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.