RuntimeError with numpy==1.13 and pandas==0.21.1
See original GitHub issueWasn’t super sure as to whether to post this here or on the downstream pandas repository since I’m not sure where the issue originates, but I think it might be here. Basically, I updated all my packages and found that pandas was spitting out errors (but continues). After a bunch of installing / uninstalling and binary searching through my requirements files, I found that removing bottleneck removes the issue. Perhaps this is a compatibility problem - has numpy changed a critical API?
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb
Steps:
python3 -mvenv env. env/bin/activatepip install "numpy==1.13 pandas==0.21.1- Import pandas and see that it works
pip install bottleneck- Import pandas and see above errors.
Issue Analytics
- State:
- Created 6 years ago
- Comments:14
Top Results From Across the Web
Error installing NumPy via Pip on macOS Big Sur with python ...
Reproducing code example: Install Pandas with PIP after a clean install ... in <module> raise RuntimeError(msg) RuntimeError: Polyfit sanity ...
Read more >How do you fix "runtimeError: package fails to pass a sanity ...
This error occurs when using python3.9 and numpy1.19.4 So uninstalling numpy1.19.4 and installing 1.19.3 will work. Edit.
Read more >correct syntax of reshape function in numpy array Code Example
RuntimeError : Model class payments_app.models.Product doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
Read more >NumPy 1.13.0 Release Notes
This caused a complication in the downstream 'pandas' library that encountered an issue with 'numpy' compatibility.
Read more >Nuitka - Bountysource
DIS\curses\__init__.py", line 13, in <module> ModuleNotFoundError: No ... When compiling pandas with --python-flag=-OO , the created program fails with the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Installation is impenetrable magic to me. Hopefully the PR fairy will come along with a magical solution.
Closing as I believe this is fixed by the 1.3.0 release. Please feel to reopen if that is not the case.