Comments (12)
We just released v3.6.1, which should hopefully fix these install issues. Could you please try installing with pip install h3==3.6.1
and let us know how it works?
from h3-py.
This is likely happening because wheels aren't provided for Python 3.10 yet: https://pypi.org/project/h3/#files. If you switch to Python 3.5-3.9 you should be able to install H3 without needing to build it from source yourself.
from h3-py.
Thanks for reporting this. I haven't tried installing h3-py on a Windows system yet, but it looks like it should be possible by either setting https://github.com/uber/h3-py/blob/master/.install.sh to create makefiles, or invoking cmake --build
instead of make
.
I'm not sure on instructions for you to test that. We would probably need to add AppVeyor CI to the project to test the Windows install.
from h3-py.
I´m not quite sure how to invoke the build process right after this step. I´ve already tried to tried to change the .intsall.sh file to create Makefiles and then the build process itself runs without error messages (which doesn´t seem to mean it runs at it should). Because then it runs into an error after make tht the file lib/libh3* doesn´t exist. (which is true after the build process)
So just for trying I´ve tried to swap lib/libh3* by bin/libh3* and after the shell script runs complete without any error. However no python package is created and if there is any further step I just don´t know how to continue from there.
from h3-py.
If you really want h3 on your windows machine without any problems, you can install everything related to your python environment inside a linux subsystem which may seem like a lot of work, but it allows you to utilize every piece of software that was built for linux and works exclusively for it. I simply moved my entire work to the linux subsystem and it has never failed me.
from h3-py.
Closing for now, please re-open if the issue is still there.
from h3-py.
It still does not work on Windows @ajfriend, I get the error
" note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for h3
Failed to build h3
ERROR: Could not build wheels for h3, which is required to install pyproject.toml-based projects"
from h3-py.
@chisomeluwa What versions of Python and pip are you using?
from h3-py.
Python version - 3.10.0
Pip version - 22.0.3
from h3-py.
Ok will try to install a lower version and let u know how it goes
from h3-py.
Will there be a solution for Python 3.10.x ?
from h3-py.
There should be Python 3.10 wheels on the next release
from h3-py.
Related Issues (20)
- Output type for Vectorized h3.geo_to_h3()
- When will v4 be officially released for python? HOT 1
- Change `H3Poly`/`H3MultiPoly` to `LatLngPoly`/`LatLngMultiPoly`
- Add function for returning the H3 indices of each endpoint of a directed edge
- Remove unordered outputs in v4
- Combine coverage from symlinked API files
- Try ruff
- Add test code to coverage
- Support PEP 517 builds
- What is the status / plan for vectorized APIs? HOT 3
- Support Python version 3.12 HOT 7
- h3.polyfill fails for simple polygon, works for subpolygon
- Support Python version 4.1 HOT 1
- Move cython test to its own folder HOT 5
- Update codecov action
- Unexpected Behavior with Multipolygons of Certain Seas in H3 Library (v4.0.0b2) HOT 8
- polyfill - how to get all intersected h3 polygons HOT 5
- Docs build action should trigger on PRs
- API reference needs to be updated with Polygon interface
- Update to [email protected] HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from h3-py.