• Register
0 votes
76 views

Problem :

Help needed with this error

runtimewarning: numpy.dtype size changed, may indicate binary incompatibility. expected 96, got 88

6.9k points
edited by

1 Answer

0 votes

Solution :

I think it is the issue of new numpy version (1.15.0)

So you can downgrade numpy using bellow commands and this problem will be fixed:

sudo pip uninstall numpy
sudo pip install numpy==1.14.5

Finally numpy 1.15.1 version is released so the warning issues are fixed.

Please follow bellow command to install numpy 1.15.1 version

sudo pip install numpy==1.15.1

After following above steps my issue got ressolved.

Further Readings :

36.1k points

Related questions

0 votes
1 answer 64 views
64 views
Problem : I have below error for trying to load the saved SVM model. I have tried uninstalling the sklearn, NumPy and SciPy, and reinstalling a latest versions all-together again (using pip). I am still facing below error. “Runtimewarning : Numpy.dtype size changed, may indicate binary incompatibility” How to get rid of the above mentioned issue?
asked Jan 21 jwilliam 3.9k points
0 votes
1 answer 2K views
2K views
Problem : I have the pandas data frame with some of the categorical predictors or variables as 0 & 1, and some of the numeric variables. When I fit that to a stasmodel like below : est = sm.OLS(y, X).fit() It throws the below error : Pandas data ... hundreds of variables. For that I have concatenated the 3 pandas DataFrames to come up with the final DataFrame to be used in the model building.
asked Dec 18, 2019 alecxe 7.5k points
0 votes
1 answer 627 views
627 views
Problem : Currently I am trying to learn NumPy. I am trying to execute my code but I am facing following error while trying to use my code. TypeError: Cannot cast array data from dtype('float64')            to dtype('S32') according to the rule 'safe' Please Note : My NumPy version is 1.11.0. How can I fix the above error ?
asked Feb 17 mphil 2.3k points
1 vote
1 answer 7 views
7 views
Problem: Hello Kodlogs, I was trying to perform some mathematical operation like finding minimum, maximum, average e.t.c. from an array. I can do it using the simple method; adding all the all elements and then divide it by the number of elements. I want to make a ... with less line of codes. Could any of you please give me an example of that type of pram? I will appreciate your help. Thanks.
asked Jun 25 adamSw 10.9k points
1 vote
1 answer 17 views
17 views
Problem: Yesterday I uninstalled Anaconda and shut down my computer. Right now, I’ve freshly installed the Anaconda again on my laptop to run a project. Suddenly, I am facing an ImportError to run a python project. ImportError: Missing required dependencies ['numpy'] ... but it produces the same error again and again. Do you have any clear idea about this problem and how to solve it?
asked Jun 20 adamSw 10.9k points