CITGuru / PyInquirer

A Python module for common interactive command line user interfaces
MIT License
1.91k stars 235 forks source link

pip install PyInquirer not working in python 3.5 #129

Open abhishekvirat0 opened 3 years ago

abhishekvirat0 commented 3 years ago
ERROR: Command errored out with exit status 1:
 command: 'c:\users\abhis\appdata\local\programs\python\python35\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\abhis\\AppData\\Local\\Temp\\pip-install-uy67tyzt\\regex\\setup.py'"'"'; __file__='"'"'C:\\Users\\abhis\\AppData\\Local\\Temp\\pip-install-uy67tyzt\\regex\\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\abhis\AppData\Local\Temp\pip-record-hrok6gsy\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\abhis\appdata\local\programs\python\python35\Include\regex'
     cwd: C:\Users\abhis\AppData\Local\Temp\pip-install-uy67tyzt\regex\
Complete output (13 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.5
creating build\lib.win-amd64-3.5\regex
copying regex_3\__init__.py -> build\lib.win-amd64-3.5\regex
copying regex_3\regex.py -> build\lib.win-amd64-3.5\regex
copying regex_3\_regex_core.py -> build\lib.win-amd64-3.5\regex
copying regex_3\test_regex.py -> build\lib.win-amd64-3.5\regex
running build_ext
building 'regex._regex' 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\abhis\appdata\local\programs\python\python35\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\abhis\\AppData\\Local\\Temp\\pip-install-uy67tyzt\\regex\\setup.py'"'"'; __file__='"'"'C:\\Users\\abhis\\AppData\\Local\\Temp\\pip-install-uy67tyzt\\regex\\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\abhis\AppData\Local\Temp\pip-record-hrok6gsy\install-record.txt' --single-version-externally-managed --compile --install-
SethMMorton commented 3 years ago

error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/

It looks like it is not building the regex module because you are missing a compiler. It appears they have released binaries for Python >= 3.6, so for 3.5 you will need to compile from source.

SethMMorton commented 3 years ago

This would get fixed when #90 is completed, because regex was removed as a dep.