question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Windows 10 installation still fails

See original GitHub issue

Please don’t tell me that “Superset is not supported on Windows” !! This is a Python toolset and is supposed to be cross-platform.
“Not supported on Windows” is an unacceptable cop-out. (Yes, I do appreciate all the great work the community is doing, I just don’t like using Unix for Python work.

When I follow the instructions, I get the same failure errors when it goes to build the Superset and Geohash packages. All the other packages build successfully. I’ve already installed the Visual C++ v14 compiler runtime inside Visual Studio 2019, by selecting the VC++ 14 workload.

How do we correctly build these 2 packages Superset and Geohash so the rest of the Superset installation works? Can these be built separately after all the other packages are built successfully?

I get three major errors,

  1. “fatal: not a git repository (or any of the parent directories): .git”

  2. "copying build\lib\superset\static\assets\dist\vendors-deckgl\layers\arc-deckgl\layers\geojson-deckgl\layers\grid-deckgl\layers\hex-deckgl\layers\p-39b91eb9.81565bc93ff56be4e334.chunk.js -> build\bdist.win-amd64\wheel.\superset\static\assets\dist\vendors-deckgl\layers\arc-deckgl\layers\geojson-deckgl\layers\grid-deckgl\layers\hex-deckgl\layers error: could not create ‘build\bdist.win-amd64\wheel.\superset\static\assets\dist\vendors-deckgl\layers\arc-deckgl\layers\geojson-deckgl\layers\grid-deckgl\layers\hex-deckgl\layers\p-39b91eb9.81565bc93ff56be4e334.chunk.js’: No such file or directory

  3. src/geohash.cpp(528): warning C4267: ‘=’: conversion from ‘size_t’ to ‘int’, possible loss of data c:\programdata\anaconda3\envs\superset\include\pyconfig.h(222): fatal error C1083: Cannot open include file: ‘basetsd.h’: No such file or directory error: command ‘C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe’ failed with exit status 2


ERROR: Failed building wheel for python-geohash Running setup.py clean for python-geohash Failed to build superset python-geohash Installing collected packages: python-geohash, simplejson, sqlparse, rfc3986, unicodecsv, xlrd, jsonlines, linear-tsv, et-xmlfile, jdcal, openpyxl, cchardet, ijson, tabulator, tableschema, thrift, pure-sasl, thrift-sasl, unidecode, superset Running setup.py install for python-geohash … error ERROR: Command errored out with exit status 1: command: ‘C:\ProgramData\Anaconda3\envs\superset\python.exe’

Building wheels for collected packages: superset, python-geohash
  Building wheel for superset (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\ProgramData\Anaconda3\envs\superset\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\lysak\\AppData\\Local\\Temp\\pip-install-aayicj11\\superset\\setup.py'"'"'; __file__='"'"'C:\\Users\\lysak\\AppData\\Local\\Temp\\pip-install-aayicj11\\superset\\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\lysak\AppData\Local\Temp\pip-wheel-gs1bvxrp' --python-tag cp36
       cwd: C:\Users\lysak\AppData\Local\Temp\pip-install-aayicj11\superset\
  Complete output (2687 lines):
  fatal: not a git repository (or any of the parent directories): .git
  -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
  VERSION: 0.28.1
  GIT SHA:
  copying build\lib\superset\static\assets\dist\vendors-deckgl\layers\arc-deckgl\layers\geojson-deckgl\layers\grid-deckgl\layers\hex-deckgl\layers\p-39b91eb9.81565bc93ff56be4e334.chunk.js -> build\bdist.win-amd64\wheel\.\superset\static\assets\dist\vendors-deckgl\layers\arc-deckgl\layers\geojson-deckgl\layers\grid-deckgl\layers\hex-deckgl\layers
  error: could not create 'build\bdist.win-amd64\wheel\.\superset\static\assets\dist\vendors-deckgl\layers\arc-deckgl\layers\geojson-deckgl\layers\grid-deckgl\layers\hex-deckgl\layers\p-39b91eb9.81565bc93ff56be4e334.chunk.js': No such file or directory
  ----------------------------------------
  ERROR: Failed building wheel for superset
  Running setup.py clean for superset
  Building wheel for python-geohash (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\ProgramData\Anaconda3\envs\superset\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\lysak\\AppData\\Local\\Temp\\pip-install-aayicj11\\python-geohash\\setup.py'"'"'; __file__='"'"'C:\\Users\\lysak\\AppData\\Local\\Temp\\pip-install-aayicj11\\python-geohash\\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\lysak\AppData\Local\Temp\pip-wheel-pvih8dfx' --python-tag cp36
       cwd: C:\Users\lysak\AppData\Local\Temp\pip-install-aayicj11\python-geohash\
  Complete output (22 lines):

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
PowerPlopcommented, Aug 7, 2019

Manually installing the .whl file from https://www.lfd.uci.edu/~gohlke/pythonlibs/#python-geohash with pip install python_geohash‑0.8.5‑cp37‑cp37m‑win_amd64.whl (or other version) fixed this for me.

2reactions
issue-label-bot[bot]commented, Aug 3, 2019

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.67. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[SOLVED] Windows 10 Installation Has Failed - Driver Easy
[SOLVED] Windows 10 Installation Has Failed · Try these fixes… · Fix 1: Remove the peripheral devices · Fix 2: Clear an attribute...
Read more >
4 Solutions to Fix Windows 10/11 Installation Has Failed
4 Solutions to Fix the "Windows 10/11 installation has failed" Error · Solution 1: Run a Clean Boot Installation · Solution 2: Create...
Read more >
How to Fix "Windows 10 Installation has Failed" Error? - Appuals
One potential reason you might see the error message “Windows 10 Installation has Failed” is if a key system dependency, process, or service...
Read more >
Windows 10 Installation Has Failed [Easily FIXED]
How do I fix Windows 10 installation failed? · 1. Unplug all peripheral devices · 2. Uninstall the language pack · 3. Uninstall...
Read more >
[SOLVED] Windows 10 Could Not Complete the Installation + ...
Case 2: Windows 10 Installation Has Failed · Fix 1. Check Whether Your Computer Meets the Minimum Requirements · Fix 2. Clear Certain...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found