Git Product home page Git Product logo

Comments (12)

ajfriend avatar ajfriend commented on May 9, 2024 1

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.

kylebarron avatar kylebarron commented on May 9, 2024 1

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.

isaacbrodsky avatar isaacbrodsky commented on May 9, 2024

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.

maxispeicher avatar maxispeicher commented on May 9, 2024

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.

techshot25 avatar techshot25 commented on May 9, 2024

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.

ajfriend avatar ajfriend commented on May 9, 2024

Closing for now, please re-open if the issue is still there.

from h3-py.

chisomeluwa avatar chisomeluwa commented on May 9, 2024

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.

ajfriend avatar ajfriend commented on May 9, 2024

@chisomeluwa What versions of Python and pip are you using?

from h3-py.

chisomeluwa avatar chisomeluwa commented on May 9, 2024

Python version - 3.10.0
Pip version - 22.0.3

from h3-py.

chisomeluwa avatar chisomeluwa commented on May 9, 2024

Ok will try to install a lower version and let u know how it goes

from h3-py.

stareagle avatar stareagle commented on May 9, 2024

Will there be a solution for Python 3.10.x ?

from h3-py.

kylebarron avatar kylebarron commented on May 9, 2024

There should be Python 3.10 wheels on the next release

from h3-py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.