ImportError: Building module region failed: ["distutils.errors.CompileError: command 'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio\\\\2017\\\\Professional\\\\VC\\\\Tools\\\\MSVC\\\\14.16.27023\\\\bin\\\\HostX86\\\\x64\\\\cl.exe' failed with exit status 2\n"]
- Dominant language
- Python
- Stars
- 3.6k
- Forks
- 804
- PR merge metrics
- No merged PRs in 30d
Description
I met the following trouble when i running the demo.py, and I've made a lot of effort to solve it, but can't.
ImportError: Building module region failed: ["distutils.errors.CompileError: command 'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio\\\\2017\\\\Professional\\\\VC\\\\Tools\\\\MSVC\\\\14.16.27023\\\\bin\\\\HostX86\\\\x64\\\\cl.exe' failed with exit status 2\n"]
Could anybody give me a hand? Thank you very much in advance!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the failure while running demo.py and capture the complete compiler output around the reported ImportError. Read the project’s setup and build instructions to identify the module being compiled and its Windows requirements. Done means demo.py runs without the module build failure, with the cause and verification steps documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- build-system, computer-vision
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100