ValueError ValueError: numpy.ufunc has the wrong size, try recompiling. Expected 192, got 216
See original GitHub issueI think there’s an issue with the Conda-forge package for NumPy 1.15.x
conda create -n tst -c conda-forge --force python=3.6.7 fastparquet numpy=1.15.4
bash-5.0$ python -c "import fastparquet"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/taugspurger/miniconda3/envs/tst/lib/python3.6/site-packages/fastparquet/__init__.py", line 8, in <module>
from .core import read_thrift
File "/Users/taugspurger/miniconda3/envs/tst/lib/python3.6/site-packages/fastparquet/core.py", line 9, in <module>
from . import encoding
File "/Users/taugspurger/miniconda3/envs/tst/lib/python3.6/site-packages/fastparquet/encoding.py", line 11, in <module>
from .speedups import unpack_byte_array
File "__init__.pxd", line 872, in init fastparquet.speedups
ValueError: numpy.ufunc has the wrong size, try recompiling. Expected 192, got 216
I haven’t diagnosed the issue yet. Using NumPy 1.16 is fine.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
numpy.ufunc has the wrong size, try recompiling. Expected ...
I installed using pip install and dependencies auto installed in the process. New virtualenv was created before installing sklearn. import ...
Read more >numpy.ufunc has the wrong size, try recompiling. even with ...
The answer was that fastparquet (a package that is used by pandas) was using numpy older binary file for some reason.
Read more >Numpy.ufunc has the wrong size, try recompiling
Numpy.ufunc has the wrong size, try recompiling ... try recompiling. Expected 192, got 216 ... So in this case: pymatgen, numpy, and python....
Read more >ValueError: numpy.ufunc has the wrong size, try recompiling ...
最近学习frcnn编译过程中,有个错误记录一下: ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C ...
Read more >PythonCaller: cannot import pcl, receive Python Exception
Python Exception <ValueError>: numpy.ufunc has the wrong size, try recompiling. Expected 192, got 216. which is being caused by importing ...
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 FreeTop 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
Top GitHub Comments
@jrbourbeau , can you ping on that issue, maybe Marius can help. I don’t understand enough about the build process - maybe it will need more careful numpy version pinning?
FWIW https://github.com/conda-forge/fastparquet-feedstock/pull/27#issuecomment-514346076 mentions that this issue should be fixed, however I seemed to have stumbled across this
ValueError
with the latestfastparquet
release on conda-forge (0.5.0) (xref https://github.com/dask/dask/pull/7006/checks?check_run_id=2035433841#step:7:16667)