Jun-08-2020, 04:51 PM
hello
I would like to install an existing python project (pyramid framework, here the steps I did:
with pip install -e . I got this error :
Running setup.py install for pyfarmhash ... error
I would like to install an existing python project (pyramid framework, here the steps I did:
- python -m venv isee-backend\venv
- isee-backend\venv\Scripts\activate.bat
- cd isee-backend
- pip install -e .
with pip install -e . I got this error :
Running setup.py install for pyfarmhash ... error
Error:ERROR: Command errored out with exit status 1:
command: 'c:\users\standarduser\code\isee\isee-backend\venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\standarduser\\AppData\\Local\\Temp\\pip-install-oojul98x\\pyfarmhash\\setup.py'"'"'; __file__='"'"'C:\\Users\\standarduser\\AppData\\Local\\Temp\\pip-install-oojul98x\\pyfarmhash\\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\standarduser\AppData\Local\Temp\pip-record-cp02n1i_\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\standarduser\code\isee\isee-backend\venv\include\site\python3.8\pyfarmhash'
cwd: C:\Users\standarduser\AppData\Local\Temp\pip-install-oojul98x\pyfarmhash\
Complete output (6 lines):
Warning: 'keywords' should be a list, got type 'tuple'
running install
running build
running build_ext
building 'farmhash' 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\standarduser\code\isee\isee-backend\venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\standarduser\\AppData\\Local\\Temp\\pip-install-oojul98x\\pyfarmhash\\setup.py'"'"'; __file__='"'"'C:\\Users\\standarduser\\AppData\\Local\\Temp\\pip-install-oojul98x\\pyfarmhash\\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\standarduser\AppData\Local\Temp\pip-record-cp02n1i_\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\standarduser\code\isee\isee-backend\venv\include\site\python3.8\pyfarmhash' Check the logs for full command output.
Please help,