-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject #5270
Comments
My guess is that you installed packages from different sources. Some from pip, others from anaconda. Can you explain how you sinatlled scikit image, bumpy, and tensor flow? |
Fir tensorflow I sued this https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/install.html And for scikit, bumpy I used pip |
Can you provide the output of the commands:
|
Sure, pip list
|
The only strange thing I see in the conda list command is the presence of some packages like jupiter and iputhon as well as pyqt that are installed via conda. Could you: And report |
Hello, i've tried what you have suggested but the error still remain |
How far along down the testing procedure did you get to? Cna you show me the current output of
|
I did everything, i'll now show you the current output Conda list
Pip list
|
I'm sorry, I just noticed that your error seems to be originating from pycocotools. I'm not sure what that package is or how it relates to scikit-image. Can you elaborate on your usecase. If:
works, that is as far as we can help. |
hey, I have the same issue...did u solve?? and how? thanks. |
Same here, I tried all the solutions proposed (uninstall/reinstall numpy, uninstall/reinstall pycocotools, install pycocotools 2.0.0, install numpy 1.20.1, update array_ops.py), exception is still there.
|
I'm going to close this issue since the original poster has not replied for 2 months and the issue seems related to a tensorflow installation, not a scikit-image installation. Please open seperate issues so that I can help you. There are often minute differences between environments that change how different issues can be resolved. For example, the original poster seems to be on windows, while you @smeyg seem to be using some linux cluster. |
first |
Issue solved after I installed the Tensorboard package. I think the main cause of the problem is a version mismatch. |
use python virtual environments and install pip install gensim==3.8.3 |
I degrade version of pycocotools, then code works |
Mine not working any other method. |
Hello i have the same issue ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 48 from C header, got 40 from PyObject |
We would love to help you. There is alot of basic information that we ask for in the creation of a new issue. Please take the time for file one and it will speed up getting an answer |
hello i have the same issue the command : abiopen.py t01o_DS2_GSR.nc --expose -sns=talk anyone can help me? thank you in advance |
These kinds of issues are highly dependent on your system configuration please open another issue and provide us with all of your specific information so we can help you in particular. Looking at things quickly it seems that you use pip install --user which can have many integration challenges. I suggest you remove the directory Though this may be contrary to other instructions you have followed. Do take a look at our installation guide. It describes how to use pip or conda to get going. Please do not reply here asking for followup help. i would strongly prefer you open a new issue. |
Numpy 1.21.5 was still encountering this error, after updating to numpy=1.23.1 it fixed it for me |
Description
Hello everyone, I'm trying to build a project using tensorflow but this error always appears:
Way to reproduce
Version information
The text was updated successfully, but these errors were encountered: