NVIDIA / NVIDIA/apex

ERROR: Failed building wheel for bimpy

Open
#903 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
9k
Forks
1.5k
Avg merge
2d 4h
Merged PRs (30d)
3

Description

I have been trying to install bimpy on anaconda environment but i am failing. You can find the complete error below.

pip install bimpy==0.0.5
Collecting bimpy==0.0.5
Using cached bimpy-0.0.5.tar.gz (798 kB)
Building wheels for collected packages: bimpy
Building wheel for bimpy (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\user\anaconda3\envs\alae\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\user\AppData\Local\Temp\pip-install-36crm0tj\bimpy\setup.py'"'"'; file='"'"'C:\Users\user\AppData\Local\Temp\pip-install-36crm0tj\bimpy\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\user\AppData\Local\Temp\pip-wheel-59pgnf5p'
cwd: C:\Users\user\AppData\Local\Temp\pip-install-36crm0tj\bimpy
Complete output (15 lines):
Reusing glcorearb.h from gl3w/include/GL...
Parsing glcorearb.h header...
Generating gl3w.h in gl3w/include/GL...
Generating gl3w.c in gl3w/src...
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\bimpy
copying bimpy\themes.py -> build\lib.win-amd64-3.7\bimpy
copying bimpy_init_.py -> build\lib.win-amd64-3.7\bimpy
running build_ext
building '_bimpy' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/

ERROR: Failed building wheel for bimpy
Running setup.py clean for bimpy
Failed to build bimpy
Installing collected packages: bimpy
Running setup.py install for bimpy ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\user\anaconda3\envs\alae\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\user\AppData\Local\Temp\pip-install-36crm0tj\bimpy\setup.py'"'"'; file='"'"'C:\Users\user\AppData\Local\Temp\pip-install-36crm0tj\bimpy\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\user\AppData\Local\Temp\pip-record-dbejldk7\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\user\anaconda3\envs\alae\Include\bimpy'
cwd: C:\Users\user\AppData\Local\Temp\pip-install-36crm0tj\bimpy
Complete output (15 lines):
Reusing glcorearb.h from gl3w/include/GL...
Parsing glcorearb.h header...
Generating gl3w.h in gl3w/include/GL...
Generating gl3w.c in gl3w/src...
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\bimpy
copying bimpy\themes.py -> build\lib.win-amd64-3.7\bimpy
copying bimpy_init_.py -> build\lib.win-amd64-3.7\bimpy
running build_ext
building '_bimpy' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\user\anaconda3\envs\alae\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\user\AppData\Local\Temp\pip-install-36crm0tj\bimpy\setup.py'"'"'; file='"'"'C:\Users\user\AppData\Local\Temp\pip-install-36crm0tj\bimpy\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\user\AppData\Local\Temp\pip-record-dbejldk7\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\user\anaconda3\envs\alae\Include\bimpy' Check the logs for full command output.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by reproducing pip install bimpy==0.0.5 in the reported Anaconda Python 3.7 environment and inspect the setup.py build step. Confirm whether the failure is limited to the missing Microsoft Visual C++ 14.0 requirement; done means the package installs successfully in the reported environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.