cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2477
Views
10
Helpful
3
Replies

Unable to install ACITOOLKIT py-radix

bhrangap
Cisco Employee
Cisco Employee

Hi,

I am trying to install aci-toolkit on my windows 10 ent - 64 bit

Getting below error, i am unable to resolve it.

Please help


Building wheels for collected packages: py-radix
Building wheel for py-radix (setup.py): started
Building wheel for py-radix (setup.py): finished with status 'error'
Running setup.py clean for py-radix
Failed to build py-radix
Installing collected packages: py-radix, jsonschema, ipaddress, graphviz, flask-wtf, flask-sqlalchemy, flask-httpauth, flask-cors, flask-bootstrap, flask-admin, deepdiff, acitoolkit
Running setup.py install for py-radix: started
Running setup.py install for py-radix: finished with status 'error'

ERROR: Command errored out with exit status 1:
command: 'C:\Users\user\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-ev9s3082\\py-radix_c8322c145401479a9d4a3bc979999859\\setup.py'"'"'; __file__='"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-ev9s3082\\py-radix_c8322c145401479a9d4a3bc979999859\\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-hoem7cdf'
cwd: C:\Users\user\AppData\Local\Temp\pip-install-ev9s3082\py-radix_c8322c145401479a9d4a3bc979999859\
Complete output (13 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\radix
copying radix\radix.py -> build\lib.win-amd64-3.9\radix
copying radix\__init__.py -> build\lib.win-amd64-3.9\radix
warning: build_py: byte-compiling is disabled, skipping.

running build_ext
building 'radix._radix' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Failed building wheel for py-radix
ERROR: Command errored out with exit status 1:
command: 'C:\Users\user\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-ev9s3082\\py-radix_c8322c145401479a9d4a3bc979999859\\setup.py'"'"'; __file__='"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-ev9s3082\\py-radix_c8322c145401479a9d4a3bc979999859\\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-7i7u__zz\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Include\py-radix'
cwd: C:\Users\user\AppData\Local\Temp\pip-install-ev9s3082\py-radix_c8322c145401479a9d4a3bc979999859\
Complete output (13 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\radix
copying radix\radix.py -> build\lib.win-amd64-3.9\radix
copying radix\__init__.py -> build\lib.win-amd64-3.9\radix
warning: build_py: byte-compiling is disabled, skipping.

running build_ext
building 'radix._radix' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\user\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-ev9s3082\\py-radix_c8322c145401479a9d4a3bc979999859\\setup.py'"'"'; __file__='"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-ev9s3082\\py-radix_c8322c145401479a9d4a3bc979999859\\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-7i7u__zz\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Include\py-radix' Check the logs for full command output.
WARNING: You are using pip version 20.3.4; however, version 21.0.1 is available.
You should consider upgrading via the 'C:\Users\user\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe -m pip install --upgrade pip' command.

3 Replies 3

qsnyder
Cisco Employee
Cisco Employee

The error displayed during the compilation of the modules I believe is your clue:

 

error: Microsoft Visual C++ 14.0 or greater is required. 
Get it with "Microsoft C++ Build Tools":
https://visualstudio.microsoft.com/visual-cpp-build-tools/

I'd suggest taking a look at making sure you have a CPP compiler installed, and then repeating the installation to see if that helps.

 

q. 

Hey qsnyder,

I was also getting the same error and I waste so many days investigating it.

Today I have seen your comment and installed CPP and it got worked for me.

Thank you so much for your support.

Salim Shaikh

 

 

Ruben Cocheno
Spotlight
Spotlight

@bhrangap 

Has this been resolved?

Tag me to follow up.
Please mark it as Helpful and/or Solution Accepted if that is the case. Thanks for making Engineering easy again.
Connect with me for more on Linkedin https://www.linkedin.com/in/rubencocheno/