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

Failed building wheel for py-radix on Windows 10 (Missing Build tools) #50

Open
RSwarnkar opened this issue Apr 12, 2020 · 1 comment
Open

Comments

@RSwarnkar
Copy link

Hi there,

I am unable to build and install it using pip on Window 10 PRO.
Build error:

Collecting py-radix
  Using cached https://files.pythonhosted.org/packages/bf/4e/47d9e7f4dfd0630662e19d2cc1b2f1d307ec52df11f4a66f6ed6f0cce138/py-radix-0.10.0.tar.gz
Building wheels for collected packages: py-radix
  Building wheel for py-radix (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\rswarnka\\AppData\\Local\\Temp\\pip-install-l1elhe7i\\py-radix\\setup.py'"'"'; __file__='"'"'C:\\Users\\rswarnka\\AppData\\Local\\Temp\\pip-install-l1elhe7i\\py-radix\\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\rswarnka\AppData\Local\Temp\pip-wheel-3wvpx_fs' --python-tag cp37
       cwd: C:\Users\rswarnka\AppData\Local\Temp\pip-install-l1elhe7i\py-radix\
  Complete output (11 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.7
  creating build\lib.win-amd64-3.7\radix
  copying radix\radix.py -> build\lib.win-amd64-3.7\radix
  copying radix\__init__.py -> build\lib.win-amd64-3.7\radix
  running build_ext
  building 'radix._radix' extension
  error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
  ----------------------------------------
  ERROR: Failed building wheel for py-radix
  Running setup.py clean for py-radix
Failed to build py-radix
Installing collected packages: py-radix
  Running setup.py install for py-radix ... error
    ERROR: Command errored out with exit status 1:
     command: 'C:\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\rswarnka\\AppData\\Local\\Temp\\pip-install-l1elhe7i\\py-radix\\setup.py'"'"'; __file__='"'"'C:\\Users\\rswarnka\\AppData\\Local\\Temp\\pip-install-l1elhe7i\\py-radix\\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\rswarnka\AppData\Local\Temp\pip-record-h0r1d7ly\install-record.txt' --single-version-externally-managed --compile
         cwd: C:\Users\rswarnka\AppData\Local\Temp\pip-install-l1elhe7i\py-radix\
    Complete output (11 lines):
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.7
    creating build\lib.win-amd64-3.7\radix
    copying radix\radix.py -> build\lib.win-amd64-3.7\radix
    copying radix\__init__.py -> build\lib.win-amd64-3.7\radix
    running build_ext
    building 'radix._radix' extension
    error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\rswarnka\\AppData\\Local\\Temp\\pip-install-l1elhe7i\\py-radix\\setup.py'"'"'; __file__='"'"'C:\\Users\\rswarnka\\AppData\\Local\\Temp\\pip-install-l1elhe7i\\py-radix\\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\rswarnka\AppData\Local\Temp\pip-record-h0r1d7ly\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.

Is there workaround for the missing library without having to install 5 gigs of visual studio just for build? sigh

@RSwarnkar
Copy link
Author

RSwarnkar commented Apr 14, 2020

Is it possible to please provide --binary-only package for windows user so that we do not have to install 4.5 GB of Visual studio trash?

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

1 participant