Code Monkey home page Code Monkey logo

Comments (10)

Wonskcalb avatar Wonskcalb commented on June 6, 2024 2

I'm having the same issue here, on a fresh new environment (On a Macbook Pro M2 Pro):

❯ pdm init
❯ pdm add hyperscan

Importing hyperscan immediately fails.

❯ pdm run python
Loading dotenv file /private/tmp/test/.env
Python 3.10.12 (main, Jul 31 2023, 18:01:49) [Clang 14.0.3 (clang-1403.0.22.14.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import hyperscan
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/valz/.local/share/pdm/venvs/test-EGPJwhIL-3.10/lib/python3.10/site-packages/hyperscan/__init__.py", line 3, in <module>
    from hyperscan._ext import *  # noqa: F401, F403
ImportError: dlopen(/Users/valz/.local/share/pdm/venvs/test-EGPJwhIL-3.10/lib/python3.10/site-packages/hyperscan/_ext.cpython-310-darwin.so, 0x0002): symbol not found in flat namespace '_ch_alloc_scratch'

LMK if you want me to provide further information/tests

from python-hyperscan.

clement-tourriere avatar clement-tourriere commented on June 6, 2024 1

Tested too on mac M1, and it's working fine. Waiting for the release now :).
Thank you for your incredible work !

from python-hyperscan.

savinoda avatar savinoda commented on June 6, 2024 1

@darvid would you please push this?

from python-hyperscan.

darvid avatar darvid commented on June 6, 2024 1

https://pypi.org/project/hyperscan/

sorry for the delay

latest version is 0.7.7 (yep 7 extra patch increments) because i was 🤬 getting semantic-release working (for future me/maintainers/collaborators, manually publishing all these x-platform artifacts is a massive pita)

from python-hyperscan.

darvid avatar darvid commented on June 6, 2024

hmm iirc the tests passed on the ARM GH actions runner that built the wheels but I'll take a look

from python-hyperscan.

savinoda avatar savinoda commented on June 6, 2024

Thanks, please let me know if you need anything from my side.
I've not done anything crazy: just pip install and import it

from python-hyperscan.

darvid avatar darvid commented on June 6, 2024

sorry for the delay, could you please try one of the *_macosx_arm64 wheels from here? i think i might need to bump the release since PyPI doesn't let me replace existing versions of artifacts, so would be good to get a smoke test, although i think it should work now as the previous runner for the arm64 builds wasn't actually arm64 🤦

from python-hyperscan.

darvid avatar darvid commented on June 6, 2024

tested 3.12 on my M2 mbp so will push later assuming no further issues on macOS/arm64

from python-hyperscan.

savinoda avatar savinoda commented on June 6, 2024

Hi is the patch being merged soon?

from python-hyperscan.

Wonskcalb avatar Wonskcalb commented on June 6, 2024

sorry for the delay, could you please try one of the *_macosx_arm64 wheels from here? i think i might need to bump the release since PyPI doesn't let me replace existing versions of artifacts, so would be good to get a smoke test, although i think it should work now as the previous runner for the arm64 builds wasn't actually arm64 🤦

No worries, just was able to make it work as well. Thanks for the work!

from python-hyperscan.

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.