Comments (6)
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.
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.
I've released gmpy2 2.1.3 and it is a more recent build. Can you try testing it?
from gmpy.
There was an error in the build process. I've upload 2.1.4. Can you try it?
from gmpy.
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.
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)
- complex conjugate crash HOT 2
- Linux wheels in the latest release (2.2.0a1) are broken HOT 10
- What is the paper that `is_extra_strong_lucas_prp` is referring to? HOT 4
- About the case where `k=0` is input to `lucasu_mod` and `lucasv_mod` HOT 2
- gmpy-2.1.5 fails to compile with python-3.12 HOT 11
- cython C-API is broken in published wheels (and in the build_wheels.yml CI workflow) HOT 9
- Pip install build fails, can't find mpc.h HOT 6
- Deprecate local_context()? HOT 18
- Impending release of gmpy2 2.2.0a2 HOT 10
- Issue with large factorial HOT 6
- Access to gmplib.org
- Alternatives to using private API for conversion to/from CPython int's HOT 1
- Build & tests wheels for M$ Windows
- Executing advanced arithmetic operations --C++ to gmpy2 in Python HOT 1
- Is there an alternative for Decimal? HOT 5
- Please make a non-preview release with Python 3.12 support — thank you! HOT 18
- gmpy2 2.2.0a2 missing on PyPI HOT 6
- Windows build comments HOT 2
- Major issue in Linux wheels HOT 1
- Dead paper link in comments
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 gmpy.