-
Notifications
You must be signed in to change notification settings - Fork 14.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows 10 installation still fails #7982
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
Here is the full log installation file (attached). Please fix these modules. There are millions more Windows computers out there than Linux or Macintosh OSX. This great open source product will get more airplay if you get the installation working correctly on Windows. |
Perhaps these leads can help someone identify a way to fix these two package build errors. One potential issues I found is that the Python-geohash kit is 10 years old, with no maintenance for Geohash for the past 5 years. 5 years ago the following setup.py file has 1 change and geohash.py has "minor enhancement", but at that time the code was still hosted in a Google Code repo. [email protected] minor enhancement try: requiring C++ here for Windows support.c1=Extension('_geohash', setup(name='python-geohash', |
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. |
If someone wants to take on Windows support the work will be welcomed. I don't think any of the current committers have the intention of putting much work in that direction though. In the meantime maybe Docker on Windows? Does that work? |
Main problem is probably that we depend on libs that are not fully Windows-compatible or features like |
I was able to get the installation running on a fresh windows machine (did not have any python instances installed before). There were few packages I had to upgrade/downgrade manually after main installation. You can check out my notes here - https://gist.github.com/mark05e/d9cccae129dd11a21d7219eddd7d9923 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue |
This worked for me too on windows 10. |
Get following error : error C1083: Cannot open include file: 'stdio.h': No such file or directory ERROR: Command errored out with exit status 1:
|
Getting Error while installing Geohash : 'stdio.h': No such file or directory Error as below------------------------ Manually installation of the wheel is not working for Windows 10 64-bit. |
The command executed in Anaconda helped me: |
Just a reminder that this is free software and that none of the maintainers actively use Windows, nor do we have the hardware or bandwidth to tackle its unique challenges. A quick search for "Windows" in the issue list should give you a sense of why supporting it is (300+ issues, 30 of which open RN). Docker/VMs/EC2 are your best bets for now. Contributions to improve Windows support are welcomed, but can't come at the cost of significant extra complexity. |
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,
"fatal: not a git repository (or any of the parent directories): .git"
"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
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'
The text was updated successfully, but these errors were encountered: