Python Forum
pip install -e ., ERROR: Failed building wheel for pyfarmhash
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pip install -e ., ERROR: Failed building wheel for pyfarmhash
#1
Hello ,

when I : pip install -e .

the output is :
Output:
Building wheels for collected packages: pyfarmhash Building wheel for pyfarmhash (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\standarduser\Envs\isee-backend\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'c:\\users\\standarduser\\appdata\\local\\temp\\pip-install-kmdrto\\pyfarmhash\\setup.py'"'"'; __file__='"'"'c:\\users\\standarduser\\appdata\\local\\temp\\pip-install-kmdrto\\pyfarmhash\\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\standarduser\appdata\local\temp\pip-wheel-3jzg1v' cwd: c:\users\standarduser\appdata\local\temp\pip-install-kmdrto\pyfarmhash\ Complete output (13 lines): running bdist_wheel running build running build_ext building 'farmhash' extension creating build creating build\temp.win-amd64-2.7 creating build\temp.win-amd64-2.7\Release creating build\temp.win-amd64-2.7\Release\src C:\Users\standarduser\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Users\standarduser\Envs\isee-backend\include -IC:\Users\standarduser\Envs\isee-backend\PC /Tpsrc/farmhash.cc /Fobuild\temp.win-amd64-2.7\Release\src/farmhash.obj -O4 cl : Command line warning D9002 : ignoring unknown option '-O4' farmhash.cc c:\users\standarduser\appdata\local\temp\pip-install-kmdrto\pyfarmhash\src\farmhash.h(47) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory error: command 'C:\\Users\\standarduser\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2 ---------------------------------------- ERROR: Failed building wheel for pyfarmhash Running setup.py clean for pyfarmhash Failed to build pyfarmhash Installing collected packages: pyfarmhash, pymongo, repoze.lru, zope.interface, plaster, PasteDeploy, plaster-pastedeploy, venusian, webob, zope.deprecation, hupper, pyramid, PyJWT, pyramid-jwt, pyramid-rewrite, Paste, PasteScript, scipy, waitress, wrapt, rutter, unicodecsv, pyasn1, rsa, pyasn1-modules, httplib2, oauth2client, urllib3, certifi, chardet, idna, requests, cachetools, google-auth, backports.functools-lru-cache, soupsieve, beautifulsoup4, google, google-auth-httplib2, protobuf, googleapis-common-protos, futures, pytz, google-api-core, uritemplate, google-api-python-client, funcsigs, isee-backend Running setup.py install for pyfarmhash ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\standarduser\Envs\isee-backend\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'c:\\users\\standarduser\\appdata\\local\\temp\\pip-install-kmdrto\\pyfarmhash\\setup.py'"'"'; __file__='"'"'c:\\users\\standarduser\\appdata\\local\\temp\\pip-install-kmdrto\\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-o99uyk\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\standarduser\Envs\isee-backend\include\site\python2.7\pyfarmhash' cwd: c:\users\standarduser\appdata\local\temp\pip-install-kmdrto\pyfarmhash\ Complete output (13 lines): running install running build running build_ext building 'farmhash' extension creating build creating build\temp.win-amd64-2.7 creating build\temp.win-amd64-2.7\Release creating build\temp.win-amd64-2.7\Release\src C:\Users\standarduser\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Users\standarduser\Envs\isee-backend\include -IC:\Users\standarduser\Envs\isee-backend\PC /Tpsrc/farmhash.cc /Fobuild\temp.win-amd64-2.7\Release\src/farmhash.obj -O4 cl : Command line warning D9002 : ignoring unknown option '-O4' farmhash.cc c:\users\standarduser\appdata\local\temp\pip-install-kmdrto\pyfarmhash\src\farmhash.h(47) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory error: command 'C:\\Users\\standarduser\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2 ---------------------------------------- ERROR: Command errored out with exit status 1: 'C:\Users\standarduser\Envs\isee-backend\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'c:\\users\\standarduser\\appdata\\local\\temp\\pip-install-kmdrto\\pyfarmhash\\setup.py'"'"'; __file__='"'"'c:\\users\\standarduser\\appdata\\local\\temp\\pip-install-kmdrto\\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-o99uyk\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\standarduser\Envs\isee-backend\include\site\python2.7\pyfarmhash' Check the logs for full command output.
I dont know if I miss installing some packages ?

my environment work : windows 10 + py 2.7
Reply
#2
Do you have wheel installed? pip install wheel
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Install error middlestudent 1 711 Sep-23-2023, 08:26 AM
Last Post: middlestudent
  wxPython install error carlomscalisi 3 3,545 Jan-17-2023, 11:04 AM
Last Post: snippsat
  [ERROR] ParamValidationError: Parameter validation failed: Invalid type for parameter gdbengo 3 10,639 Dec-26-2022, 08:48 AM
Last Post: ibreeden
  Error with pip install coffeeguy 1 2,207 Sep-08-2022, 01:27 AM
Last Post: snippsat
  Python wheel packages - how to add timestamp to the wheel name? vcankovic 0 938 Jul-06-2022, 12:04 PM
Last Post: vcankovic
  python wheel file Led_Zeppelin 1 1,157 Jun-15-2022, 04:08 PM
Last Post: Led_Zeppelin
  kmeans install error (please help me) muratuzun 3 5,330 May-06-2022, 02:14 PM
Last Post: snippsat
  Install any library via pip get an error cannot import name 'SCHEME_KEYS' from 'pip. Anldra12 2 10,486 Jan-04-2022, 01:05 PM
Last Post: Anldra12
  Anaconda pip install mpyc Error pip-script.py is not present Anldra12 2 7,716 Dec-13-2021, 06:59 PM
Last Post: Anldra12
  Minecraft Python install error SomeAcandKid 1 2,307 Oct-06-2021, 06:22 PM
Last Post: Ronhamas

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020