Skip to content

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

@RSwarnkar

Description

@RSwarnkar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions