Sep-01-2019, 06:57 PM
Here is the error that's showed in the prompt when i try the command, I think it has something to do with the file setup.py, at first I thought of an installation error so i reinstalled python 3.7, but the error shows up anyway. Is there a way to fix this?
C:\Users\ricca>pip install bigfloat
Collecting bigfloat
Using cached https://files.pythonhosted.org/packages/...3.0.tar.gz
Building wheels for collected packages: bigfloat
Building wheel for bigfloat (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\ricca\appdata\local\programs\python\python37-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ricca\\AppData\\Local\\Temp\\pip-install-1q258z5m\\bigfloat\\setup.py'"'"'; __file__='"'"'C:\\Users\\ricca\\AppData\\Local\\Temp\\pip-install-1q258z5m\\bigfloat\\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\ricca\AppData\Local\Temp\pip-wheel-_rm_iqzu' --python-tag cp37
cwd: C:\Users\ricca\AppData\Local\Temp\pip-install-1q258z5m\bigfloat\
Complete output (21 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.7
creating build\lib.win32-3.7\bigfloat
copying bigfloat\context.py -> build\lib.win32-3.7\bigfloat
copying bigfloat\core.py -> build\lib.win32-3.7\bigfloat
copying bigfloat\ieee.py -> build\lib.win32-3.7\bigfloat
copying bigfloat\rounding_mode.py -> build\lib.win32-3.7\bigfloat
copying bigfloat\__init__.py -> build\lib.win32-3.7\bigfloat
creating build\lib.win32-3.7\bigfloat\test
copying bigfloat\test\test_bigfloat.py -> build\lib.win32-3.7\bigfloat\test
copying bigfloat\test\test_context.py -> build\lib.win32-3.7\bigfloat\test
copying bigfloat\test\test_mpfr.py -> build\lib.win32-3.7\bigfloat\test
copying bigfloat\test\test_rounding_mode.py -> build\lib.win32-3.7\bigfloat\test
copying bigfloat\test\test___all__.py -> build\lib.win32-3.7\bigfloat\test
copying bigfloat\test\__init__.py -> build\lib.win32-3.7\bigfloat\test
running build_ext
building 'mpfr' 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 bigfloat
Running setup.py clean for bigfloat
Failed to build bigfloat
Installing collected packages: bigfloat
Running setup.py install for bigfloat ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\ricca\appdata\local\programs\python\python37-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ricca\\AppData\\Local\\Temp\\pip-install-1q258z5m\\bigfloat\\setup.py'"'"'; __file__='"'"'C:\\Users\\ricca\\AppData\\Local\\Temp\\pip-install-1q258z5m\\bigfloat\\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\ricca\AppData\Local\Temp\pip-record-rtsbkcvz\install-record.txt' --single-version-externally-managed --compile
cwd: C:\Users\ricca\AppData\Local\Temp\pip-install-1q258z5m\bigfloat\
Complete output (21 lines):
running install
running build
running build_py
creating build
creating build\lib.win32-3.7
creating build\lib.win32-3.7\bigfloat
copying bigfloat\context.py -> build\lib.win32-3.7\bigfloat
copying bigfloat\core.py -> build\lib.win32-3.7\bigfloat
copying bigfloat\ieee.py -> build\lib.win32-3.7\bigfloat
copying bigfloat\rounding_mode.py -> build\lib.win32-3.7\bigfloat
copying bigfloat\__init__.py -> build\lib.win32-3.7\bigfloat
creating build\lib.win32-3.7\bigfloat\test
copying bigfloat\test\test_bigfloat.py -> build\lib.win32-3.7\bigfloat\test
copying bigfloat\test\test_context.py -> build\lib.win32-3.7\bigfloat\test
copying bigfloat\test\test_mpfr.py -> build\lib.win32-3.7\bigfloat\test
copying bigfloat\test\test_rounding_mode.py -> build\lib.win32-3.7\bigfloat\test
copying bigfloat\test\test___all__.py -> build\lib.win32-3.7\bigfloat\test
copying bigfloat\test\__init__.py -> build\lib.win32-3.7\bigfloat\test
running build_ext
building 'mpfr' 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:\users\ricca\appdata\local\programs\python\python37-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ricca\\AppData\\Local\\Temp\\pip-install-1q258z5m\\bigfloat\\setup.py'"'"'; __file__='"'"'C:\\Users\\ricca\\AppData\\Local\\Temp\\pip-install-1q258z5m\\bigfloat\\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\ricca\AppData\Local\Temp\pip-record-rtsbkcvz\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.
C:\Users\ricca>pip install bigfloat
Collecting bigfloat
Using cached https://files.pythonhosted.org/packages/...3.0.tar.gz
Building wheels for collected packages: bigfloat
Building wheel for bigfloat (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\ricca\appdata\local\programs\python\python37-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ricca\\AppData\\Local\\Temp\\pip-install-1q258z5m\\bigfloat\\setup.py'"'"'; __file__='"'"'C:\\Users\\ricca\\AppData\\Local\\Temp\\pip-install-1q258z5m\\bigfloat\\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\ricca\AppData\Local\Temp\pip-wheel-_rm_iqzu' --python-tag cp37
cwd: C:\Users\ricca\AppData\Local\Temp\pip-install-1q258z5m\bigfloat\
Complete output (21 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.7
creating build\lib.win32-3.7\bigfloat
copying bigfloat\context.py -> build\lib.win32-3.7\bigfloat
copying bigfloat\core.py -> build\lib.win32-3.7\bigfloat
copying bigfloat\ieee.py -> build\lib.win32-3.7\bigfloat
copying bigfloat\rounding_mode.py -> build\lib.win32-3.7\bigfloat
copying bigfloat\__init__.py -> build\lib.win32-3.7\bigfloat
creating build\lib.win32-3.7\bigfloat\test
copying bigfloat\test\test_bigfloat.py -> build\lib.win32-3.7\bigfloat\test
copying bigfloat\test\test_context.py -> build\lib.win32-3.7\bigfloat\test
copying bigfloat\test\test_mpfr.py -> build\lib.win32-3.7\bigfloat\test
copying bigfloat\test\test_rounding_mode.py -> build\lib.win32-3.7\bigfloat\test
copying bigfloat\test\test___all__.py -> build\lib.win32-3.7\bigfloat\test
copying bigfloat\test\__init__.py -> build\lib.win32-3.7\bigfloat\test
running build_ext
building 'mpfr' 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 bigfloat
Running setup.py clean for bigfloat
Failed to build bigfloat
Installing collected packages: bigfloat
Running setup.py install for bigfloat ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\ricca\appdata\local\programs\python\python37-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ricca\\AppData\\Local\\Temp\\pip-install-1q258z5m\\bigfloat\\setup.py'"'"'; __file__='"'"'C:\\Users\\ricca\\AppData\\Local\\Temp\\pip-install-1q258z5m\\bigfloat\\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\ricca\AppData\Local\Temp\pip-record-rtsbkcvz\install-record.txt' --single-version-externally-managed --compile
cwd: C:\Users\ricca\AppData\Local\Temp\pip-install-1q258z5m\bigfloat\
Complete output (21 lines):
running install
running build
running build_py
creating build
creating build\lib.win32-3.7
creating build\lib.win32-3.7\bigfloat
copying bigfloat\context.py -> build\lib.win32-3.7\bigfloat
copying bigfloat\core.py -> build\lib.win32-3.7\bigfloat
copying bigfloat\ieee.py -> build\lib.win32-3.7\bigfloat
copying bigfloat\rounding_mode.py -> build\lib.win32-3.7\bigfloat
copying bigfloat\__init__.py -> build\lib.win32-3.7\bigfloat
creating build\lib.win32-3.7\bigfloat\test
copying bigfloat\test\test_bigfloat.py -> build\lib.win32-3.7\bigfloat\test
copying bigfloat\test\test_context.py -> build\lib.win32-3.7\bigfloat\test
copying bigfloat\test\test_mpfr.py -> build\lib.win32-3.7\bigfloat\test
copying bigfloat\test\test_rounding_mode.py -> build\lib.win32-3.7\bigfloat\test
copying bigfloat\test\test___all__.py -> build\lib.win32-3.7\bigfloat\test
copying bigfloat\test\__init__.py -> build\lib.win32-3.7\bigfloat\test
running build_ext
building 'mpfr' 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:\users\ricca\appdata\local\programs\python\python37-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ricca\\AppData\\Local\\Temp\\pip-install-1q258z5m\\bigfloat\\setup.py'"'"'; __file__='"'"'C:\\Users\\ricca\\AppData\\Local\\Temp\\pip-install-1q258z5m\\bigfloat\\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\ricca\AppData\Local\Temp\pip-record-rtsbkcvz\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.