Git Product home page Git Product logo

Comments (6)

agtoever avatar agtoever commented on September 28, 2024 1

I get an import error. Also tried to force a re-install and confirmed that it's 2.1.3.:

❯ pip3 install --upgrade --force-reinstall gmpy2
Collecting gmpy2
  Using cached gmpy2-2.1.3-cp310-cp310-macosx_11_0_arm64.whl (407 kB)
Installing collected packages: gmpy2
  Attempting uninstall: gmpy2
    Found existing installation: gmpy2 2.1.3
    Uninstalling gmpy2-2.1.3:
      Successfully uninstalled gmpy2-2.1.3
Successfully installed gmpy2-2.1.3

❯ python3 ./gmpy2_factorial.py
Traceback (most recent call last):
  File "/Users/agtoever/Dropbox/Dev/Python Sandbox/./gmpy2_factorial.py", line 2, in <module>
    from gmpy2 import mpz
  File "/opt/homebrew/lib/python3.10/site-packages/gmpy2/__init__.py", line 1, in <module>
    from .gmpy2 import *
ImportError: dlopen(/opt/homebrew/lib/python3.10/site-packages/gmpy2/gmpy2.cpython-310-darwin.so, 0x0002): symbol not found in flat namespace '_mpc_abs'

from gmpy.

casevh avatar casevh commented on September 28, 2024 1

I've made another update to the build process. I don't have a machine I can use to test the binary wheels.

Can you test the build?

A zip file containing all four versions is at https://github.com/aleaxit/gmpy/suites/9929671653/artifacts/480553600

After extracting the appropriate file, you should be able to install it manually using

pip3 install --upgrade --force-reinstall gmpy2-2.1.4-cp310-cp310-macosx_11_0_arm64.whl

from gmpy.

casevh avatar casevh commented on September 28, 2024

I've released gmpy2 2.1.3 and it is a more recent build. Can you try testing it?

from gmpy.

casevh avatar casevh commented on September 28, 2024

There was an error in the build process. I've upload 2.1.4. Can you try it?

from gmpy.

agtoever avatar agtoever commented on September 28, 2024

I just updated to 2.1.4 and the issue is still there. Sorry.

Please let me know if there is anything I can do to provide you with more information to pinpoint / solve this.

from gmpy.

agtoever avatar agtoever commented on September 28, 2024

Kudos! You nailed it! Ran it several times, even with higher limits. No segmentation faults anymore. Well done! Case closed! 🎉

from gmpy.

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.